FS#66050 - Packages can't request that mkinitcpio is run post-install

Attached to Project: Arch Linux
Opened by Aleksandr Dubinsky (adfjjv) - Tuesday, 31 March 2020, 17:14 GMT
Last edited by freswa (frederik) - Tuesday, 31 March 2020, 21:55 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The package hid-apple-patched-git-dkms requires mkinitcpio to be run, because it overrides the hid-apple kernel module that is loaded at boot on Apple computers. However, this is not possible to do automatically.

Possible solutions:
- provide an option for packages to request pacman to run mkinitcpio
- modify /usr/share/libalpm/hooks/90-mkinitcpio-install.hook to trigger more often. In this case, it could trigger on /etc/depmod.d/* or to /usr/lib/modules/*
This task depends upon

Closed by  freswa (frederik)
Tuesday, 31 March 2020, 21:55 GMT
Reason for closing:  Not a bug
Additional comments about closing:  AUR packages are not supported. Just use your own hook if necessary.

Loading...