2-create.sh: Fix perms on out/ dir

Este commit está contenido en:
Albert S. 2022-06-25 22:37:57 +02:00
padre 5cf7a53a9d
commit f437fa5f67
Se han modificado 2 ficheros con 2 adiciones y 1 borrados

2
build
Ver fichero

@ -7,7 +7,7 @@ SPAWN="systemd-nspawn -M gentoolooqsbuilder -D gentoo --bind=$(realpath ./out):/
SETUPSCRIPT="/scripts/3-setup-gentoo.sh"
BUILDSCRIPT="/scripts/4-build-looqs.sh"
./scripts/1-create.sh
sudo ./scripts/2-create.sh
sudo ./scripts/2-create.sh `whoami`
sudo ${SPAWN} /${SETUPSCRIPT}
sudo ${SPAWN} su - builder -c /${BUILDSCRIPT}
./scripts/5-bundle.sh

Ver fichero

@ -6,4 +6,5 @@ mkdir out
mkdir out/lib
mkdir out/bin
chmod -R 755 out
chown -R "$1" out
tar xfp hardened.tar.xz -C gentoo