fix docker build

This commit is contained in:
hiro98 2020-03-09 21:55:50 +01:00
parent 78d553eeec
commit 8f959c95dc
3 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR cd $DIR
docker run \ docker run \

View file

@ -17,5 +17,6 @@ EOF
echo "Set disable_coredump false" > /etc/sudo.conf echo "Set disable_coredump false" > /etc/sudo.conf
# make the bacon # make the bacon
su archiso
cd /archiso cd /archiso
bash make_iso.sh bash make_iso.sh

View file

@ -68,10 +68,10 @@ function add_aur {
echo "Building $NAME" echo "Building $NAME"
echo "==============" echo "=============="
rm -rf $NAME sudo rm -rf $NAME
git clone $URL git clone $URL
cd $NAME cd $NAME
makepkg -sc makepkg -sc --noconfirm
fi fi
if [ "$INSTALL" = true ]; then if [ "$INSTALL" = true ]; then