Files
poky/meta/recipes-extended
Sid-Ali dd6b2448aa 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: a12be809144cbca43576d15c0f0f1781eeaf5a27)

Signed-off-by: Sid-Ali Teir <sidali.teir@cysec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 198c4582c6391ac87c49e09882189235c44b60e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
..
2024-05-16 11:06:01 +01:00
2024-08-23 09:12:37 +01:00
2024-08-05 14:31:57 +01:00
2024-07-16 11:25:29 +01:00
2023-06-27 16:23:40 +01:00
2024-05-28 09:38:23 +01:00
2024-08-21 21:51:49 +01:00
2023-05-22 10:53:48 +01:00
2024-11-26 05:37:09 -08:00
2024-07-04 22:56:15 +01:00
2022-04-19 14:14:12 +01:00
2024-02-03 22:08:26 +00:00
2024-08-05 14:31:57 +01:00
2023-11-05 11:28:40 +00:00
2023-07-17 15:30:04 +01:00
2023-07-30 07:54:44 +01:00
2024-08-03 07:47:35 +01:00
2024-08-03 07:47:35 +01:00
2024-03-07 17:25:02 +00:00
2024-04-16 08:07:02 +01:00
2024-08-23 22:43:27 +01:00
2024-09-04 12:38:44 +01:00
2024-03-07 17:25:02 +00:00
2024-05-28 09:38:23 +01:00
2024-10-29 05:51:03 -07:00
2023-07-30 07:54:44 +01:00
2021-08-02 15:44:10 +01:00
2023-09-02 18:23:06 +01:00
2024-08-21 21:51:49 +01:00
2022-11-14 16:19:43 +00:00
2022-08-21 22:51:42 +01:00
2024-08-21 21:51:49 +01:00
2024-07-16 11:25:29 +01:00
2023-09-28 12:37:46 +01:00
2024-04-16 08:07:01 +01:00
2022-08-17 19:57:32 +01:00
2024-09-04 12:38:44 +01:00
2024-06-25 11:50:58 +01:00
2023-04-05 08:39:43 +01:00
2024-08-23 09:12:38 +01:00
2024-09-04 12:38:44 +01:00
2024-05-30 09:04:14 +01:00