summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2009-05-03 00:48:28 -0500
committerMike Westerhof <mwester@dls.net>2009-05-03 00:48:28 -0500
commit55e8673a82c909599fd66acbfa377992c33501f0 (patch)
treefc0f16fd009a582cdc51d489173d2cf6ed4b733c
parent07f66f9a091078653326d90707fa031dd728ca43 (diff)
SlugOS: make some of the image dependencies machine-specific.
-rw-r--r--recipes/tasks/task-slugos.bb27
1 files changed, 18 insertions, 9 deletions
diff --git a/recipes/tasks/task-slugos.bb b/recipes/tasks/task-slugos.bb
index 0a170d1820..35b0f8382e 100644
--- a/recipes/tasks/task-slugos.bb
+++ b/recipes/tasks/task-slugos.bb
@@ -6,7 +6,7 @@
DESCRIPTION = "Task packages for the SlugOS distribution"
HOMEPAGE = "http://www.nslu2-linux.org"
LICENSE = "MIT"
-PR = "r22.3"
+PR = "r23"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(nslu2|ixp4xx|sheevaplug)"
ALLOW_EMPTY = "1"
@@ -21,6 +21,8 @@ ALLOW_EMPTY = "1"
# the standard set of software for the 8-MByte NSLU2 device.
SLUGOS_STANDARD_RDEPENDS = ""
SLUGOS_STANDARD_RRECOMMENDS = ""
+SLUGOS_MACHINE_RDEPENDS = ""
+SLUGOS_MACHINE_RRECOMMENDS = ""
# The full cpio (non-busybox) is required for turnup and sysconfig.
SLUGOS_STANDARD_RRECOMMENDS += "\
@@ -72,19 +74,24 @@ kernel-module-ohci-hcd \
kernel-module-uhci-hcd \
"
-# Add modules required for Network support
-# Note - this needs to be made machine-specific.
+# Add packages and modules required for RAID-1 support
SLUGOS_STANDARD_RRECOMMENDS += "\
+mdadm \
+kernel-module-md-mod \
+kernel-module-raid1 \
+"
+
+# Add the machine-specific RRECOMMENDS stuff -- kernel modules required for
+# network support.
+SLUGOS_MACHINE_RRECOMMENDS_nslu2 = "\
kernel-module-mii \
kernel-module-ixp4xx-mac \
kernel-module-ixp4xx-qmgr \
"
-# Add packages and modules required for RAID-1 support
-SLUGOS_STANDARD_RRECOMMENDS += "\
-mdadm \
-kernel-module-md-mod \
-kernel-module-raid1 \
+# Add machine-specific RDEPENDS stuff - packages such as the NPE firmware
+SLUGOS_MACHINE_RDEPENDS_nslu2 = "\
+ixp4xx-npe \
"
DISTRO_EXTRA_DEPENDS ?= ""
@@ -117,7 +124,7 @@ DISTRO_EXTRA_RDEPENDS ?= ""
## SlugOS 5.4 - util-linux-mount reinstated due to busybox bugs - MJW
RDEPENDS += "\
- kernel ixp4xx-npe \
+ kernel \
base-files base-passwd netbase \
busybox initscripts-slugos slugos-init \
update-modules sysvinit udev \
@@ -127,10 +134,12 @@ RDEPENDS += "\
beep \
util-linux-mount \
${SLUGOS_STANDARD_RDEPENDS} \
+ ${SLUGOS_MACHINE_RDEPENDS} \
${DISTRO_EXTRA_RDEPENDS}"
DISTRO_EXTRA_RRECOMMENDS ?= ""
RRECOMMENDS += "\
openssh \
${SLUGOS_STANDARD_RRECOMMENDS} \
+ ${SLUGOS_MACHINE_RRECOMMENDS} \
${DISTRO_EXTRA_RRECOMMENDS}"