1
0
looqs-bundle/build

15 linhas
455 B
Plaintext
Em bruto Vista normal Histórico

2022-06-22 23:25:33 +02:00
#!/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
2022-06-25 22:37:57 +02:00
sudo ./scripts/2-create.sh `whoami`
2022-06-22 23:25:33 +02:00
sudo ${SPAWN} /${SETUPSCRIPT}
sudo ${SPAWN} su - builder -c /${BUILDSCRIPT}
./scripts/5-bundle.sh