update build scripts

This commit is contained in:
Manuel 2023-03-28 14:30:31 +00:00
parent e31fbeea1c
commit d607422155
6 changed files with 7 additions and 19 deletions

View File

@ -18,17 +18,15 @@ TODAY=$(date -u +"%Y-%m-%d") && export TODAY # If MasterBuilder.sh is used IT
FileName="${PREFIX}-${SUFFIX}" # This will give a uniquely named and dated ISO and checksum for <HouseKeeping>. FileName="${PREFIX}-${SUFFIX}" # This will give a uniquely named and dated ISO and checksum for <HouseKeeping>.
LOCATION=/var/www/html/${BUILD} # Tells <HouseKeeping> and the script which 2 files to remove and where to put them. LOCATION=/var/www/html/${BUILD} # Tells <HouseKeeping> and the script which 2 files to remove and where to put them.
LogDir=/var/log/Live-Build # This folder contains a log for the last $[PREFIX]-$[SUFFIX] build. LogDir=/var/log/Live-Build # This folder contains a log for the last $[PREFIX]-$[SUFFIX] build.
WorkingDir=~/pepadmin/PepMini/PepDeb32 #* If we change servers or locations T*H*I*S line is the O*N*L*Y line to change. * WorkingDir=/home/pepadmin/PepMini/PepDeb32 #* If we change servers or locations T*H*I*S line is the O*N*L*Y line to change. *
OutFile="/tmp/${PREFIX}${SUFFIX}.out" OutFile="/tmp/${PREFIX}${SUFFIX}.out"
LogFile="${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log" LogFile="${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log"
_cache="./cache" _cache="./cache"
_break=0 ; _wait=30 # Time (in seconds) to wait _break=0 ; _wait=30 # Time (in seconds) to wait
cd ${WorkingDir}/../
cd ${WorkingDir} cd ${WorkingDir}
# Run the build script. # Run the build script.
./pepbld.sh 2>&1 | tee -a ${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.

View File

@ -18,13 +18,11 @@ TODAY=$(date -u +"%Y-%m-%d") && export TODAY # If MasterBuilder.sh is used IT
FileName="${PREFIX}-${SUFFIX}" # This will give a uniquely named and dated ISO and checksum for <HouseKeeping>. FileName="${PREFIX}-${SUFFIX}" # This will give a uniquely named and dated ISO and checksum for <HouseKeeping>.
LOCATION=/var/www/html/${BUILD} # Tells <HouseKeeping> and the script which 2 files to remove and where to put them. LOCATION=/var/www/html/${BUILD} # Tells <HouseKeeping> and the script which 2 files to remove and where to put them.
LogDir=/var/log/Live-Build # This folder contains a log for the last $[PREFIX]-$[SUFFIX] build. LogDir=/var/log/Live-Build # This folder contains a log for the last $[PREFIX]-$[SUFFIX] build.
WorkingDir=~/pepadmin/PepMini/PepDeb64 # If we change servers or locations T*H*I*S line is the O*N*L*Y line to change. * WorkingDir=/home/pepadmin/PepMini/PepDeb64 # If we change servers or locations T*H*I*S line is the O*N*L*Y line to change. *
OutFile="/tmp/${PREFIX}${SUFFIX}.out" OutFile="/tmp/${PREFIX}${SUFFIX}.out"
LogFile="${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log" LogFile="${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log"
_cache="./cache" _cache="./cache"
_break=0 ; _wait=30 # Time (in seconds) to wait _break=0 ; _wait=30 # Time (in seconds) to wait
cd ${WorkingDir}/../
cd ${WorkingDir} cd ${WorkingDir}
# Run the build script. # Run the build script.

View File

@ -18,7 +18,7 @@ TODAY=$(date -u +"%Y-%m-%d") && export TODAY # If MasterBuilder.sh is used IT
FileName="${PREFIX}-${SUFFIX}" # This will give a uniquely named and dated ISO and checksum for <HouseKeeping>. FileName="${PREFIX}-${SUFFIX}" # This will give a uniquely named and dated ISO and checksum for <HouseKeeping>.
LOCATION=/var/www/html/${BUILD} # Tells <HouseKeeping> and the script which 2 files to remove and where to put them. LOCATION=/var/www/html/${BUILD} # Tells <HouseKeeping> and the script which 2 files to remove and where to put them.
LogDir=/var/log/Live-Build # This folder contains a log for the last $[PREFIX]-$[SUFFIX] build. LogDir=/var/log/Live-Build # This folder contains a log for the last $[PREFIX]-$[SUFFIX] build.
WorkingDir=~/pepadmin/PepMini/PepDeb_arm64 # If we change servers or locations T*H*I*S line is the O*N*L*Y line to change. * WorkingDir=/home/pepadmin/PepMini/PepDeb_arm64 # If we change servers or locations T*H*I*S line is the O*N*L*Y line to change. *
OutFile="/tmp/${PREFIX}${SUFFIX}.out" OutFile="/tmp/${PREFIX}${SUFFIX}.out"
LogFile="${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log" LogFile="${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log"
_cache="./cache" _cache="./cache"
@ -26,8 +26,6 @@ _break=0 ; _wait=30 # Time (in seconds) to wait
# Run the build script. # Run the build script.
./pepbld.sh 2>&1 | tee -a ${OutFile} ./pepbld.sh 2>&1 | tee -a ${OutFile}
cd ${WorkingDir}/../
cd ${WorkingDir} cd ${WorkingDir}
# Timing matters, don't destroy the old one without a replacement. # Timing matters, don't destroy the old one without a replacement.

View File

@ -18,13 +18,11 @@ TODAY=$(date -u +"%Y-%m-%d") && export TODAY # If MasterBuilder.sh is used IT
FileName="${PREFIX}-${SUFFIX}" # This will give a uniquely named and dated ISO and checksum for <HouseKeeping>. FileName="${PREFIX}-${SUFFIX}" # This will give a uniquely named and dated ISO and checksum for <HouseKeeping>.
LOCATION=/var/www/html/${BUILD} # Tells <HouseKeeping> and the script which 2 files to remove and where to put them. LOCATION=/var/www/html/${BUILD} # Tells <HouseKeeping> and the script which 2 files to remove and where to put them.
LogDir=/var/log/Live-Build # This folder contains a log for the last $[PREFIX]-$[SUFFIX] build. LogDir=/var/log/Live-Build # This folder contains a log for the last $[PREFIX]-$[SUFFIX] build.
WorkingDir=~/pepadmin/PepMini/PepDev32 # If we change servers or locations T*H*I*S line is the O*N*L*Y line to change. * WorkingDir=/home/pepadmin/PepMini/PepDev32 # If we change servers or locations T*H*I*S line is the O*N*L*Y line to change. *
OutFile="/tmp/${PREFIX}${SUFFIX}.out" OutFile="/tmp/${PREFIX}${SUFFIX}.out"
LogFile="${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log" LogFile="${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log"
_cache="./cache" _cache="./cache"
_break=0 ; _wait=30 # Time (in seconds) to wait _break=0 ; _wait=30 # Time (in seconds) to wait
cd ${WorkingDir}/../
cd ${WorkingDir} cd ${WorkingDir}
# Run the build script. # Run the build script.

View File

@ -18,7 +18,7 @@ TODAY=$(date -u +"%Y-%m-%d") && export TODAY # If MasterBuilder.sh is used IT
FileName="${PREFIX}-${SUFFIX}" # This will give a uniquely named and dated ISO and checksum for <HouseKeeping>. FileName="${PREFIX}-${SUFFIX}" # This will give a uniquely named and dated ISO and checksum for <HouseKeeping>.
LOCATION=/var/www/html/${BUILD} # Tells <HouseKeeping> and the script which 2 files to remove and where to put them. LOCATION=/var/www/html/${BUILD} # Tells <HouseKeeping> and the script which 2 files to remove and where to put them.
LogDir=/var/log/Live-Build # This folder contains a log for the last $[PREFIX]-$[SUFFIX] build. LogDir=/var/log/Live-Build # This folder contains a log for the last $[PREFIX]-$[SUFFIX] build.
WorkingDir=~/pepadmin/PepMini/PepDev64 # If we change servers or locations T*H*I*S line is the O*N*L*Y line to change. * WorkingDir=/home/pepadmin/PepMini/PepDev64 # If we change servers or locations T*H*I*S line is the O*N*L*Y line to change. *
OutFile="/tmp/${PREFIX}${SUFFIX}.out" OutFile="/tmp/${PREFIX}${SUFFIX}.out"
LogFile="${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log" LogFile="${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log"
_cache="./cache" _cache="./cache"
@ -26,8 +26,6 @@ _break=0 ; _wait=30 # Time (in seconds) to wait
# Run the build script. # Run the build script.
./pepbld.sh 2>&1 | tee -a ${OutFile} ./pepbld.sh 2>&1 | tee -a ${OutFile}
cd ${WorkingDir}/../
cd ${WorkingDir} cd ${WorkingDir}
# Timing matters, don't destroy the old one without a replacement. # Timing matters, don't destroy the old one without a replacement.

View File

@ -18,13 +18,11 @@ TODAY=$(date -u +"%Y-%m-%d") && export TODAY # If MasterBuilder.sh is used IT
FileName="${PREFIX}-${SUFFIX}" # This will give a uniquely named and dated ISO and checksum for <HouseKeeping>. FileName="${PREFIX}-${SUFFIX}" # This will give a uniquely named and dated ISO and checksum for <HouseKeeping>.
LOCATION=/var/www/html/${BUILD} # Tells <HouseKeeping> and the script which 2 files to remove and where to put them. LOCATION=/var/www/html/${BUILD} # Tells <HouseKeeping> and the script which 2 files to remove and where to put them.
LogDir=/var/log/Live-Build # This folder contains a log for the last $[PREFIX]-$[SUFFIX] build. LogDir=/var/log/Live-Build # This folder contains a log for the last $[PREFIX]-$[SUFFIX] build.
WorkingDir=~/pepadmin/PepMini/PepDev_arm64 # If we change servers or locations T*H*I*S line is the O*N*L*Y line to change. * WorkingDir=/home/pepadmin/PepMini/PepDev_arm64 # If we change servers or locations T*H*I*S line is the O*N*L*Y line to change. *
OutFile="/tmp/${PREFIX}${SUFFIX}.out" OutFile="/tmp/${PREFIX}${SUFFIX}.out"
LogFile="${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log" LogFile="${LogDir}/${PREFIX}-${SUFFIX}-${BUILD}.log"
_cache="./cache" _cache="./cache"
_break=0 ; _wait=30 # Time (in seconds) to wait _break=0 ; _wait=30 # Time (in seconds) to wait
cd ${WorkingDir}/../
cd ${WorkingDir} cd ${WorkingDir}
# Run the build script. # Run the build script.