show newer kernel in grub lol
This commit is contained in:
parent
43a8f59a87
commit
b15f56b83a
@ -12,4 +12,15 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cat << EOF > /etc/sysconfig/kernel
|
||||||
|
# the latest kernel should be the first entry in the bootloader
|
||||||
|
# this should be the default, but here we are
|
||||||
|
UPDATEDEFAULT=yes
|
||||||
|
|
||||||
|
# name of the package providing the kernel
|
||||||
|
DEFAULTKERNEL=kernel-core
|
||||||
|
EOF
|
||||||
|
|
||||||
|
chmod 644 /etc/sysconfig/kernel
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
Loading…
Reference in New Issue
Block a user