This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > System > autoslackpkg (1.1)

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.

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 has a config file /etc/slackpkg/autoslackpkg.conf that sets
default variables. These variables can be changed based on unique system
requirements.

The script requires options and arguments. 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 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 new-config
6) find /etc *.new & *.orig

Maintained by: Stu Miller
Keywords: slackpkg,blacklist,mkinitrd,elilo,lilo
ChangeLog: autoslackpkg

Homepage:
https://www.go4it2day.com/news/autoslackpkg-1.1.html

Source Downloads:
autoslackpkg-1.1.tar.gz (02c46c7abf1d532fbba82abb7b73b71c)

Download SlackBuild:
autoslackpkg.tar.gz
autoslackpkg.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds