autoslackpkg - a way to automate slackpkg
by Chuck56 from LinuxQuestions.org on (#4VQ2C)
DISCLAIMER:
Code:This is not intended to replace any tools already available in Slackware nor replace proper Slackware administration.I used to do this...
Code:slackpkg update
slackpkg install-new
slackpkg upgrade-all
review/modify *.new & *.orig files
mkinitrd_command_generator.sh
manually modify elilo.conf or lilo.conf (run lilo)
slackpkg clean-system
updatedbThen I migrated to this to have multiple kernels available at boot...
Code:slackpkg update
slackpkg install-new
slackpkg upgrade-all (except kernels)
review/modify *.new & *.orig files
slackpkg download kernel
installpkg *.tgz (kernels)
mkinitrd_command_generator.sh -k x.y.z
modify elilo.conf (copy files from /boot) or modify lilo.conf (run lilo)
slackpkg clean-system
updatedbNow I do this...
Code:autoslackpkg -m dialogIt's a script months in the making and working on my desktops, servers, LXC containers, & laptops. Take a look at the help screens before using. There are some required config changes so it can operate correctly.
CONFIGURATION MODIFICATIONS: (required)
Code:/etc/slackpkg/blacklist
/etc/mkinitrd.conf
/etc/lilo.conf
/boot/efi/.../elilo.confIf you're interested I posted a SlackBuild here...
https://www.go4it2day.com/news/autoslackpkg-0.8.html
I'm thinking about adding some config files and interested in feedback if you give it a go.


Code:This is not intended to replace any tools already available in Slackware nor replace proper Slackware administration.I used to do this...
Code:slackpkg update
slackpkg install-new
slackpkg upgrade-all
review/modify *.new & *.orig files
mkinitrd_command_generator.sh
manually modify elilo.conf or lilo.conf (run lilo)
slackpkg clean-system
updatedbThen I migrated to this to have multiple kernels available at boot...
Code:slackpkg update
slackpkg install-new
slackpkg upgrade-all (except kernels)
review/modify *.new & *.orig files
slackpkg download kernel
installpkg *.tgz (kernels)
mkinitrd_command_generator.sh -k x.y.z
modify elilo.conf (copy files from /boot) or modify lilo.conf (run lilo)
slackpkg clean-system
updatedbNow I do this...
Code:autoslackpkg -m dialogIt's a script months in the making and working on my desktops, servers, LXC containers, & laptops. Take a look at the help screens before using. There are some required config changes so it can operate correctly.
CONFIGURATION MODIFICATIONS: (required)
Code:/etc/slackpkg/blacklist
/etc/mkinitrd.conf
/etc/lilo.conf
/boot/efi/.../elilo.confIf you're interested I posted a SlackBuild here...
https://www.go4it2day.com/news/autoslackpkg-0.8.html
I'm thinking about adding some config files and interested in feedback if you give it a go.