summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-04-28 12:37:34 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-28 12:37:34 +0000
commitb95f0f59875dab15e2709ed54ab916a56c4154ac (patch)
tree20e8bf7933a300a22dd077290bfe985a523f4f62
parent98d48268244946112cf179a1dfeb7101c9370652 (diff)
slugos-image: put in an image pre-process command to remove the busybox S20syslog init scripts from rc?.d, because slugos-init uses it's own destination-specific init scripts.
-rw-r--r--packages/meta/slugos-image.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/meta/slugos-image.bb b/packages/meta/slugos-image.bb
index 9434e5076f..0fa0ba7482 100644
--- a/packages/meta/slugos-image.bb
+++ b/packages/meta/slugos-image.bb
@@ -7,7 +7,7 @@ DESCRIPTION = "Generic SlugOS image"
MAINTAINER = "NSLU2 Linux <nslu2-linux@yahoogroups.com>"
HOMEPAGE = "http://www.nslu2-linux.org"
LICENSE = "MIT"
-PR = "r26"
+PR = "r27"
# SLUGOS_IMAGENAME defines the name of the image to be build, if it
# is not set this package will be skipped!
@@ -32,6 +32,9 @@ SLUGOS_DEVICE_TABLE = "${@bb.which(bb.data.getVar('BBPATH', d, 1), 'files/device
IMAGE_PREPROCESS_COMMAND += "rm ${IMAGE_ROOTFS}/boot/zImage*;"
IMAGE_PREPROCESS_COMMAND += "install -c -m 644 ${SLUGOS_DEVICE_TABLE} ${IMAGE_ROOTFS}/etc/device_table;"
+# This hack does what the hack in busybox.bb is supposed to do but doesn't for some reason.
+IMAGE_PREPROCESS_COMMAND += "rm ${IMAGE_ROOTFS}/etc/rc?.d/?20syslog;"
+
# Building a full image. If required do a post-process command which builds
# the full flash image using slugimage. At present this only works for NSLU2 images.
PACK_IMAGE = ""