diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-05-15 18:01:17 +0100 |
---|---|---|
committer | Super user <root@baserock.(none)> | 2012-09-17 13:11:39 +0000 |
commit | 8c40bea87655276406a5b4d3421fbc7c16846b23 (patch) | |
tree | 133ebff14e1511e61ef9a943ee611484626c9d27 | |
parent | d46ff07a58acf0b407249b0880042998ba5db98b (diff) | |
download | busybox-8c40bea87655276406a5b4d3421fbc7c16846b23.tar.gz |
busybox.morph: disable busybox init
We will be using systemd init in baserock, so init, reboot etc.
should be the systemd programs. To avoid the chunks overlapping
busybox should not have its links to those programs.
Busybox is not made to build programs, but not create the links, so
remove the functionality from busybox, this will save a little space
and build time, but not in any significant way.
-rw-r--r-- | busybox.morph | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/busybox.morph b/busybox.morph index 120c63996..8d5f08d2c 100644 --- a/busybox.morph +++ b/busybox.morph @@ -22,6 +22,15 @@ "sed -e 's/.*FEATURE_LSMOD_PRETTY_2_6_OUTPUT=.*/CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y/' -i .config", "sed -e 's/.*CONFIG_LOSETUP.*/# CONFIG_LOSETUP is not set/' -i .config", "sed -e 's/.*CONFIG_LSUSB.*/# CONFIG_LSUSB is not set/' -i .config", + "sed -e 's/.*CONFIG_INIT.*/# CONFIG_INIT is not set/' -i .config", + "sed -e 's/.*CONFIG_HALT.*/# CONFIG_HALT is not set/' -i .config", + "sed -e 's/.*CONFIG_FEATURE_USE_INITTAB.*/# CONFIG_FEATURE_USE_INITTAB is not set/' -i .config", + "sed -e 's/.*CONFIG_FEATURE_INIT_SCTTY.*/# CONFIG_FEATURE_INIT_SCTTY is not set/' -i .config", + "sed -e 's/.*CONFIG_FEATURE_INIT_SYSLOG.*/# CONFIG_FEATURE_INIT_SYSLOG is not set/' -i .config", + "sed -e 's/.*CONFIG_FEATURE_EXTRA_QUIET.*/# CONFIG_FEATURE_EXTRA_QUIET is not set/' -i .config", + "sed -e 's/.*CONFIG_FEATURE_INIT_COREDUMPS.*/# CONFIG_FEATURE_INIT_COREDUMPS is not set/' -i .config", + "sed -e 's/.*CONFIG_FEATURE_INITRD.*/# CONFIG_FEATURE_INITRD is not set/' -i .config", + "sed -e 's/.*CONFIG_INIT_TERMINAL_TYPE.*/CONFIG_INIT_TERMINAL_TYPE=\"\"/' -i .config", "sed -e 's/.*CONFIG_MKFS_EXT2.*/# CONFIG_MKFS_EXT2 is not set/' -i .config", "sed -e 's/.*CONFIG_FSCK_MINIX.*/# CONFIG_FSCK_MINIX is not set/' -i .config", "sed -e 's/.*CONFIG_MKFS_MINIX.*/# CONFIG_MKFS_MINIX is not set/' -i .config", |