mirror of
https://github.com/luzifer-docker/archlinux.git
synced 2024-12-20 11:01:23 +00:00
Temporarily disable tmpfiles hook
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
e226fb8c03
commit
c061e8954f
1 changed files with 3 additions and 0 deletions
|
@ -39,5 +39,8 @@ arch-chroot ${tmpdir} locale-gen
|
||||||
arch-chroot ${tmpdir} pacman-key --init
|
arch-chroot ${tmpdir} pacman-key --init
|
||||||
arch-chroot ${tmpdir} pacman-key --populate archlinux
|
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
|
# Pack rootfs
|
||||||
tar --numeric-owner --xattrs --acls --exclude-from=exclude -C ${tmpdir} -c . -f archlinux.tar
|
tar --numeric-owner --xattrs --acls --exclude-from=exclude -C ${tmpdir} -c . -f archlinux.tar
|
||||||
|
|
Loading…
Reference in a new issue