aur-linux-clear/linux.install
JeremyStarTM 660c2a1864
6.10.2-1 (clr 6.10.2-1454) maintainer switch
metak announced that he had orphaned the package due to time constraints and a new pc. I have now took over the maintainership of the package. Nothing would/should change.
In this commit I added some comments in various places, added a few build options and generally ported some stuff from my (formerly) softfork at https://git.staropensource.de/JeremyStarTM/jstm-optimized.

Enjoy :3
2024-08-06 21:07:57 +02:00

31 lines
884 B
Bash

#!/bin/bash
_5_2_2_2_changes() {
echo ":: A new command line option was added: add page_alloc.shuffle=1"
}
_5_2_9_6_changes() {
echo ":: Microcode is no longer builtin. See https://wiki.archlinux.org/index.php/Microcode"
}
post_install() {
echo ":: Clear Linux bundles a custom command line which must be applied manually on other distributions."
echo " This is their default command line:"
echo " quiet console=tty0 console=ttyS0,115200n8 cryptomgr.notests initcall_debug"
echo " intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check noreplace-smp"
echo " page_alloc.shuffle=1 rcupdate.rcu_expedited=1"
echo " rootfstype=ext4,btrfs,xfs,f2fs tsc=reliable rw"
}
post_upgrade() {
local v upgrades=(
5.2.2-2
5.2.9-6
)
for v in "${upgrades[@]}"; do
if [[ $(vercmp "${v}" "$2") -eq 1 ]]; then
"_${v//[.-]/_}_changes"
fi
done
}