update build scripts
This commit is contained in:
parent
65fb1d267e
commit
e63783ca18
|
@ -30,12 +30,12 @@ _break=0 ; _wait=30 # Time (in seconds) to wait
|
||||||
cd ${WorkingDir}
|
cd ${WorkingDir}
|
||||||
|
|
||||||
# Run the build script - expect 50 minutes, allow 60.
|
# Run the build script - expect 50 minutes, allow 60.
|
||||||
./pepbld.sh 2>&1 | tee --append ${OutFile}
|
./pepbld.sh 2>&1 | tee -a ${OutFile}
|
||||||
|
|
||||||
# Timing matters, don't destroy the old one without a replacement.
|
# Timing matters, don't destroy the old one without a replacement.
|
||||||
# Check for the ISO to appear and wait for things to settle.
|
# Check for the ISO to appear and wait for things to settle.
|
||||||
until [ -e fusato/*.iso ]
|
until [ -e fusato/*.iso ]
|
||||||
do ((++_break))
|
do ((_break))
|
||||||
[ $_break -gt $_wait ] && break || sleep 1
|
[ $_break -gt $_wait ] && break || sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -45,19 +45,17 @@ mv fusato/*.iso fusato/${FileName}.iso
|
||||||
|
|
||||||
# Make the checksum file.
|
# Make the checksum file.
|
||||||
cd fusato
|
cd fusato
|
||||||
echo "# ${FileName}" > ${FileName}-sha512.checksum
|
echo "# ${FileName} ${TODAY}" > ${FileName}-sha512.checksum
|
||||||
sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum
|
sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum
|
||||||
|
|
||||||
### <HouseKeeping>
|
### <HouseKeeping>
|
||||||
# Remove the previous files in ${LOCATION} .
|
# Remove the previous files in ${LOCATION} .
|
||||||
rm -f ${LOCATION}/${PREFIX}-${SUFFIX}*.iso
|
rm -f ${LOCATION}/${FileName}*.iso
|
||||||
rm -f ${LOCATION}/${PREFIX}-${SUFFIX}*-sha512.checksum
|
rm -f ${LOCATION}/${FileName}*-sha512.checksum
|
||||||
|
|
||||||
#mv $(FileName}* ${LOCATION}/
|
#mv $(FileName}* ${LOCATION}/
|
||||||
mv ${FileName}.iso ${LOCATION}/${FileName}.iso
|
mv ${FileName}.iso ${LOCATION}/${FileName}.iso
|
||||||
mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum
|
mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum
|
||||||
|
|
||||||
# touch -t ${_stamp} ${LOCATION} ${LOCATION}/${FileName}*
|
|
||||||
touch ${LOCATION}/${FileName}*
|
touch ${LOCATION}/${FileName}*
|
||||||
|
|
||||||
lb clean &
|
lb clean &
|
||||||
|
|
|
@ -30,12 +30,12 @@ _break=0 ; _wait=30 # Time (in seconds) to wait
|
||||||
cd ${WorkingDir}
|
cd ${WorkingDir}
|
||||||
|
|
||||||
# Run the build script - expect 50 minutes, allow 60.
|
# Run the build script - expect 50 minutes, allow 60.
|
||||||
./pepbld.sh 2>&1 | tee --append ${OutFile}
|
./pepbld.sh 2>&1 | tee -a ${OutFile}
|
||||||
|
|
||||||
# Timing matters, don't destroy the old one without a replacement.
|
# Timing matters, don't destroy the old one without a replacement.
|
||||||
# Check for the ISO to appear and wait for things to settle.
|
# Check for the ISO to appear and wait for things to settle.
|
||||||
until [ -e fusato/*.iso ]
|
until [ -e fusato/*.iso ]
|
||||||
do ((++_break))
|
do ((_break))
|
||||||
[ $_break -gt $_wait ] && break || sleep 1
|
[ $_break -gt $_wait ] && break || sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -45,19 +45,17 @@ mv fusato/*.iso fusato/${FileName}.iso
|
||||||
|
|
||||||
# Make the checksum file.
|
# Make the checksum file.
|
||||||
cd fusato
|
cd fusato
|
||||||
echo "# ${FileName}" > ${FileName}-sha512.checksum
|
echo "# ${FileName} ${TODAY}" > ${FileName}-sha512.checksum
|
||||||
sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum
|
sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum
|
||||||
|
|
||||||
### <HouseKeeping>
|
### <HouseKeeping>
|
||||||
# Remove the previous files in ${LOCATION} .
|
# Remove the previous files in ${LOCATION} .
|
||||||
rm -f ${LOCATION}/${PREFIX}-${SUFFIX}*.iso
|
rm -f ${LOCATION}/${FileName}*.iso
|
||||||
rm -f ${LOCATION}/${PREFIX}-${SUFFIX}*-sha512.checksum
|
rm -f ${LOCATION}/${FileName}*-sha512.checksum
|
||||||
|
|
||||||
#mv $(FileName}* ${LOCATION}/
|
#mv $(FileName}* ${LOCATION}/
|
||||||
mv ${FileName}.iso ${LOCATION}/${FileName}.iso
|
mv ${FileName}.iso ${LOCATION}/${FileName}.iso
|
||||||
mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum
|
mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum
|
||||||
|
|
||||||
# touch -t ${_stamp} ${LOCATION} ${LOCATION}/${FileName}*
|
|
||||||
touch ${LOCATION}/${FileName}*
|
touch ${LOCATION}/${FileName}*
|
||||||
|
|
||||||
lb clean &
|
lb clean &
|
||||||
|
@ -77,4 +75,4 @@ done
|
||||||
|
|
||||||
else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile}
|
else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile}
|
||||||
mv ${OutFile} ${LogFile}
|
mv ${OutFile} ${LogFile}
|
||||||
fi
|
fi
|
|
@ -29,12 +29,12 @@ _break=0 ; _wait=30 # Time (in seconds) to wait
|
||||||
cd ${WorkingDir}
|
cd ${WorkingDir}
|
||||||
|
|
||||||
# Run the build script - expect 50 minutes, allow 60.
|
# Run the build script - expect 50 minutes, allow 60.
|
||||||
./pepbld.sh 2>&1 | tee --append ${OutFile}
|
./pepbld.sh 2>&1 | tee -a ${OutFile}
|
||||||
|
|
||||||
# Timing matters, don't destroy the old one without a replacement.
|
# Timing matters, don't destroy the old one without a replacement.
|
||||||
# Check for the ISO to appear and wait for things to settle.
|
# Check for the ISO to appear and wait for things to settle.
|
||||||
until [ -e fusato/*.iso ]
|
until [ -e fusato/*.iso ]
|
||||||
do ((++_break))
|
do ((_break))
|
||||||
[ $_break -gt $_wait ] && break || sleep 1
|
[ $_break -gt $_wait ] && break || sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -44,19 +44,17 @@ mv fusato/*.iso fusato/${FileName}.iso
|
||||||
|
|
||||||
# Make the checksum file.
|
# Make the checksum file.
|
||||||
cd fusato
|
cd fusato
|
||||||
echo "# ${FileName}" > ${FileName}-sha512.checksum
|
echo "# ${FileName} ${TODAY}" > ${FileName}-sha512.checksum
|
||||||
sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum
|
sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum
|
||||||
|
|
||||||
### <HouseKeeping>
|
### <HouseKeeping>
|
||||||
# Remove the previous files in ${LOCATION} .
|
# Remove the previous files in ${LOCATION} .
|
||||||
rm -f ${LOCATION}/${PREFIX}-${SUFFIX}*.iso
|
rm -f ${LOCATION}/${FileName}*.iso
|
||||||
rm -f ${LOCATION}/${PREFIX}-${SUFFIX}*-sha512.checksum
|
rm -f ${LOCATION}/${FileName}*-sha512.checksum
|
||||||
|
|
||||||
#mv $(FileName}* ${LOCATION}/
|
#mv $(FileName}* ${LOCATION}/
|
||||||
mv ${FileName}.iso ${LOCATION}/${FileName}.iso
|
mv ${FileName}.iso ${LOCATION}/${FileName}.iso
|
||||||
mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum
|
mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum
|
||||||
|
|
||||||
# touch -t ${_stamp} ${LOCATION} ${LOCATION}/${FileName}*
|
|
||||||
touch ${LOCATION}/${FileName}*
|
touch ${LOCATION}/${FileName}*
|
||||||
|
|
||||||
lb clean &
|
lb clean &
|
||||||
|
@ -76,4 +74,4 @@ done
|
||||||
|
|
||||||
else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile}
|
else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile}
|
||||||
mv ${OutFile} ${LogFile}
|
mv ${OutFile} ${LogFile}
|
||||||
fi
|
fi
|
|
@ -29,12 +29,12 @@ _break=0 ; _wait=30 # Time (in seconds) to wait
|
||||||
cd ${WorkingDir}
|
cd ${WorkingDir}
|
||||||
|
|
||||||
# Run the build script - expect 50 minutes, allow 60.
|
# Run the build script - expect 50 minutes, allow 60.
|
||||||
./pepbld.sh 2>&1 | tee --append ${OutFile}
|
./pepbld.sh 2>&1 | tee -a ${OutFile}
|
||||||
|
|
||||||
# Timing matters, don't destroy the old one without a replacement.
|
# Timing matters, don't destroy the old one without a replacement.
|
||||||
# Check for the ISO to appear and wait for things to settle.
|
# Check for the ISO to appear and wait for things to settle.
|
||||||
until [ -e fusato/*.iso ]
|
until [ -e fusato/*.iso ]
|
||||||
do ((++_break))
|
do ((_break))
|
||||||
[ $_break -gt $_wait ] && break || sleep 1
|
[ $_break -gt $_wait ] && break || sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -44,19 +44,17 @@ mv fusato/*.iso fusato/${FileName}.iso
|
||||||
|
|
||||||
# Make the checksum file.
|
# Make the checksum file.
|
||||||
cd fusato
|
cd fusato
|
||||||
echo "# ${FileName}" > ${FileName}-sha512.checksum
|
echo "# ${FileName} ${TODAY}" > ${FileName}-sha512.checksum
|
||||||
sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum
|
sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum
|
||||||
|
|
||||||
### <HouseKeeping>
|
### <HouseKeeping>
|
||||||
# Remove the previous files in ${LOCATION} .
|
# Remove the previous files in ${LOCATION} .
|
||||||
rm -f ${LOCATION}/${PREFIX}-${SUFFIX}*.iso
|
rm -f ${LOCATION}/${FileName}*.iso
|
||||||
rm -f ${LOCATION}/${PREFIX}-${SUFFIX}*-sha512.checksum
|
rm -f ${LOCATION}/${FileName}*-sha512.checksum
|
||||||
|
|
||||||
#mv $(FileName}* ${LOCATION}/
|
#mv $(FileName}* ${LOCATION}/
|
||||||
mv ${FileName}.iso ${LOCATION}/${FileName}.iso
|
mv ${FileName}.iso ${LOCATION}/${FileName}.iso
|
||||||
mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum
|
mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum
|
||||||
|
|
||||||
# touch -t ${_stamp} ${LOCATION} ${LOCATION}/${FileName}*
|
|
||||||
touch ${LOCATION}/${FileName}*
|
touch ${LOCATION}/${FileName}*
|
||||||
|
|
||||||
lb clean &
|
lb clean &
|
||||||
|
|
|
@ -29,12 +29,12 @@ _break=0 ; _wait=30 # Time (in seconds) to wait
|
||||||
cd ${WorkingDir}
|
cd ${WorkingDir}
|
||||||
|
|
||||||
# Run the build script - expect 50 minutes, allow 60.
|
# Run the build script - expect 50 minutes, allow 60.
|
||||||
./pepbld.sh 2>&1 | tee --append ${OutFile}
|
./pepbld.sh 2>&1 | tee -a ${OutFile}
|
||||||
|
|
||||||
# Timing matters, don't destroy the old one without a replacement.
|
# Timing matters, don't destroy the old one without a replacement.
|
||||||
# Check for the ISO to appear and wait for things to settle.
|
# Check for the ISO to appear and wait for things to settle.
|
||||||
until [ -e fusato/*.iso ]
|
until [ -e fusato/*.iso ]
|
||||||
do ((++_break))
|
do ((_break))
|
||||||
[ $_break -gt $_wait ] && break || sleep 1
|
[ $_break -gt $_wait ] && break || sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -44,19 +44,17 @@ mv fusato/*.iso fusato/${FileName}.iso
|
||||||
|
|
||||||
# Make the checksum file.
|
# Make the checksum file.
|
||||||
cd fusato
|
cd fusato
|
||||||
echo "# ${FileName}" > ${FileName}-sha512.checksum
|
echo "# ${FileName} ${TODAY}" > ${FileName}-sha512.checksum
|
||||||
sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum
|
sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum
|
||||||
|
|
||||||
### <HouseKeeping>
|
### <HouseKeeping>
|
||||||
# Remove the previous files in ${LOCATION} .
|
# Remove the previous files in ${LOCATION} .
|
||||||
rm -f ${LOCATION}/${PREFIX}-${SUFFIX}*.iso
|
rm -f ${LOCATION}/${FileName}*.iso
|
||||||
rm -f ${LOCATION}/${PREFIX}-${SUFFIX}*-sha512.checksum
|
rm -f ${LOCATION}/${FileName}*-sha512.checksum
|
||||||
|
|
||||||
#mv $(FileName}* ${LOCATION}/
|
#mv $(FileName}* ${LOCATION}/
|
||||||
mv ${FileName}.iso ${LOCATION}/${FileName}.iso
|
mv ${FileName}.iso ${LOCATION}/${FileName}.iso
|
||||||
mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum
|
mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum
|
||||||
|
|
||||||
# touch -t ${_stamp} ${LOCATION} ${LOCATION}/${FileName}*
|
|
||||||
touch ${LOCATION}/${FileName}*
|
touch ${LOCATION}/${FileName}*
|
||||||
|
|
||||||
lb clean &
|
lb clean &
|
||||||
|
|
Loading…
Reference in New Issue