slackupdr-3.3 Release - Initial SlackBuild Submission
This is the April 2022 release (v3.3) of slackupdr, a SlackBuild package for Slackware Linux.
This release has been tested on:
- Version - - - - - - - - - Arch - - - - - -Bootloader
- Slackware-14.2 - - - x86_64 - - - - CHROOT & LXC
- Slackware-15.0 - - - x86_64 - - - - EFI & LILO
- Slackware-current- -x86_64 - - - - EFI
DESCRIPTION
slackupdr automates the use of slackpkg, manages installation of multiple kernels & updates LILO & ELILO bootloaders. The script expects to be run as the root user. slackupdr is menu & config file driven.
HISTORY
autoslackpkg development started in 2019 & v2.1 was the last release. autoslackpkg was started after the author upgraded multiple Slackware-14.2 systems to Slackware-current. The primary intent was to automate slackpkg & minimize the effort of upgrades to multiple -current systems.
slackupdr development started in 2021 & v3.0 was the 1st release. slackupdr replaces the autoslackpkg process automation with multi-level, ncurses based menus. slackupdr offers the same functionality as autoslackpkg via menus. Using menus increases the script's flexibility & increases complexity. This complexity requires more understanding of the slackpkg process by the administrator.
REQUIREMENTS
/etc/mkinitrd.conf:
This file is normally optional in Slackware. slackupdr does not
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/slackupdr.conf:
This file is provided with slackupdr. All but 2 of the variables set
in this file can be left to default. The 2 exceptions are TEMPLATE_LILO
& TEMPLATE_ELILO. See slackupdr.conf(5) for more information.
TEMPLATE_LILO & TEMPLATE_ELILO
Depending on the bootloader in use, only 1 of these 2 variables requires modification. This applies the the "LILO Updater" & "EFI Updater" menu items. These templates are used to completely rebuild either lilo.conf or elilo.conf.
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
2022-04-03 slackupdr 3.3
modified slackupdr.conf.new & mdl_mkird_build
variable name to MKIRD_LOC from MKIRD_OUT_LOC
modified slackupdr.conf.new, mdl_elilo_conf_build & mdl_lilo_conf_build
modified variables TEMPLATE_LILO & TEMPLATE_ELILO
removed space before comments #CLONE, #DEFAULT, #GENERIC & #HUGE
modified mdl_krnl_files
added message if all available kernels installed
Links:
Built package:
NOTE: a more recent version is available
Source package:
NOTE: a more recent version is available
Slackbuild package:
NOTE: a more recent version is available
Published:
04/03/2022