diff options
author | Rod Whitby <rod@whitby.id.au> | 2007-02-08 23:06:09 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2007-02-08 23:06:09 +0000 |
commit | cb389ca847d894e4239be229e67779948f1487eb (patch) | |
tree | 15448b2d19be72884c9bee6ea968ada15e411d14 /packages | |
parent | ae35d5932fa824472ce62b7ef829b479852c6269 (diff) |
slugos: Added task-slugos to separate out rootfs contents from image creation.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/images/slugos-image.bb | 43 | ||||
-rw-r--r-- | packages/tasks/task-slugos.bb | 49 |
2 files changed, 53 insertions, 39 deletions
diff --git a/packages/images/slugos-image.bb b/packages/images/slugos-image.bb index 4ac8335ff4..1ca30f9d9d 100644 --- a/packages/images/slugos-image.bb +++ b/packages/images/slugos-image.bb @@ -6,7 +6,7 @@ DESCRIPTION = "Generic SlugOS image" HOMEPAGE = "http://www.nslu2-linux.org" LICENSE = "MIT" -PR = "r44" +PR = "r45" PROVIDES += "${SLUGOS_DISTRO}-image" COMPATIBLE_MACHINE = "nslu2" @@ -37,45 +37,10 @@ IMAGE_PREPROCESS_COMMAND += "install -c -m 644 ${SLUGOS_DEVICE_TABLE} ${IMAGE_RO # else. ROOTFS_POSTPROCESS_COMMAND += "sed -i '$d' '${IMAGE_ROOTFS}/etc/ipkg/arch.conf';" -# CONFIG: -# SLUGOS_EXTRA_RDEPENDS: set in conf, things to add to the image -# SLUGOS_SUPPORT: set here, see below, added to the image. -# SLUGOS_KERNEL: set here, kernel modules added to the image -# -# Do not override the last two unless you really know what you -# are doing - there is more information below. - -# diff, cpio and find are required for reflash and turnup ram. -# Removing these probably leaves the system bootable, but standard -# openslug and ucslugc stuff won't work, so only take these out in -# very non-standard turnkey slugos builds. -# -# udev is the default way of handling devices, there is no guarantee -# that the static device table is completely correct (it is just -# known to be sufficient for boot.) -SLUGOS_SUPPORT ?= "diffutils cpio findutils udev" - -SLUGOS_KERNEL ?= "" - -SLUGOS_EXTRA_RDEPENDS ?= "" +SLUGOS_EXTRA_INSTALL ?= "" -RDEPENDS = "kernel ixp4xx-npe \ - base-files base-passwd netbase \ - busybox initscripts-slugos slugos-init \ - update-modules sysvinit tinylogin \ - module-init-tools modutils-initscripts \ - ipkg-collateral ipkg ipkg-link \ - portmap \ - dropbear \ - beep \ - e2fsprogs-blkid \ - util-linux-mount \ - util-linux-umount \ - util-linux-swaponoff \ - util-linux-losetup \ - ${SLUGOS_SUPPORT} \ - ${SLUGOS_KERNEL} \ - ${SLUGOS_EXTRA_RDEPENDS}" +DEPENDS = "task-slugos" +RDEPENDS = "task-slugos ${SLUGOS_EXTRA_INSTALL}" PACKAGE_INSTALL = "${RDEPENDS}" diff --git a/packages/tasks/task-slugos.bb b/packages/tasks/task-slugos.bb new file mode 100644 index 0000000000..b953befb40 --- /dev/null +++ b/packages/tasks/task-slugos.bb @@ -0,0 +1,49 @@ +# This describes a generic SlugOS image, even though the bb file is +# called 'slugos-image.bb' the distro specific configuration is +# done in conf/distro/${DISTRO}.conf (which should always include +# conf/distro/slugos.conf to get the standard settings). +# +DESCRIPTION = "Task packages for the SlugOS distribution" +HOMEPAGE = "http://www.nslu2-linux.org" +LICENSE = "MIT" +PR = "r1" + +# CONFIG: +# SLUGOS_EXTRA_RDEPENDS: set in conf, things to add to the image +# SLUGOS_SUPPORT: set here, see below, added to the image. +# SLUGOS_KERNEL: set here, kernel modules added to the image +# +# Do not override the last two unless you really know what you +# are doing - there is more information below. + +# diff, cpio and find are required for reflash and turnup ram. +# Removing these probably leaves the system bootable, but standard +# openslug and ucslugc stuff won't work, so only take these out in +# very non-standard turnkey slugos builds. +# +# udev is the default way of handling devices, there is no guarantee +# that the static device table is completely correct (it is just +# known to be sufficient for boot.) +SLUGOS_SUPPORT ?= "diffutils cpio findutils udev" + +SLUGOS_KERNEL ?= "" + +SLUGOS_EXTRA_RDEPENDS ?= "" + +RDEPENDS = "kernel ixp4xx-npe \ + base-files base-passwd netbase \ + busybox initscripts-slugos slugos-init \ + update-modules sysvinit tinylogin \ + module-init-tools modutils-initscripts \ + ipkg-collateral ipkg ipkg-link \ + portmap \ + dropbear \ + beep \ + e2fsprogs-blkid \ + util-linux-mount \ + util-linux-umount \ + util-linux-swaponoff \ + util-linux-losetup \ + ${SLUGOS_SUPPORT} \ + ${SLUGOS_KERNEL} \ + ${SLUGOS_EXTRA_RDEPENDS}" |