tools-systemd: improve stage4 build step
This commit is contained in:
parent
f4baf92b9d
commit
92e87a5425
2 changed files with 3 additions and 3 deletions
|
@ -27,12 +27,10 @@ EOF
|
||||||
do_stages() {
|
do_stages() {
|
||||||
local arch=$1
|
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 tgpath="${storedir}/builds/systemd/${arch}"
|
||||||
local target="stage${s}-${arch}-systemd-${mydate}.tar.bz2"
|
local target="stage${s}-${arch}-systemd-${mydate}.tar.bz2"
|
||||||
local tglink="stage${s}-${arch}-systemd.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
|
if [[ ! -f "${tgpath}/${tglink}" ]]; then
|
||||||
touch stage${s}-${arch}-systemd.log
|
touch stage${s}-${arch}-systemd.log
|
||||||
echo "!!! ${tglink} at ${tgpath} doesn't exist" \
|
echo "!!! ${tglink} at ${tgpath} doesn't exist" \
|
||||||
|
|
|
@ -50,6 +50,8 @@ main() {
|
||||||
do_stages ${arch}
|
do_stages ${arch}
|
||||||
[[ $? == 1 ]] && echo "FAILURE at ${arch}" | tee zzz.log
|
[[ $? == 1 ]] && echo "FAILURE at ${arch}" | tee zzz.log
|
||||||
done
|
done
|
||||||
|
|
||||||
|
catalyst -f stage4-amd64-systemd.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
main $1 &
|
main $1 &
|
||||||
|
|
Loading…
Add table
Reference in a new issue