tools-systemd: improve stage4 build step

This commit is contained in:
Anthony G. Basile 2018-03-03 03:43:06 -05:00
parent f4baf92b9d
commit 92e87a5425
2 changed files with 3 additions and 3 deletions

View file

@ -27,12 +27,10 @@ EOF
do_stages() {
local arch=$1
for s in 1 2 3 4; do
for s in 1 2 3; do
local tgpath="${storedir}/builds/systemd/${arch}"
local target="stage${s}-${arch}-systemd-${mydate}.tar.bz2"
local tglink="stage${s}-${arch}-systemd.tar.bz2"
# only run the amd64 stage4
[[ $arch == i686 ]] && [[ $s == 4 ]] && continue
if [[ ! -f "${tgpath}/${tglink}" ]]; then
touch stage${s}-${arch}-systemd.log
echo "!!! ${tglink} at ${tgpath} doesn't exist" \

View file

@ -50,6 +50,8 @@ main() {
do_stages ${arch}
[[ $? == 1 ]] && echo "FAILURE at ${arch}" | tee zzz.log
done
catalyst -f stage4-amd64-systemd.conf
}
main $1 &