]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
coreutils: kill and uptime are no longer installed
authorRandy MacLeod <Randy.MacLeod@windriver.com>
Thu, 19 Feb 2026 19:12:19 +0000 (14:12 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Feb 2026 11:39:04 +0000 (11:39 +0000)
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 <Randy.MacLeod@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/coreutils/coreutils_9.9.bb

index 7deadded062ae71dd85f700e711b3ff81c7528ab..1a017cb0bbbd3f8f9aced9a80f4f7f72eb727401 100644 (file)
@@ -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