From a8079edf41cc296809af4191efbb8dfe82a3397f Mon Sep 17 00:00:00 2001 From: Recolic <git@me.recolic.net> Date: Tue, 7 Jan 2025 04:29:28 +0000 Subject: [PATCH] bugfix fakeroot --- docker-pikaur/install-pikaur.sh | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/docker-pikaur/install-pikaur.sh b/docker-pikaur/install-pikaur.sh index 08048ac..d77f8bf 100755 --- a/docker-pikaur/install-pikaur.sh +++ b/docker-pikaur/install-pikaur.sh @@ -1,9 +1,18 @@ #!/bin/bash -pacman -Sy --noconfirm git pyalpm python-commonmark python-pip python-build python-installer python-setuptools python-markdown-it-py python-hatchling && -git clone https://aur.archlinux.org/pikaur.git && -chmod 777 -R pikaur && -cd pikaur && -sudo -u nobody makepkg && + +set -e + +pacman -Sy --noconfirm git pyalpm python-commonmark python-pip python-build python-installer python-setuptools python-markdown-it-py python-hatchling + +# bug fix: https://github.com/docker/for-mac/issues/7331 +pacman -U --noconfirm https://archive.archlinux.org/packages/f/fakeroot/fakeroot-1.34-1-x86_64.pkg.tar.zst +fakeroot --version + +git clone https://aur.archlinux.org/pikaur.git +chmod 777 -R pikaur +cd pikaur +sudo -u nobody makepkg pacman -U --noconfirm *.pkg.* + exit $? -- GitLab