2-create.sh: Fix perms on out/ dir
This commit is contained in:
parent
5cf7a53a9d
commit
f437fa5f67
2
build
2
build
@ -7,7 +7,7 @@ SPAWN="systemd-nspawn -M gentoolooqsbuilder -D gentoo --bind=$(realpath ./out):/
|
|||||||
SETUPSCRIPT="/scripts/3-setup-gentoo.sh"
|
SETUPSCRIPT="/scripts/3-setup-gentoo.sh"
|
||||||
BUILDSCRIPT="/scripts/4-build-looqs.sh"
|
BUILDSCRIPT="/scripts/4-build-looqs.sh"
|
||||||
./scripts/1-create.sh
|
./scripts/1-create.sh
|
||||||
sudo ./scripts/2-create.sh
|
sudo ./scripts/2-create.sh `whoami`
|
||||||
sudo ${SPAWN} /${SETUPSCRIPT}
|
sudo ${SPAWN} /${SETUPSCRIPT}
|
||||||
sudo ${SPAWN} su - builder -c /${BUILDSCRIPT}
|
sudo ${SPAWN} su - builder -c /${BUILDSCRIPT}
|
||||||
./scripts/5-bundle.sh
|
./scripts/5-bundle.sh
|
||||||
|
@ -6,4 +6,5 @@ mkdir out
|
|||||||
mkdir out/lib
|
mkdir out/lib
|
||||||
mkdir out/bin
|
mkdir out/bin
|
||||||
chmod -R 755 out
|
chmod -R 755 out
|
||||||
|
chown -R "$1" out
|
||||||
tar xfp hardened.tar.xz -C gentoo
|
tar xfp hardened.tar.xz -C gentoo
|
||||||
|
Caricamento…
Fai riferimento in un nuovo problema
Block a user