[oe-commits] org.oe.dev slugos: Added task-slugos to separate out rootfs contents from image creation.

rwhitby commit openembedded-commits at lists.openembedded.org
Sat Feb 10 23:27:16 UTC 2007


slugos: Added task-slugos to separate out rootfs contents from image creation.

Author: rwhitby at nslu2-linux.org
Branch: org.openembedded.dev
Revision: f3aeb26eb138028dac8287b0d54a297f07c19752
ViewMTN: http://monotone.openembedded.org/revision.psp?id=f3aeb26eb138028dac8287b0d54a297f07c19752
Files:
1
packages/tasks/task-slugos.bb
packages/images/slugos-image.bb
Diffs:

#
# mt diff -r1dd9be1ff6b0da5669a3c317d8f4f9de91e8c882 -rf3aeb26eb138028dac8287b0d54a297f07c19752
#
# 
# 
# add_file "packages/tasks/task-slugos.bb"
#  content [9a16374f8437d800caa9f4b3a570399d2d5c55ce]
# 
# patch "packages/images/slugos-image.bb"
#  from [b4e869cd03b576ff78f7cb9e6eca08f44be7d135]
#    to [39cd82c2827b6cb235223b33970dc6ac3c07280a]
# 
============================================================
--- packages/tasks/task-slugos.bb	9a16374f8437d800caa9f4b3a570399d2d5c55ce
+++ packages/tasks/task-slugos.bb	9a16374f8437d800caa9f4b3a570399d2d5c55ce
@@ -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}"
============================================================
--- packages/images/slugos-image.bb	b4e869cd03b576ff78f7cb9e6eca08f44be7d135
+++ packages/images/slugos-image.bb	39cd82c2827b6cb235223b33970dc6ac3c07280a
@@ -6,7 +6,7 @@ LICENSE = "MIT"
 DESCRIPTION = "Generic SlugOS image"
 HOMEPAGE = "http://www.nslu2-linux.org"
 LICENSE = "MIT"
-PR = "r44"
+PR = "r45"
 PROVIDES += "${SLUGOS_DISTRO}-image"
 
 COMPATIBLE_MACHINE = "nslu2"
@@ -37,46 +37,11 @@ ROOTFS_POSTPROCESS_COMMAND += "sed -i '$
 # 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.
+SLUGOS_EXTRA_INSTALL ?= ""
 
-# 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"
+DEPENDS = "task-slugos"
+RDEPENDS = "task-slugos ${SLUGOS_EXTRA_INSTALL}"
 
-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}"
-
 PACKAGE_INSTALL = "${RDEPENDS}"
 
 inherit image






More information about the Openembedded-commits mailing list