mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-07 12:40:55 +02:00
Remove legacy online installer entrypoints, collapse migrations for 4.0, and move setup responsibilities into target-side system, hardware, and user commands.
16 lines
602 B
Bash
16 lines
602 B
Bash
# Install Panther Lake kernel for Dell XPS Panther Lake systems
|
|
# The linux-ptl kernel includes audio driver patches not yet in mainline.
|
|
|
|
if omarchy-hw-match "XPS" && omarchy-hw-intel-ptl; then
|
|
echo "Detected Dell XPS Panther Lake, installing PTL kernel..."
|
|
|
|
omarchy-pkg-add linux-ptl linux-ptl-headers
|
|
pacman -Rdd --noconfirm linux linux-headers 2>/dev/null || true
|
|
|
|
mkdir -p /etc/limine-entry-tool.d
|
|
cat > /etc/limine-entry-tool.d/dell-xps-panther-lake.conf <<'EOF'
|
|
# Only show Panther Lake kernel in boot menu on Dell XPS Panther Lake
|
|
BOOT_ORDER="linux-ptl*, *fallback, Snapshots"
|
|
EOF
|
|
fi
|