index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | nl6720 <nl6720@gmail.com> | 2021-01-27 19:10:01 +0200 |
---|---|---|
committer | nl6720 <nl6720@gmail.com> | 2021-01-31 09:55:25 +0200 |
commit | a46c74087fe91c35589dcf1082128e282ad8c9be (patch) | |
tree | de525df69e770cab38a54110f7744cc7d2d5459d /configs/releng | |
parent | 767c09569d840538f43ed2788929b1921707412f (diff) |
-rw-r--r-- | configs/releng/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook | 1 | ||||
-rw-r--r-- | configs/releng/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook | 18 |
diff --git a/configs/releng/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook b/configs/releng/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook index ad0b5ba..342aa95 100644 --- a/configs/releng/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook +++ b/configs/releng/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook @@ -1,3 +1,4 @@ +# remove from airootfs! [Trigger] Operation = Install Operation = Upgrade diff --git a/configs/releng/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook b/configs/releng/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook new file mode 100644 index 0000000..8dfb943 --- /dev/null +++ b/configs/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/)" |