tools-systemd: isolate systemd scripts to their own directory
This commit is contained in:
parent
ed422ec6fb
commit
8d7e8ae3a3
6
tools-systemd/clean.sh
Executable file
6
tools-systemd/clean.sh
Executable 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
|
|
@ -33,15 +33,13 @@ main() {
|
||||||
|
|
||||||
catalyst -s current | tee -a zzz.log >snapshot.log 2>snapshot.err
|
catalyst -s current | tee -a zzz.log >snapshot.log 2>snapshot.err
|
||||||
|
|
||||||
# for arch in amd64 i686; do
|
for arch in amd64 i686; do
|
||||||
for arch in amd64; do
|
|
||||||
prepare_confs ${arch}
|
prepare_confs ${arch}
|
||||||
done
|
done
|
||||||
|
|
||||||
# The parallelization `( do_stages ... ) &` doesn't work here
|
# The parallelization `( do_stages ... ) &` doesn't work here
|
||||||
# if catalyst is using snapcache, bug #519656
|
# if catalyst is using snapcache, bug #519656
|
||||||
# for arch in amd64 i686; do
|
for arch in amd64 i686; do
|
||||||
for arch in amd64; do
|
|
||||||
do_stages ${arch}
|
do_stages ${arch}
|
||||||
[[ $? == 1 ]] && echo "FAILURE at ${arch}" | tee zzz.log
|
[[ $? == 1 ]] && echo "FAILURE at ${arch}" | tee zzz.log
|
||||||
done
|
done
|
Loading…
Reference in a new issue