diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2024-10-24 23:44:37 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-29 11:19:57 +0000 |
commit | e0391665c7c3622d805c98ae48bf289e92c4163e (patch) | |
tree | b732ffbeb02aa93140d43139a011025adeebe974 /scripts/lib/wic/engine.py | |
parent | 65678573328a33076fe8937d3a6f11bccad5d9b5 (diff) | |
download | poky-e0391665c7c3622d805c98ae48bf289e92c4163e.tar.gz |
shadow: use update-alternatives to handle groups.1
This patch fixes the following error at do_rootfs:
update-alternatives: Error: not linking /PATH/TO/rootfs/usr/share
/man/man1/groups.1 to /usr/share/man/man1/groups.1.coreutils since
/PATH/TO/rootfs/usr/share/man/man1/groups.1 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 coreutils"
groups.1 is handled by update-alternatives in coreutils recipe, so
do it in shadow recipe too.
(From OE-Core rev: 78c8eb60097df2e16c699464c39ff9142fc1ae69)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/engine.py')
0 files changed, 0 insertions, 0 deletions