From b95f0f59875dab15e2709ed54ab916a56c4154ac Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Fri, 28 Apr 2006 12:37:34 +0000 Subject: 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. --- packages/meta/slugos-image.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 " 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 = "" -- cgit v1.2.3