]> source.dussan.org Git - tigervnc.git/commitdiff
Don't prompt when installing dependencies
authorPierre Ossman <ossman@cendio.se>
Thu, 30 Mar 2023 12:43:30 +0000 (14:43 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 31 Mar 2023 08:30:22 +0000 (10:30 +0200)
This is fully automated, so we can't let anything wait for user input or
the job will just hang.

.github/containers/bionic/build.sh
.github/containers/focal/build.sh
.github/containers/jammy/build.sh

index a170cc35aabf7a29aae63a68d8518212f7eda3a8..2a3dd32a773dfcb8366d7fd866e737e4240b8ce8 100755 (executable)
@@ -49,7 +49,8 @@ docker run --volume ${CURDIR}/build:/home/deb/build --interactive --rm tigervnc/
        cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian
        sudo apt-get update
        mk-build-deps ~/build/tigervnc-${VERSION}/debian/control
-       sudo apt-get install -y ~/tigervnc-build-deps_*.deb
+       sudo DEBIAN_FRONTEND=noninteractive \
+           apt-get install -y ~/tigervnc-build-deps_*.deb
        cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage
        "
 
index 7bf0f18679bd5c89349ec1e1096b1ab65e090f02..df1b6e2c77137a5c52bc3536c3c0daea9952160b 100755 (executable)
@@ -49,7 +49,8 @@ docker run --volume ${CURDIR}/build:/home/deb/build --interactive --rm tigervnc/
        cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian
        sudo apt-get update
        mk-build-deps ~/build/tigervnc-${VERSION}/debian/control
-       sudo apt-get install -y ~/tigervnc-build-deps_*.deb
+       sudo DEBIAN_FRONTEND=noninteractive \
+           apt-get install -y ~/tigervnc-build-deps_*.deb
        cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage
        "
 
index dc0722ef956c400ad6fd4a0adb6e373268aa68e0..8ba387e9835ba3a4ea26ac7969d916c8803ebd31 100755 (executable)
@@ -49,7 +49,8 @@ docker run --volume ${CURDIR}/build:/home/deb/build --interactive --rm tigervnc/
        cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian
        sudo apt-get update
        mk-build-deps ~/build/tigervnc-${VERSION}/debian/control
-       sudo apt-get install -y ~/tigervnc-build-deps_*.deb
+       sudo DEBIAN_FRONTEND=noninteractive \
+           apt-get install -y ~/tigervnc-build-deps_*.deb
        cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage
        "