Repository navigation
Speed up hardware install pass and avoid premature package flushes - #20166
Conversation
[Medium impact] The PR changes package timing and hardware-script selection during installation across supported platforms. Fix the Intel Wi-Fi leaf mapping before merging so ARM machines keep the card-specific workaround. Findings
SummaryThis PR batches N1x packages, preserves deferred packages when requested packages are already installed, and skips setup leaves for other platforms.
Reviews (2) · Last reviewed commit: "Speed up hardware install pass and avoid..." · Reviewed by Greptile |
| hardware/asus/fix-asus-zenbook-a16-speakers.sh | \ | ||
| hardware/asus/fix-asus-zenbook-14-ux3480qa-audio.sh | \ | ||
| hardware/asus/fix-asus-proart-pz13-speakers.sh | \ | ||
| hardware/intel/* | \ |
There was a problem hiding this comment.
hardware/intel/* includes fix-wifi7-eht.sh, which fixes Intel BE200/BE211 Wi-Fi cards, not Intel CPUs. If an ARM machine uses one of these PCIe cards, this mapping skips the fix before its device check can run. The card keeps the broken Wi-Fi 7 mode, leaving Wi-Fi unusably slow.
Keep this leaf outside the x86-only mapping so its device check still runs.
Fixes several bottlenecks and minor issues spotted in
/var/log/omarchy-install.logon an aarch64 N1x install (Dell XPS 16):install/hardware/n1x.sh: addsOMARCHY_PKG_DEFER=1to bothomarchy-pkg-addcalls son1x.shdoesn't flushdell-xps-touchpad-hapticsmid-pass (previously ~1.08s inn1x.shplus a second pacman transaction inflush-packages.sh).bin/omarchy-pkg-add): when explicit package args are all already installed, exit immediately without flushing$OMARCHY_PKG_QUEUE_FILE; when flushing with missing packages, filter out already-installed args before callingpacman -S(eliminatingup to date -- skippingwarnings).install/helpers/logging.sh): extendomarchy_skip_leafto cacheomarchy-hw-platformonce and skip leaves belonging to other platforms (x86,aarch64,aarch64-n1x,aarch64-gb10,aarch64-qualcomm), eliminating ~58 no-op hardware script spawns and ~35+ repeated PCI/ACPI scans on N1x (~0.6–0.7s saved). Also adds the missinghardware/qualcomm/hibernation.shentry.sudoas root (install/hardware/set-wireless-regdom.sh): write directly whenEUID == 0.test/shell.d/pkg-drop-test.sh): cover queue preservation when already-installed args are passed and multi-platform leaf skipping.