Swap the Panther Lake kernel in before the camera DKMS modules
A fresh install on a Dell XPS 14 spent 73s in "Configuring system", and two silent gaps in the install log account for 66s of it. Both are the same redundant work. hardware/all.sh ran ipu7-camera.sh before ptl-kernel.sh. intel-ipu7-camera pulls in ipu7-drivers, vision-drivers and v4l2loopback, so DKMS compiled all three against the stock linux kernel and built a UKI for it. ptl-kernel.sh then installed linux-ptl, which recompiled the same three modules against the new kernel, and its pacman -Rdd of linux followed with three dkms removes and yet another UKI rebuild. The log shows four UKI builds where one would do, and everything the first script produced was deleted 42 seconds after it was made. Running the kernel swap first means the DKMS modules are only ever built against the kernel the machine actually keeps, which returns roughly 25s. ptl-kernel.sh still installs linux-ptl before removing linux, so one redundant UKI build for the stock kernel remains. Removing first would save it but would leave the machine with no kernel at all if the linux-ptl install failed, so the safe order stays. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017q97Rsk8KwgaPUVq5ArLgM
This commit is contained in:
co-authored by
Claude Opus 5
parent
9ddcec272d
commit
1756864129
@@ -15,8 +15,12 @@ run_logged "$OMARCHY_INSTALL/hardware/vulkan.sh"
|
||||
run_logged "$OMARCHY_INSTALL/hardware/intel/video-acceleration.sh"
|
||||
run_logged "$OMARCHY_INSTALL/hardware/intel/lpmd.sh"
|
||||
run_logged "$OMARCHY_INSTALL/hardware/intel/thermald.sh"
|
||||
run_logged "$OMARCHY_INSTALL/hardware/intel/ipu7-camera.sh"
|
||||
# Swap in the Panther Lake kernel before anything pulls DKMS modules in.
|
||||
# intel-ipu7-camera drags in ipu7-drivers, vision-drivers and v4l2loopback,
|
||||
# and building all three against the stock kernel only to rebuild them against
|
||||
# linux-ptl and tear the first set down again cost ~25s of the install.
|
||||
run_logged "$OMARCHY_INSTALL/hardware/intel/ptl-kernel.sh"
|
||||
run_logged "$OMARCHY_INSTALL/hardware/intel/ipu7-camera.sh"
|
||||
run_logged "$OMARCHY_INSTALL/hardware/intel/fred.sh"
|
||||
run_logged "$OMARCHY_INSTALL/hardware/intel/fix-wifi7-eht.sh"
|
||||
run_logged "$OMARCHY_INSTALL/hardware/intel/sof-firmware.sh"
|
||||
|
||||
Reference in New Issue
Block a user