changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > box / airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook

changeset 2: 2fafbe22bd34
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 31 May 2024 17:30:09 -0400
permissions: -rw-r--r--
description: init releng
1 # remove from airootfs!
2 # As a workaround for https://bugs.archlinux.org/task/49347 , remove pacman hooks specific to the ISO build process.
3 # If not, they would be used when pacstrap is run in the live environment.
4 
5 [Trigger]
6 Operation = Install
7 Operation = Upgrade
8 Operation = Remove
9 Type = Package
10 Target = *
11 
12 [Action]
13 Description = Work around FS#49347 by removing custom pacman hooks that are only required during ISO build...
14 When = PostTransaction
15 Depends = sh
16 Depends = coreutils
17 Depends = grep
18 Exec = /bin/sh -c "rm -- $(grep -Frl 'remove from airootfs' /etc/pacman.d/hooks/)"