summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2025-06-18 05:46:29 +0200
committernavewindre <boneyaard@gmail.com>2025-06-18 05:46:29 +0200
commitafd82678fdc0a03ea21e4f8e70784b27e48af56b (patch)
tree6fdb6eb0583b335d61329caceeef13573a85004e
parent15f41c1af833148d5f4a08d3b63e4f0345ce939a (diff)
liloconfig
-rwxr-xr-xslackware-bootstrap/kernel2
-rwxr-xr-xslackware-bootstrap/runlevel2
-rwxr-xr-xslackware-bootstrap/slackpkg12
3 files changed, 15 insertions, 1 deletions
diff --git a/slackware-bootstrap/kernel b/slackware-bootstrap/kernel
index 6818dcc..4332f40 100755
--- a/slackware-bootstrap/kernel
+++ b/slackware-bootstrap/kernel
@@ -28,6 +28,8 @@ if [[ $dirstr != '' ]]; then
cp System.map /boot/System.map-6.15.2.x64
cp .config /boot/config-6.15.2
+ liloconfig
+
rm /boot/vmlinuz
ln -s /boot/vmlinuz-generic-6.15.2 /boot/vmlinuz
diff --git a/slackware-bootstrap/runlevel b/slackware-bootstrap/runlevel
index 03aaaf8..b401c9c 100755
--- a/slackware-bootstrap/runlevel
+++ b/slackware-bootstrap/runlevel
@@ -7,7 +7,7 @@ echo "if you would like to change the runlevel to 4, enabling"
echo "graphical login, you can do that now."
echo "========================================================="
-read -p "would you like to change runlevel to 4 [y/n]? (n) " choice
+read -p "would you like to change runlevel to 4 [y/n]? (n): " choice
if [[ $choice == 'y' ]]; then
cp -f $basedir/inittab /etc/inittab
else
diff --git a/slackware-bootstrap/slackpkg b/slackware-bootstrap/slackpkg
index e21e7d8..80f1bb8 100755
--- a/slackware-bootstrap/slackpkg
+++ b/slackware-bootstrap/slackpkg
@@ -72,6 +72,18 @@ initrdcmd="$(/usr/share/mkinitrd/mkinitrd_command_generator.sh -k $kernel)"
initrdcmd=$(echo $initrdcmd | tail -1)
$initrdcmd
+echo "==================== [ kernel update ] =========================="
+echo "your kernel has been updated by slackpkg. in order to boot,"
+echo "you will need to update your bootloader config."
+echo "if you do not use LILO, or do not boot off of your slackware disk"
+echo "simply input 'n'"
+echo "================================================================="
+
+read -p "would you like to update your bootloader? [y/n] (y): " choice
+if [[ $choice != 'n' ]]; then
+ liloconfig
+fi
+
rm /boot/vmlinuz
ln -s /boot/vmlinuz-generic-$kernel /boot/vmlinuz