Skip to content

Commit

Permalink
pkg: use logbuch tools in doit.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wagner-intevation committed Aug 21, 2024
1 parent 00fba05 commit d36e6b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/build-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ fi
cat >doit.sh<< EOF
cd /build-pkg
trap "chown -R \${HOST_UID}.\${HOST_UID} /build-pkg" EXIT
export DEBIAN_FRONTEND="noninteractive"
export LOGBUCH_BATCHMODE=yes
export LOGBUCH_HOST="IntelMQ Packaging Jammy Docker Image"
export EMAIL=doit.sh
set -e
Expand All @@ -115,7 +119,7 @@ for package in $IMQ_BUILD_PACKAGES ; do
fi
echo PWD \$(pwd)
echo Installing \$(dpkg-checkbuilddeps 2>&1 | sed -e 's/dpkg-checkbuilddeps:\serror:\sUnmet build dependencies: //g' -e 's/[\(][^)]*[\)] *//g')
DEBIAN_FRONTEND="noninteractive" apt-get install --yes \$(dpkg-checkbuilddeps 2>&1 | sed -e 's/dpkg-checkbuilddeps:\serror:\sUnmet build dependencies: //g' -e 's/[\(][^)]*[\)] *//g')
apt-install --yes \$(dpkg-checkbuilddeps 2>&1 | sed -e 's/dpkg-checkbuilddeps:\serror:\sUnmet build dependencies: //g' -e 's/[\(][^)]*[\)] *//g')
dpkg-buildpackage -us -uc
cd ..
done
Expand Down

0 comments on commit d36e6b4

Please sign in to comment.