This repository has been archived on 2024-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
server-kernel/linux.install

30 lines
708 B
Text
Raw Permalink Normal View History

2019-07-24 23:10:59 +02:00
#!/bin/bash
_5_2_2_2_changes() {
echo ':: Kernel command line update: add page_alloc.shuffle=1'
}
_5_2_9_6_changes() {
echo ':: Microcode is no longer builtin. https://wiki.archlinux.org/index.php/Microcode'
}
2019-07-24 23:10:59 +02:00
post_install() {
2024-03-11 16:23:15 +01:00
echo ":: If you want you can adjust your kernel cmdline to Clear Linux's defaults (optional):"
echo " quiet console=tty0 console=ttyS0,115200n8 rootfstype=ext4,btrfs,xfs,f2fs rw"
echo ""
echo " Note: Some options previously listed here are now included in the kernel."
2019-07-24 23:10:59 +02:00
}
2018-01-18 22:47:42 +01:00
post_upgrade() {
2019-07-24 23:10:59 +02:00
local v upgrades=(
5.2.2-2
5.2.9-6
2019-07-24 23:10:59 +02:00
)
for v in "${upgrades[@]}"; do
if [[ $(vercmp "$v" "$2") -eq 1 ]]; then
"_${v//[.-]/_}_changes"
fi
done
2018-01-18 22:47:42 +01:00
}