summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-04-07 07:05:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-29 07:58:46 +0100
commitdfc5510c92f404553c2ecc92511d86de996cce32 (patch)
tree9ec27c466d3f30c45e851ce4bbb8ccc520823f7f
parenta4cf8bc200d907a15ace219a75a8e42903a00a27 (diff)
downloadpoky-dfc5510c92f404553c2ecc92511d86de996cce32.tar.gz
poky-tiny: Switch to using kernel 4.4 and busybox for init
busybox based init system is available and used in many other distributions e.g. buildroot, therefore use that combination with mdev gives a scalable image and chance to execute sysvinit scripts as well, adding nothing to image size. (From meta-yocto rev: fb26fae4476c6e4ce281c70d81a416035650ebf6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-poky/conf/distro/poky-tiny.conf12
1 files changed, 7 insertions, 5 deletions
diff --git a/meta-poky/conf/distro/poky-tiny.conf b/meta-poky/conf/distro/poky-tiny.conf
index ac054201d0..4d30bde6c3 100644
--- a/meta-poky/conf/distro/poky-tiny.conf
+++ b/meta-poky/conf/distro/poky-tiny.conf
@@ -80,11 +80,13 @@ DISTRO_FEATURES_append_libc-musl = " largefile"
80DISTRO_FEATURES_class-native = "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}" 80DISTRO_FEATURES_class-native = "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}"
81DISTRO_FEATURES_class-nativesdk = "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}" 81DISTRO_FEATURES_class-nativesdk = "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}"
82 82
83# Use tmpdevfs and the busybox runtime services 83# enable mdev/busybox for init
84VIRTUAL-RUNTIME_dev_manager = "" 84VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
85VIRTUAL-RUNTIME_login_manager = "" 85VIRTUAL-RUNTIME_login_manager = "busybox"
86VIRTUAL-RUNTIME_init_manager = "tiny-init" 86VIRTUAL-RUNTIME_init_manager = "busybox"
87VIRTUAL-RUNTIME_keymaps = "" 87VIRTUAL-RUNTIME_initscripts = "initscripts"
88VIRTUAL-RUNTIME_keymaps = "keymaps"
89DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
88 90
89# FIXME: Consider adding "modules" to MACHINE_FEATURES and using that in 91# FIXME: Consider adding "modules" to MACHINE_FEATURES and using that in
90# packagegroup-core-base to select modutils-initscripts or not. Similar with "net" and 92# packagegroup-core-base to select modutils-initscripts or not. Similar with "net" and