initial commit
This commit is contained in:
14
build
Executable file
14
build
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
[ -d cache ] || mkdir cache
|
||||
SPAWN="systemd-nspawn -M gentoolooqsbuilder -D gentoo --bind=$(realpath ./out):/out --bind=$(realpath scripts):/scripts --bind=$(realpath cache):/var/cache/distfiles"
|
||||
|
||||
|
||||
SETUPSCRIPT="/scripts/3-setup-gentoo.sh"
|
||||
BUILDSCRIPT="/scripts/4-build-looqs.sh"
|
||||
./scripts/1-create.sh
|
||||
sudo ./scripts/2-create.sh
|
||||
sudo ${SPAWN} /${SETUPSCRIPT}
|
||||
sudo ${SPAWN} su - builder -c /${BUILDSCRIPT}
|
||||
./scripts/5-bundle.sh
|
||||
|
Reference in New Issue
Block a user