mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
17 lines
475 B
Bash
17 lines
475 B
Bash
echo "Restore stock kernel on non-XPS Panther Lake systems"
|
|
|
|
if omarchy-hw-intel-ptl && ! omarchy-hw-match "XPS"; then
|
|
omarchy-pkg-add linux linux-headers
|
|
|
|
for pkg in linux-ptl linux-ptl-headers; do
|
|
sudo pacman -Rdd --noconfirm "$pkg" 2>/dev/null || true
|
|
done
|
|
|
|
sudo rm -f /etc/limine-entry-tool.d/intel-panther-lake.conf
|
|
sudo rm -f /etc/limine-entry-tool.d/dell-xps-panther-lake.conf
|
|
|
|
if omarchy-cmd-present limine-update; then
|
|
sudo limine-update
|
|
fi
|
|
fi
|