Skip to content

Keep local edits to the NVIDIA early-load drop-in - #3222

Draft
danbunnell wants to merge 1 commit into
omacom:masterfrom
danbunnell:nvidia-module-backup
Draft

danbunnell wants to merge 1 commit into
omacom:masterfrom
danbunnell:nvidia-module-backup

Conversation

@danbunnell

Copy link
Copy Markdown

What changes

Companion to omacom/omarchy#18600. That PR adds etc/mkinitcpio.conf.d/nvidia_module.conf to omarchy-settings. The drop-in early-loads the NVIDIA driver when its modules are installed. A local edit to the drop-in is the opt-out, so pacman must keep that edit on upgrade.

This PR adds the drop-in to backup in omarchy-settings and omarchy-settings-dev, only when the source ships it. This is the same pattern as 00-omarchy-hooks.conf and 90-omarchy-arp.conf. Thus, the current pins build unchanged.

This is a draft because it has an effect only after omacom/omarchy#18600 merges. It must be in the same release as that PR or in an earlier release.

Verification

  • bash tests/settings-boot-config.sh passes (19 PASS; the pacman upgrade checks skip without root).
  • New checks: with the current fixture, backup does not name nvidia_module.conf. When the source ships the file, both recipes on aarch64 and x86_64 install it and name it in backup.
  • Without the two PKGBUILD changes, the test fails.
  • No pkgver or pkgrel change, so nothing rebuilds from this PR.

🤖 Generated with Claude Code

omacom/omarchy#18600 adds etc/mkinitcpio.conf.d/nvidia_module.conf. A local
edit to it is the opt-out, so add it to backup when the source ships it, as
for 00-omarchy-hooks.conf and 90-omarchy-arp.conf. Current pins build
unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant