2-create.sh: Fix perms on out/ dir
This commit is contained in:
父節點
5cf7a53a9d
當前提交
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"
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user