Skip to content

util-linux

  • Depends on bison; not byacc?
  • Depends on gettext; not gettext-tiny?
  • autoreconf depends on gtkdocize
  • Does it depend on python?
  • Depends on libcap-ng to build setpriv; glaucus already provides s6-setuidgid: https://forum.artixlinux.org/index.php/topic,3360.0.html
  • Use autoreconf -vfis as ./autogen.sh requires GNU gettext
  • tools/all_syscalls hardcodes gawk
  • Use kill from util-linux instead of procps-ng (mainstream)
  • /etc/adjtime should be /var/lib/hwclock/adjtime according to FHS (both Alpine and Arch are using an old directory version) https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s08.html#varlibhwclockStateDirectoryForHwclo
  • If the adjtime file does not exist, the default is utc
  • musl provides its own sys/ttydefaults.h, while Alpine provides a separate version
  • Disable raw as it requires raw.h which is only available on glibc
  • col requires glibc (disabled by default on musl)
  • glaucus disables more and uses less
  • more depends on libmagic from file
  • Using LIBS instead of LDFLAGS does not ensure nsss and utmps are being linked
  • Uses ncursesw over ncurses so do not pass --with-curses
  • Provides kill but not killall which is provided by toybox
  • Use su from util-linux as recommended by shadow
  • runuser and su from util-linux both require pam
  • Disable pg as it uses vidputs() which is not provided by netbsd-curses
  • Alpine and Arch use login and su from util-linux

Resources