Skip to contentSkip to conversation

coreutils: kill and uptime are no longer installed

PATCH Randy MacLeod 1 participant 1 message Feb 19 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · Randy MacLeod via lists.openembedded.org

From: Randy MacLeod<[email protected]>

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

Quoted 8 lines

* 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. Fixeshttps://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.

This could and probably should be merged with:

   coreutils: upgrade 9.9 -> 9.10

but I wanted the change to get some attention so I've sent it separately.

../Randy

Quoted 50 lines
---
  meta/recipes-core/coreutils/coreutils_9.9.bb | 8 +++-----
  1 file changed, 3 insertions(+), 5 deletions(-)
meta/recipes-core/coreutils/coreutils_9.9.bb +3 -6
index 7deadded06..1a017cb0bb 100644
@@ -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
 
-=-=-=-=-=-=-=-=-=-=-=-

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/3616765
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
# Randy MacLeod
# Wind River Linux