autoslackpkg-2.1 Update Release
This is the July 2021 release (v2.1) of autoslackpkg, a SlackBuild package for Slackware Linux.
This release has been tested on:
- Version - - - - - - - - - Arch - - - - - -Bootloader
- Slackware-14.2 - - - x86 SMP- - - LILO
- Slackware-14.2 - - - x86_64 - - - - EFI
- Slackware-current- -x86_64 - - - - EFI
README - Top Sections
NAME: autoslackpkg - automate slackpkg, manage multiple kernels & update bootloader
SYNOPSIS: autoslackpkg [-h] [-m manpage] [-s section] [-v]
DESCRIPTION: autoslackpkg automates the use of slackpkg, manages installation of multiple kernels & updates LILO & ELILO bootloaders. The script expects to be run as the root user.
autoslackpkg runs in 2 phases with Continue or Exit offered after Phase 1 & before Phase 2. Do not exit before Phase 2 if there were no changes to kernels, initrds, or bootloaders during Phase 1. Exit before Phase 2 if the system needs a reboot due to changes in kernels, initrds or bootloaders during Phase 1. After reboot, restart autoslackpkg & proceed directly to Phase 2.
Phase 1 includes:
1) slackpkg update
2) slackpkg install-new
3) slackpkg upgrade-all
4) install kernels
5) make initrds
6) manage bootloader modifications due to installs
7) exit or continue to Phase 2
Phase 2 includes:
1) slackpkg clean-system
2) remove kernel(s)
3) remove initrd(s)
4) manage bootloader modifications due to removals
5) run updatedb
6) slackpkg config-new
7) find /etc *.new & *.orig
REQUIREMENTS
/etc/mkinitrd.conf: This file is normally optional in Slackware. autoslackpkg doesn't allow the administrator to pass options on the command line to mkinitd. A sample file /etc/mkinitrd.sample should be available to the administrator. See mkinitrd.conf(5) for more information.
/etc/slackpkg/autoslackpkg.conf: This file is provided with autoslackpkg. All but 2 of the variables set in this file can be left to default. The 2 exceptions are TEMPLATE_LILO & TEMPLATE_ELILO. See autoslackpkg.conf(5) for more information.
TEMPLATE_LILO & TEMPLATE_ELILO
The administrator can add or delete lines in the templates as needed with special attention to adding the required comments. There are 3 types of comments that the script uses to process the templates. The lines with the "#CLONE" comment are copied as-is with the "#CLONE" comment removed before the save to disk. There is a single line with the "#DEFAULT" comment that must be present. This line is used to point to the default kernel on boot. The "#DEFAULT" comment is removed before the save to disk. The final 2 comments are the "#GENERIC" & "#HUGE" comments that are required on the lines that make up the kernel image sections. Both comment types are removed before the save to disk.
CHANGELOG
2021-07-01 autoslackpkg 2.1
concatenated & gzipped libexec files into single, compressed file
use zcat to source compressed file
removed bash_source function
removed LIBEXEC_LOC variable from config file
added view_mkird_select function
separated mkinitrd process from kernel install process
modified selection dialogs
increased detail of process actions
Links:
Built package:
autoslackpkg-2.1 package: NOTE: a more recent version is available
Source package:
autoslackpkg-2.1 source: NOTE: a more recent version is available
Slackbuild package:
autoslackpkg SlackBuild: NOTE: a more recent version is available
Published:
07/01/2021