From c061e8954fadc1333da7d69381138a3c6957cfe0 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 7 Jan 2021 01:17:15 +0100 Subject: [PATCH] Temporarily disable tmpfiles hook Signed-off-by: Knut Ahlers --- mkroots.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mkroots.sh b/mkroots.sh index ff891c1..c4f8b5f 100644 --- a/mkroots.sh +++ b/mkroots.sh @@ -39,5 +39,8 @@ arch-chroot ${tmpdir} locale-gen arch-chroot ${tmpdir} pacman-key --init arch-chroot ${tmpdir} pacman-key --populate archlinux +# Temporarily break the tmpfiles hook which causes every pacman operation to hang forever +sed -i 's!^Exec.*!Exec = /usr/bin/true!' ${tmpdir}/usr/share/libalpm/hooks/30-systemd-tmpfiles.hook + # Pack rootfs tar --numeric-owner --xattrs --acls --exclude-from=exclude -C ${tmpdir} -c . -f archlinux.tar