diff options
author | Frieder Schrempf <frieder.schrempf@kontron.de> | 2023-05-23 17:39:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-25 10:29:09 +0100 |
commit | 9fa2c57313c2a89918ac4f9a884fad8614151685 (patch) | |
tree | 556470e1d1664574eac2649d8e072b26b7ef5be6 /meta/recipes-extended/psmisc | |
parent | 4ed6dc560290ff3822b61b5ef2eba93e822d6109 (diff) | |
download | poky-9fa2c57313c2a89918ac4f9a884fad8614151685.tar.gz |
psmisc: Set ALTERNATIVE for pstree to resolve conflict with busybox
If pstree in busybox is enabled there is a conflict with pstree from
psmisc resulting in:
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.
And more detailed in do_rootfs.log:
update-alternatives: Error: not linking [...]/rootfs/usr/bin/pstree to /bin/busybox.nosuid since [...]/rootfs/usr/bin/pstree exists and is not a link
On order to fix this set ALTERNATIVE:pstree accordingly.
(From OE-Core rev: deb2176df76dcb16c0d90072ad63d308a0ab1158)
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/psmisc')
-rw-r--r-- | meta/recipes-extended/psmisc/psmisc.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/psmisc/psmisc.inc b/meta/recipes-extended/psmisc/psmisc.inc index a429c2ee96..23e98d21be 100644 --- a/meta/recipes-extended/psmisc/psmisc.inc +++ b/meta/recipes-extended/psmisc/psmisc.inc | |||
@@ -55,3 +55,5 @@ ALTERNATIVE_PRIORITY = "90" | |||
55 | ALTERNATIVE:killall = "killall" | 55 | ALTERNATIVE:killall = "killall" |
56 | 56 | ||
57 | ALTERNATIVE:fuser = "fuser" | 57 | ALTERNATIVE:fuser = "fuser" |
58 | |||
59 | ALTERNATIVE:pstree = "pstree" | ||