Files
poky/meta/recipes-devtools
Jason Wessel f7486ba147 dpkg: Provide update-alternative for start-stop-daemon
When using DISTRO_FEATURE usrmerge, busybox and something that
requires dpkg-start-stop there is a conflict which prints the
following error.

===

ERROR: core-image-minimal-1.0-r1 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in /build/tmp-glibc/work/intel_x86_64-linux/core-image-minimal/1.0-r1/temp/log.do_rootfs.
ERROR: core-image-minimal-1.0-r1 do_rootfs: Function failed: do_rootfs

===

Looking at the log file, it shows the problem:

update-alternatives: Error: not linking /build/tmp-glibc/work/intel_x86_64-linux/core-image-minimal/1.0-r1/rootfs/usr/sbin/start-stop-daemon to /usr/bin/busybox.nosuid since /build/tmp-glibc/work/intel_x86_64-linux/core-image-minimal/1.0-r1/rootfs/usr/sbin/start-stop-daemon exists and is not a link

===

The solution is to add an update-alternative to start-stop-daemon for dpkg.

(From OE-Core rev: e6d51c9472dab6cbec313ba51f9e8b9271f02eb8)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-12 16:23:57 +01:00
..
2019-07-02 08:13:07 +01:00
2019-06-01 11:27:07 +01:00
2019-08-12 16:23:57 +01:00
2018-08-23 18:02:23 +01:00
2019-04-26 10:09:08 +01:00
2018-03-06 06:43:10 -08:00
2019-05-29 12:54:12 +01:00
2019-07-18 12:16:19 +01:00
2018-11-14 11:14:39 +00:00
2018-03-09 09:17:03 -08:00
2019-04-16 11:10:02 +01:00
2019-07-31 23:03:01 +01:00
2019-07-10 09:56:22 +01:00
2019-05-27 17:06:34 +01:00
2018-01-30 12:53:16 +00:00
2019-02-15 16:05:37 +00:00
2019-05-16 09:16:50 +01:00
2019-07-31 23:03:01 +01:00
2019-05-08 23:00:32 +01:00
2019-07-17 19:25:02 +01:00
2019-07-15 09:30:00 +01:00
2019-04-23 23:30:19 +01:00
2019-07-31 23:03:01 +01:00
2019-05-08 12:15:17 +01:00
2019-07-31 23:03:01 +01:00
2019-07-18 12:16:19 +01:00
2018-11-14 11:14:39 +00:00
2019-08-12 16:23:57 +01:00
2019-08-06 11:24:27 +01:00
2019-07-02 08:13:07 +01:00
2019-07-19 16:19:14 +01:00
2019-07-02 08:13:07 +01:00
2019-07-26 08:41:38 +01:00
2019-03-04 22:57:05 +00:00
2019-06-20 13:14:21 +01:00
2019-04-05 17:32:50 +01:00