tools-systemd: isolate systemd scripts to their own directory

This commit is contained in:
Anthony G. Basile 2016-03-09 05:00:05 -05:00
parent ed422ec6fb
commit 8d7e8ae3a3
3 changed files with 8 additions and 4 deletions

6
tools-systemd/clean.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
# This just removes the temporary conf err and log
# files generated during a run
rm -f *conf *err *log

View file

@ -33,15 +33,13 @@ main() {
catalyst -s current | tee -a zzz.log >snapshot.log 2>snapshot.err
# for arch in amd64 i686; do
for arch in amd64; do
for arch in amd64 i686; do
prepare_confs ${arch}
done
# The parallelization `( do_stages ... ) &` doesn't work here
# if catalyst is using snapcache, bug #519656
# for arch in amd64 i686; do
for arch in amd64; do
for arch in amd64 i686; do
do_stages ${arch}
[[ $? == 1 ]] && echo "FAILURE at ${arch}" | tee zzz.log
done