diff options
-rwxr-xr-x | .local/bin/autobuild.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/.local/bin/autobuild.sh b/.local/bin/autobuild.sh index d8026c6..5b76380 100755 --- a/.local/bin/autobuild.sh +++ b/.local/bin/autobuild.sh @@ -28,7 +28,6 @@ usage() { } main() { - set -x set -euE . "$(librelib messages)" setup_traps @@ -78,9 +77,6 @@ main() { # Get the ABSLibre tree cd "$WORKDIR/abslibre" env -i git reset --hard origin/master - ls -l /proc/self/ns/net - grep -H ^ /etc/resolv.conf - ping -c 1 git.parabola.nu gitget -f -p "$ABSLIBRESEND" checkout "$ABSLIBRERECV" "$WORKDIR/abslibre" if ! [[ -f "${WORKDIR}/abslibre/${package}/PKGBUILD" ]]; then die "package does not exist in abslibre.git: %s" "$package" @@ -119,7 +115,8 @@ main() { # Build the new package withtty sudo librechroot -n autobuilder -l root update withtty sudo librechroot -n autobuilder sync - withtty sudo libremakepkg -n autobuilder + # requires network access for communication with gpg servers + withtty sudo libremakepkg -n autobuilder -N librestage # Publish the updates |