Make the ptl kernel exclusive when it's needed
This commit is contained in:
@@ -5,14 +5,11 @@ if omarchy-hw-intel-ptl; then
|
|||||||
echo "Detected Intel Panther Lake, installing PTL kernel..."
|
echo "Detected Intel Panther Lake, installing PTL kernel..."
|
||||||
|
|
||||||
omarchy-pkg-add linux-ptl linux-ptl-headers
|
omarchy-pkg-add linux-ptl linux-ptl-headers
|
||||||
|
sudo pacman -Rns --noconfirm linux linux-headers 2>/dev/null || true
|
||||||
|
|
||||||
sudo mkdir -p /etc/limine-entry-tool.d
|
sudo mkdir -p /etc/limine-entry-tool.d
|
||||||
cat <<EOF | sudo tee /etc/limine-entry-tool.d/intel-panther-lake.conf >/dev/null
|
cat <<EOF | sudo tee /etc/limine-entry-tool.d/intel-panther-lake.conf >/dev/null
|
||||||
# Prioritize Panther Lake kernel as the default boot entry
|
# Only show Panther Lake kernel in boot menu
|
||||||
BOOT_ORDER="linux-ptl*, *, *fallback, Snapshots"
|
BOOT_ORDER="linux-ptl*, *fallback, Snapshots"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Make the PTL kernel the default boot entry in limine with auto-boot
|
|
||||||
sed -i 's/^default_entry: 2/default_entry: 1/' $OMARCHY_PATH/default/limine/limine.conf
|
|
||||||
sed -i 's/^#timeout: 3/timeout: 3/' $OMARCHY_PATH/default/limine/limine.conf
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user