diff options
| author | nippy <you@example.com> | 2026-04-12 18:11:38 +0200 |
|---|---|---|
| committer | nippy <you@example.com> | 2026-04-12 18:11:38 +0200 |
| commit | 89d442a74ab0b3fc49f838c15f3f722f1be74720 (patch) | |
| tree | 97c021670032230f020c2b45e6cd2aabd3dc1a00 /releng/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook | |
| parent | 71d4e0832da17f0ba97b7a5db86c6bf45be4e894 (diff) | |
| download | RaveOS-build-iso-89d442a74ab0b3fc49f838c15f3f722f1be74720.tar.gz RaveOS-build-iso-89d442a74ab0b3fc49f838c15f3f722f1be74720.zip | |
live
Diffstat (limited to 'releng/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook')
| -rw-r--r-- | releng/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/releng/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook b/releng/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook new file mode 100644 index 0000000..8dfb943 --- /dev/null +++ b/releng/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook @@ -0,0 +1,18 @@ +# remove from airootfs! +# As a workaround for https://bugs.archlinux.org/task/49347 , remove pacman hooks specific to the ISO build process. +# If not, they would be used when pacstrap is run in the live environment. + +[Trigger] +Operation = Install +Operation = Upgrade +Operation = Remove +Type = Package +Target = * + +[Action] +Description = Work around FS#49347 by removing custom pacman hooks that are only required during ISO build... +When = PostTransaction +Depends = sh +Depends = coreutils +Depends = grep +Exec = /bin/sh -c "rm -- $(grep -Frl 'remove from airootfs' /etc/pacman.d/hooks/)" |