Update PACKAGING.md to reflect hfsck SBINDIR fix

- Clarify that hfsck now properly respects SBINDIR variable
- Update testing instructions to show both merged and traditional system paths
- Ensure packaging documentation is accurate for the corrected behavior
This commit is contained in:
Pablo Lezaeta Reyes
2025-10-21 22:55:22 -03:00
parent e8f8d09a2c
commit 422427344e
+4 -3
View File
@@ -68,7 +68,7 @@ make install PREFIX=/usr SBINDIR=/usr/bin DESTDIR=%{buildroot}
### Binaries
- `$(BINDIR)/hfsutil` - Main unified binary
- `$(SBINDIR)/hfsck` - Filesystem checker
- `$(SBINDIR)/hfsck` - Filesystem checker (properly respects SBINDIR)
### Libraries (with install-libs)
- `$(LIBDIR)/libhfs.a` - HFS filesystem library
@@ -130,8 +130,9 @@ After packaging, verify the installation:
# Check main binary
/usr/bin/hfsutil --version
# Check filesystem utilities
/usr/bin/hfsck --version # or /usr/sbin/hfsck
# Check filesystem utilities (location depends on SBINDIR setting)
/usr/bin/hfsck --version # if SBINDIR=/usr/bin (merged systems)
/usr/sbin/hfsck --version # if SBINDIR=/usr/sbin (traditional systems)
/usr/bin/fsck.hfs --version
# Check symlinks (if installed)