diff options
author | Holger Paradies <retabell@gmx.de> | 2024-09-21 10:01:17 +0200 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2024-09-22 14:58:43 +0200 |
commit | 49d3cc1b8630d8a4513ce449bb2c658ec9cd70f9 (patch) | |
tree | ac8b7233e7fb8b7c37bb6686cc5659fe101272f7 | |
parent | 6e40895560f7680258feec65345ce9843e8fbd9b (diff) | |
download | kanotix-49d3cc1b8630d8a4513ce449bb2c658ec9cd70f9.zip kanotix-49d3cc1b8630d8a4513ce449bb2c658ec9cd70f9.tar.gz |
Create partial config log
This will check for download succes
If no succes the iso will be removed
via iso_check in nightly-build bash
TODO: filename in /tmp
-rwxr-xr-x | auto/config | 6 | ||||
-rwxr-xr-x | nightly_build.bash | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/auto/config b/auto/config index 28bdde7..e0fb4cd 100755 --- a/auto/config +++ b/auto/config @@ -201,7 +201,13 @@ lb config noauto --linux-packages "$LB_LINUX_PACKAGES" --linux-flavours "$LB_LIN # Fetch kanotix-scripts if necessary mkdir -p config/chroot_local-includes/usr/local/bin +echo "#KLB_config.log" > /tmp/KLB_config.log grep -oe '^[^ #]*' scripts.urls | wget -i- -N -q -P config/chroot_local-includes/usr/local/bin +if [ $? -ne 0 ]; then + echo "E: Script download failed..." >>/tmp/KLB_config.log +else + echo "Debug: Script download succes..." >>/tmp/KLB_config.log +fi chmod 755 config/chroot_local-includes/usr/local/bin/*sh || : case "$LB_DISTRIBUTION" in diff --git a/nightly_build.bash b/nightly_build.bash index 5ec6b00..25eae97 100755 --- a/nightly_build.bash +++ b/nightly_build.bash @@ -6,6 +6,10 @@ function check_iso { echo "K: Kanotix start iso check..." >>binary.log IERR=0 +if grep -q "^E: " /tmp/KLB_config.log; then + echo "K: Download ERROR found...1" >>binary.log + IERR=5 +fi if grep -q "^E: " binary.log; then echo "K: build ERROR found...1" >>binary.log IERR=1 |