add stage4 to systemd stage generation
This commit is contained in:
parent
71795cbe91
commit
aa2c1085b5
3 changed files with 86 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
source /etc/catalyst/catalyst.conf
|
||||
|
||||
mydate=`date +%Y%m%d`
|
||||
mydate=$(date +%Y%m%d)
|
||||
|
||||
|
||||
undo_grsec() {
|
||||
|
@ -27,11 +27,12 @@ EOF
|
|||
do_stages() {
|
||||
local arch=$1
|
||||
|
||||
for s in 1 2 3; do
|
||||
for s in 1 2 3 4; 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" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue