atualizar os scripts BldHelper

This commit is contained in:
manuel 2023-11-10 21:17:58 -01:00
parent 1222c494ea
commit 707e0c7fcb
6 changed files with 24 additions and 19 deletions

View File

@ -19,7 +19,7 @@ WorkingDir="/home/$SUDO_USER/My-distro-DI-configs/my-distro-debian-32-pae"
# Execute the ISO building script # Execute the ISO building script
cd ${WorkingDir} cd ${WorkingDir}
./build.sh ./build.sh 2>&1 | tee /tmp/build_log.txt
# Move and rename the ISO file # Move and rename the ISO file
cd build cd build
@ -38,10 +38,10 @@ mv ${FileName}-${TODAY}.iso ${LOCATION}
mv ${FileName}-${TODAY}-sha512.checksum ${LOCATION} mv ${FileName}-${TODAY}-sha512.checksum ${LOCATION}
# Move the log file to the log directory (if it exists) # Move the log file to the log directory (if it exists)
if [ -f /tmp/${PREFIX}${SUFFIX}.out ]; then if [ -f /tmp/build_log.txt ]; then
mv /tmp/${PREFIX}${SUFFIX}.out ${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log LogFileName="${PREFIX}-${SUFFIX}-${BUILD}.log"
mv /tmp/build_log.txt ${LogDir}/${LogFileName}
fi fi
# Clean the build folder # Clean the build folder
lb clean lb clean

View File

@ -19,7 +19,7 @@ WorkingDir="/home/$SUDO_USER/My-distro-DI-configs/my-distro-debian-32"
# Execute the ISO building script # Execute the ISO building script
cd ${WorkingDir} cd ${WorkingDir}
./build.sh ./build.sh 2>&1 | tee /tmp/build_log.txt
# Move and rename the ISO file # Move and rename the ISO file
cd build cd build
@ -38,8 +38,9 @@ mv ${FileName}-${TODAY}.iso ${LOCATION}
mv ${FileName}-${TODAY}-sha512.checksum ${LOCATION} mv ${FileName}-${TODAY}-sha512.checksum ${LOCATION}
# Move the log file to the log directory (if it exists) # Move the log file to the log directory (if it exists)
if [ -f /tmp/${PREFIX}${SUFFIX}.out ]; then if [ -f /tmp/build_log.txt ]; then
mv /tmp/${PREFIX}${SUFFIX}.out ${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log LogFileName="${PREFIX}-${SUFFIX}-${BUILD}.log"
mv /tmp/build_log.txt ${LogDir}/${LogFileName}
fi fi
# Clean the build folder # Clean the build folder

View File

@ -19,7 +19,7 @@ WorkingDir=/"home/$SUDO_USER/My-distro-DI-configs/my-distro-debian-64"
# Execute the ISO building script # Execute the ISO building script
cd ${WorkingDir} cd ${WorkingDir}
./build.sh ./build.sh 2>&1 | tee /tmp/build_log.txt
# Move and rename the ISO file # Move and rename the ISO file
cd build cd build
@ -38,8 +38,9 @@ mv ${FileName}-${TODAY}.iso ${LOCATION}
mv ${FileName}-${TODAY}-sha512.checksum ${LOCATION} mv ${FileName}-${TODAY}-sha512.checksum ${LOCATION}
# Move the log file to the log directory (if it exists) # Move the log file to the log directory (if it exists)
if [ -f /tmp/${PREFIX}${SUFFIX}.out ]; then if [ -f /tmp/build_log.txt ]; then
mv /tmp/${PREFIX}${SUFFIX}.out ${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log LogFileName="${PREFIX}-${SUFFIX}-${BUILD}.log"
mv /tmp/build_log.txt ${LogDir}/${LogFileName}
fi fi
# Clean the build folder # Clean the build folder

View File

@ -19,7 +19,7 @@ WorkingDir="/home/$SUDO_USER/My-distro-DI-configs/my-distro-devuan-32-pae"
# Execute the ISO building script # Execute the ISO building script
cd ${WorkingDir} cd ${WorkingDir}
./build.sh ./build.sh 2>&1 | tee /tmp/build_log.txt
# Move and rename the ISO file # Move and rename the ISO file
cd build cd build
@ -38,8 +38,9 @@ mv ${FileName}-${TODAY}.iso ${LOCATION}
mv ${FileName}-${TODAY}-sha512.checksum ${LOCATION} mv ${FileName}-${TODAY}-sha512.checksum ${LOCATION}
# Move the log file to the log directory (if it exists) # Move the log file to the log directory (if it exists)
if [ -f /tmp/${PREFIX}${SUFFIX}.out ]; then if [ -f /tmp/build_log.txt ]; then
mv /tmp/${PREFIX}${SUFFIX}.out ${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log LogFileName="${PREFIX}-${SUFFIX}-${BUILD}.log"
mv /tmp/build_log.txt ${LogDir}/${LogFileName}
fi fi
# Clean the build folder # Clean the build folder

View File

@ -19,7 +19,7 @@ WorkingDir="/home/$SUDO_USER/My-distro-DI-configs/my-distro-devuan-32"
# Execute the ISO building script # Execute the ISO building script
cd ${WorkingDir} cd ${WorkingDir}
./build.sh ./build.sh 2>&1 | tee /tmp/build_log.txt
# Move and rename the ISO file # Move and rename the ISO file
cd build cd build
@ -38,8 +38,9 @@ mv ${FileName}-${TODAY}.iso ${LOCATION}
mv ${FileName}-${TODAY}-sha512.checksum ${LOCATION} mv ${FileName}-${TODAY}-sha512.checksum ${LOCATION}
# Move the log file to the log directory (if it exists) # Move the log file to the log directory (if it exists)
if [ -f /tmp/${PREFIX}${SUFFIX}.out ]; then if [ -f /tmp/build_log.txt ]; then
mv /tmp/${PREFIX}${SUFFIX}.out ${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log LogFileName="${PREFIX}-${SUFFIX}-${BUILD}.log"
mv /tmp/build_log.txt ${LogDir}/${LogFileName}
fi fi
# Clean the build folder # Clean the build folder

View File

@ -19,7 +19,7 @@ WorkingDir="/home/$SUDO_USER/My-distro-DI-configs/my-distro-devuan-64"
# Execute the ISO building script # Execute the ISO building script
cd ${WorkingDir} cd ${WorkingDir}
./build.sh ./build.sh 2>&1 | tee /tmp/build_log.txt
# Move and rename the ISO file # Move and rename the ISO file
cd build cd build
@ -38,8 +38,9 @@ mv ${FileName}-${TODAY}.iso ${LOCATION}
mv ${FileName}-${TODAY}-sha512.checksum ${LOCATION} mv ${FileName}-${TODAY}-sha512.checksum ${LOCATION}
# Move the log file to the log directory (if it exists) # Move the log file to the log directory (if it exists)
if [ -f /tmp/${PREFIX}${SUFFIX}.out ]; then if [ -f /tmp/build_log.txt ]; then
mv /tmp/${PREFIX}${SUFFIX}.out ${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log LogFileName="${PREFIX}-${SUFFIX}-${BUILD}.log"
mv /tmp/build_log.txt ${LogDir}/${LogFileName}
fi fi
# Clean the build folder # Clean the build folder