autoslackpkg-0.8 Update Release
This is the 3rd update release (v0.8) of autoslackpkg, a SlackBuild package for Slackware Linux.
autoslackpkg automates the use of slackpkg. The script expects to be run as the root user. It also expects specific modifications to blacklist, mkinitrd.conf, efi.conf & lilo.conf.
Extensive help screens with examples are available. To see usage help run (autoslackpkg) without options or arguments. Usage help also is displayed if there is a script option or argument error.
When run with the -h option and a valid argument (autoslackpkg -h overview | blacklist | elilo | lilo | mkinitrd) the script provides help.
When run with the -m option and a valid argument (autoslackpkg -m dialog | batch) the script runs in either dialog mode or batch mode. Dialog mode is a hands-on, interactive mode. Batch mode runs without user input.
When run with the -s option (autoslackpkg -s update | install-new | upgrade-all | clean-system | install-kernel | remove-kernel | new-config) the script only runs a specific section of the overall script.
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:
1) slackpkg update
2) slackpkg install-new
3) slackpkg upgrade-all (see blacklist help)
4) new kernel download & installation (see blacklist help)
5) mkinitrd for new kernel (see mkitrd help)
6) EFI system new kernel management (see elilo help)
7) LILO system new kernel management (see lilo help)
Phase 2 includes:
1) slackpkg clean-system
2) EFI system old kernel management (see elilo help)
3) LILO system old kernel management (see lilo help)
4) run updatedb
5) slackpkg config-new
6) find /etc .new & .orig
CHANGELOG
2019-11-23 autoslackpkg-0.8
removed autoslackpkg, script_end_message
dialog message cleared new-config output
modified elilo_lib, test_elilo
added default=Gen test
modified kernel_lib, search_kernel
removed variable $UPGRADE_RELEASE
modified variable $KERNEL_UPGRADE from array
modified kernel_lib, install_new_kernel
added variable $UPGRADE & logic to ignore testing kernels
modified kernel_lib, remove_kernel_start_message
modified variable to $INACTIVE_KERNEL from $OLD_KERNEL
modified kernel_lib, remove_kernel
added search_kernel call
modified variable to $INACTIVE_KERNEL from $OLD_KERNEL
added slackpkg_REMOVE_KERNEL call
modified lilo_lib, test_lilo
added default=Gen test
modified slackpkg_lib, blacklist_backup & blacklist_restore
modified backup extension to $SCRIPT_NAME from ".bak"
slackpkg_lib, slackpkg_download_kernel
added SLACKPKGPLUS=off to download commands
added slackpkg_lib, slackpkg_remove_kernel
function manages removal of inactive kernels
modified slackpkg_lib, slackpkg_clean_system
added blacklist_backup call
added kernels to blacklist
added blacklist_restore call
modified slackpkg_lib, slackpkg_new_config
removed "Hit any key to continue" message
Links:
autoslackpkg-0.8 package: NOTE: a more recent version is available
autoslackpkg-0.8 source: NOTE: a more recent version is available
autoslackpkg SlackBuild: NOTE: a more recent version is available
Published:
11/23/2019