autoslackpkg-0.6 Update Release
This is the 1st update release (v0.6) of autoslackpkg, a SlackBuild package for Slackware Linux.
autoslackpkg automates the use of slackpkg. Extensive help screens with examples are available. To see autoslackpkg usage run: autoslackpkg -h
The script expects to be run as the root user. It also expects specific modifications to slackpkg.conf, mkinitrd.conf & efi.conf or lilo.conf.
When run without options (autoslackpkg) the script runs in interactive mode with dialog questions, dialog messages and normal output from slackpkg commands.
When run with the -b option (autoslackpkg -b) the script runs in batch mode with minimal console feedback beyond the normal output from slackpkg commands.
When run with the -m option (autoslackpkg -m [argument]) the script runs in manual mode and only runs a specific section of the overall script. The arguments are: update, install-new, upgrade-all, clean-system, install-kernel, remove-kernel & new-config.
The script maintains multiple kernels and manages EFI & LILO setups (not GRUB yet). The default boot kernel is changed to the most recent kernel. In the unlikely event the most recent kernel is not functioning properly the system can be rebooted with the previous kernel.
The script runs in 2 Phases. If not installing a new kernel then autoslackpkg runs both Phase 1 & Phase 2 in succession. If a new kernel is installed then only Phase 1 is run & reboot is required. After reboot, rerun autoslackpkg then Phase 1 is skipped & only Phase 2 is run.
Phase 1 includes:
- slackpkg update
- slackpkg install-new
- slackpkg upgrade-all
- LXC/Docker container detection
- new kernel download & installation
- mkinitrd for new kernel (see mkitrd help)
- EFI system new kernel management (see elilo help)
- LILO system new kernel management (see lilo help)
Phase 2 includes:
- slackpkg clean-system
- LXC/Docker container detection
- EFI system old kernel management (see elilo help)
- LILO system old kernel management (see lilo help)
- run updatedb
- slackpkg config-new, find /etc .new & .orig
CHANGELOG
2019-09-26 autoslackpkg-0.6
modified autoslackpkg, main routine & bash_lib, source_lib to $LIB_DIR from $BIN_DIR
modified all sourced libraries to set variable for preload check
modified bash_lib, source_lib to check for preloaded libraries with variables
added bash_lib, strict_mode for "Unofficial Bash Strict Mode"
modified autoslackpkg, bash options with:
added strict_mode
added manual mode -m [argument]
Links:
autoslackpkg-0.6 source: NOTE: a more recent version is available
autoslackpkg SlackBuild: NOTE: a more recent version is available
Published:
09/26/2019