yalpack-0.1.7
yalpack is a simple set of package management tools for LFS/BLFS-based systems. It consists of POSIX-compliant scripts and man pages designed to make managing upgrades and trying out new software easier:
- Install compiled software as a package
- Easily remove unwanted software
- Make upgrades simple(r)
- No space to keep package tarballs? No problem.
- Manage and log .new files
- Generate and retrieve dynamic library information to help with dependency management
- Retrieve a list of installed packages (with or without version information)
- Search for which package provided which file/directory/symlink
- Regenerate the yalpack directory in case of damage
yalpack can be used at any point in the Linux From Scratch installation process once all temporary tools have been built and the chroot stage has been reached. This has been tested successfully on Linux From Scratch 10.1 (sysvinit), as well as the development version (as of June 20th, 2021), which has a merged-usr setup.
Under no circumstances should yalpack be used on the "host" system. yalpack is untested on pre-10.1 versions of Linux From Scratch, and should not be used with glibc-2.26 or earlier.
See INSTALL or run "make all" for details about installation!
Changes
This is another release more prompted by bugfixes than by new features. However, there are a few genuine additions, the most interesting of which has to do with .new file management:
- newfiles: Added .new file management capabilities to the script, including backup, overwrite, diff, etc. These have been tested to be merged-usr-safe, and preserve the .new file's ownership and mode.
- newfiles and restore-yalpack are no longer given .new suffixes.
- Makefile: "make package" can be used for upgrades as well as installations. This is now the recommended installation method for both. For upgrades, using "make package" means that the new versions of the scripts will run to install themselves as a package, mitigating potential upgrade bugs.
- Added an 'executive summary' man page at yalpack(1).
Bugfixes include:
- pkgmake: Handling of non-text files in etc has been fixed (relevant for glibc).
- Adding "make package"-based yalpack upgrades fixes the overlapping-secondary-backup problem, as well as issues moving from /sbin to /usr/sbin.
- pkgup: Removed a spurious message about missing /sbin/init with existence checks.
- pkgup, pkginst, pkgremove: Specify SBINDIR as a variable.
- install.sh: No longer copies "YALPACK-OUTGOING" (if any) into new backup directories.
- Output formatting corrections.
On a personal note, I'd like to apologize for the flurry of releases over the last few days. Unless important 0.1.7 bugs come to light, there will probably only be one more release before LFS 11.0 rc. The focus of yalpack-0.1.8 will be the addition of /etc/yalpack.conf, which will simplify customization.