Created
December 19, 2023 02:56
-
-
Save YumingChang02/744087806e1fd5c37c5345a669d0ee35 to your computer and use it in GitHub Desktop.
pacman hook to changemod initramfs for pxe server to read
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Trigger] | |
Type = Path | |
Operation = Install | |
Operation = Upgrade | |
Target = usr/lib/modules/*/vmlinuz | |
Target = usr/lib/initcpio/* | |
Target = usr/lib/firmware/* | |
Target = usr/src/*/dkms.conf | |
[Action] | |
Description = Add read permission for syslinux PXE boot ... | |
When = PostTransaction | |
Exec = /usr/bin/chmod -R a+r /boot | |
NeedsTargets |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment