Modified build-all script to remove overlay bug

This commit is contained in:
JPyke3 2020-09-11 06:38:58 +10:00 committed by Jacob Pyke
parent 5d797c48c8
commit e3f46fc4d9
1 changed files with 2 additions and 10 deletions

View File

@ -9,12 +9,8 @@ for f in ../manjaro/*; do
if [ -d "$f" ]; then
# Make out directory
mkdir -p ~/mbp-manjaro/out/"$f"
# Make temp build dir
mkdir -p ~/mbp-manjaro/tmp/"$f"
# Run the container
docker run --privileged -v ~/mbp-manjaro/out/"$f":/root/out ~/mbp-manjaro/tmp/"$f":/var/lib/manjaro-tools/buildiso --env KERNEL=linux57-mbp --env EDITION="$f" jpyke3/mbp-manjaro-buildiso
# Remove temp build dir
rm -rf ~/mbp-manjaro/tmp
docker run --privileged -v ~/mbp-manjaro/out/"$f":/root/out --env KERNEL=linux57-mbp --env EDITION="$f" jpyke3/mbp-manjaro-buildiso
fi
done
@ -22,11 +18,7 @@ for f in ../community/*; do
if [ -d "$f" ]; then
# Make out directory
mkdir -p ~/mbp-manjaro/out/"$f"
# Make temp build dir
mkdir -p ~/mbp-manjaro/tmp/"$f"
# Run the container
docker run --privileged -v ~/mbp-manjaro/out/"$f":/root/out ~/mbp-manjaro/tmp/"$f":/var/lib/manjaro-tools/buildiso --env KERNEL=linux57-mbp --env EDITION="$f" jpyke3/mbp-manjaro-buildiso
# Remove temp build dir
rm -rf ~/mbp-manjaro/tmp
docker run --privileged -v ~/mbp-manjaro/out/"$f":/root/out --env KERNEL=linux57-mbp --env EDITION="$f" jpyke3/mbp-manjaro-buildiso
fi
done