HomeFreeBSD

- make /sbin/e2fsck and /sbin/fsck_ext2fs visible in pkg catalog/"pkg which",

Description

  • make /sbin/e2fsck and /sbin/fsck_ext2fs visible in pkg catalog/"pkg which", so that "pkg which /sbin/e2fsck" yields the proper result.
    • this entails symlinking from $PREFIX/sbin to /sbin, and the pkg-install script will attempt to replace the symlinks by hard links if possible. pkg 1.15.4 cannot deal with packaged hard links and will fail.
    • Note that it is unavoidable that these be in /sbin because /usr/local or /usr may not be mounted and consequently ext2 file systems could not be fsck-ed or mounted from /etc/fstab.

      There will be no port option to avoid /sbin installs for now. We have too many options already and the testing effort increases exponentially.
  • make sure pkg-message appears on both install and upgrade
  • clean up and document/comment pkg-install so that armchair experts will not pester me with meaningless change requests
  • bugfix/change: logic of mke2fs.conf upgrade handling to present less work for users on port/package upgrades
  • bump PORTREVISION

PR: 249284 (related)

Details

Provenance
mandreeAuthored on
Parents
rP549722: sysutils/reggae: Update to 0.1.16
Branches
Unknown
Tags
Unknown