summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/runqemu.py
diff options
context:
space:
mode:
authorSid-Ali <sidali.teir@cysec.com>2024-12-06 08:47:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-12-09 15:23:28 +0000
commitb4b29b45e97f2b5186803deaec41b224aacad9e8 (patch)
treec7adc8a22a6bbe1a2f078ac7c4264bc3a1d85ae1 /scripts/lib/devtool/runqemu.py
parent0c8b34b55d299df3f0b2b3d1df6c292d1ce87b62 (diff)
downloadpoky-b4b29b45e97f2b5186803deaec41b224aacad9e8.tar.gz
shadow: use update-alternatives to handle su.1 and nologin.8
This patch fixes the following error at do_rootfs: update-alternatives: Error: not linking /PATH/TO/rootfs/usr/share/man/man1/su.1 to /usr/share/man/man1/su.1.util-linux since /PATH/TO/rootfs/usr/share/man/man1/su.1 exists and is not a link update-alternatives: Error: not linking /PATH/TO/rootfs/usr/share/man/man8/nologin.8 to /usr/share/man/man8/nologin.8.util-linux since /PATH/TO/rootfs/usr/share/man/man8/nologin.8 exists and is not a link The problem can be reproduced by adding the following lines to local.conf and then building an image: EXTRA_IMAGE_FEATURES:append = " doc-pkgs" IMAGE_INSTALL:append = " shadow util-linux" su.1 and nologin.8 are handled by update-alternatives in util-linux recipe, so do it in shadow recipe too. (From OE-Core rev: 198c4582c6391ac87c49e09882189235c44b60e9) Signed-off-by: Sid-Ali Teir <sidali.teir@cysec.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions