]> code.ossystems Code Review - openembedded-core.git/commit
busybox.inc: install rcS, rcK and rcS.default only with busybox in VIRTUAL-RUNTIME_in...
authorMartin Jansa <Martin.Jansa@gmail.com>
Sun, 27 Dec 2020 13:53:01 +0000 (14:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Dec 2020 11:53:21 +0000 (11:53 +0000)
commit00f22daa9774783ba14073fb871bbbc6e7c5354d
tree2bf55ff87d50cf94d2e533ce0689c89afc6678e9
parent69ce1914484a86e9f440aeaab887cae671d679b9
busybox.inc: install rcS, rcK and rcS.default only with busybox in VIRTUAL-RUNTIME_init_manager

* since
  https://git.openembedded.org/openembedded-core/commit/?id=991394be9e695f9ddb5e2fca167c06f7a56a7449
  the rcS.default is in SRC_URI only when VIRTUAL-RUNTIME_init_manager is 'busybox'
  but this section in do_install was controlled by
  CONFIG_INIT=y in /.config which for busybox-initrd from meta-virtualization
  caused:

  ERROR: busybox-initrd-1.32.0-r0 do_install: Execution of '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/busybox-initrd/1.32.0-r0/temp/run.do_install.1481880' failed with exit code 1:
  CONFIG_FEATURE_MDEV_CONF=y
  install: cannot stat '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/busybox-initrd/1.32.0-r0/rcS.default': No such file or directory
  WARNING: exit code 1 from a shell command.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox.inc