From: Randy MacLeod <[email protected]>

In coreutils-9.10, as explained in:
   6b399ad35 build: kill(1), uptime(1): don't install by default

    * build-aux/gen-lists-of-programs.sh: kill and uptime are not installed
    by arch, debian, fedora, suse at least, so add to disabled list.
    Fixes https://github.com/coreutils/coreutils/issues/132

Note that in oe-core:
   kill is provided by busybox, procps and util-linux
   uptime is provided by busybox and procps
and in other layers there may be other providers of these commands.

Signed-off-by: Randy MacLeod <[email protected]>
---
 meta/recipes-core/coreutils/coreutils_9.9.bb | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-core/coreutils/coreutils_9.9.bb 
b/meta/recipes-core/coreutils/coreutils_9.9.bb
index 7deadded06..1a017cb0bb 100644
--- a/meta/recipes-core/coreutils/coreutils_9.9.bb
+++ b/meta/recipes-core/coreutils/coreutils_9.9.bb
@@ -56,10 +56,10 @@ bindir_progs = "arch basename cksum comm csplit cut dir 
dircolors dirname du \
                 join link logname md5sum mkfifo nl nohup nproc od paste 
pathchk \
                 pinky pr printf ptx readlink realpath seq sha1sum sha224sum 
sha256sum \
                 sha384sum sha512sum shred shuf sort split sum tac tail tee 
test timeout \
-                tr truncate tsort tty unexpand uniq unlink uptime users vdir 
wc who whoami yes \
+                tr truncate tsort tty unexpand uniq unlink users vdir wc who 
whoami yes \
                 ${selinux_progs}"
 
-base_bindir_progs = "cat chgrp chmod chown cp date dd echo false hostname kill 
ln ls mkdir \
+base_bindir_progs = "cat chgrp chmod chown cp date dd echo false hostname ln 
ls mkdir \
                      mknod mv pwd rm rmdir sleep stty sync touch true uname 
stat"
 
 sbindir_progs = "chroot"
@@ -112,7 +112,7 @@ ALTERNATIVE_PRIORITY = "100"
 # Make hostname's priority higher than busybox but lower than net-tools
 ALTERNATIVE_PRIORITY[hostname] = "90"
 ALTERNATIVE:${PN} = "lbracket ${bindir_progs} ${base_bindir_progs} 
${sbindir_progs} base32 base64 nice printenv mktemp df"
-ALTERNATIVE:${PN}-doc = "base32.1 base64.1 nice.1 mktemp.1 df.1 groups.1 
kill.1 uptime.1 stat.1 hostname.1"
+ALTERNATIVE:${PN}-doc = "base32.1 base64.1 nice.1 mktemp.1 df.1 groups.1 
stat.1 hostname.1"
 
 ALTERNATIVE_LINK_NAME[hostname.1] = "${mandir}/man1/hostname.1"
 
@@ -143,8 +143,6 @@ ALTERNATIVE_LINK_NAME[lbracket] = "${bindir}/["
 ALTERNATIVE_TARGET[lbracket] = "${bindir}/lbracket.${BPN}"
 
 ALTERNATIVE_LINK_NAME[groups.1] = "${mandir}/man1/groups.1"
-ALTERNATIVE_LINK_NAME[uptime.1] = "${mandir}/man1/uptime.1"
-ALTERNATIVE_LINK_NAME[kill.1] = "${mandir}/man1/kill.1"
 ALTERNATIVE_LINK_NAME[stat.1] = "${mandir}/man1/stat.1"
 
 # The statx() requires glibc >= 2.28 and linux kernel >= 4.11, it doesn't work
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#231440): 
https://lists.openembedded.org/g/openembedded-core/message/231440
Mute This Topic: https://lists.openembedded.org/mt/117898090/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to