diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-03-22 09:37:43 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-06-19 16:50:37 +0200 |
commit | fa1a842a1b64a7e72959403c36bd3b22e9f2b7f1 (patch) | |
tree | 9fc21b97a78a950163ae11f3e79cf49063b2de20 /.github/containers/bionic | |
parent | 662676e3b8bf06d365e4906c1979e188125906da (diff) | |
download | tigervnc-fa1a842a1b64a7e72959403c36bd3b22e9f2b7f1.tar.gz tigervnc-fa1a842a1b64a7e72959403c36bd3b22e9f2b7f1.zip |
Remove Ubuntu 18.04 packaging
Ubuntu 18.04 has been EOL for almost a year, so remove those packages so
we can ease our maintenance burden.
Diffstat (limited to '.github/containers/bionic')
-rw-r--r-- | .github/containers/bionic/Dockerfile | 13 | ||||
-rwxr-xr-x | .github/containers/bionic/build.sh | 59 |
2 files changed, 0 insertions, 72 deletions
diff --git a/.github/containers/bionic/Dockerfile b/.github/containers/bionic/Dockerfile deleted file mode 100644 index b3908371..00000000 --- a/.github/containers/bionic/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -FROM ubuntu:bionic - -ARG DEBIAN_FRONTEND=noninteractive - -RUN apt-get update -RUN apt-get -y install packaging-dev equivs - -RUN useradd -s /bin/bash -m deb -RUN echo >> /etc/sudoers -RUN echo "deb ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers - -USER deb -WORKDIR /home/deb diff --git a/.github/containers/bionic/build.sh b/.github/containers/bionic/build.sh deleted file mode 100755 index 63dcf9b7..00000000 --- a/.github/containers/bionic/build.sh +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/bash - -set -e -set -x - -## Basic variables - -CURDIR=$(dirname $(readlink -f $0)) -TOPDIR=$(git rev-parse --show-toplevel 2>/dev/null) - -DEBDIR=${TOPDIR}/contrib/packages/deb/ubuntu-bionic - -VERSION=$(grep '^set(VERSION ' ${TOPDIR}/CMakeLists.txt | sed 's@^set(VERSION \(.*\))@\1@') - -## Prepare the build directory - -rm -rf ${CURDIR}/build -mkdir -p ${CURDIR}/build -chmod a+w ${CURDIR}/build -[ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled && chcon -Rt container_file_t ${CURDIR}/build - -## Copy over the source code - -(cd ${TOPDIR} && git archive --prefix tigervnc-${VERSION}/ HEAD) | xz > ${CURDIR}/build/tigervnc_${VERSION}.orig.tar.xz - -## Copy over the packaging files - -cp -r ${DEBDIR}/debian ${CURDIR}/build/debian - -chmod a+x ${CURDIR}/build/debian/rules - -# Assemble a fake changelog entry to get the correct version - -cat - > ${CURDIR}/build/debian/changelog << EOT -tigervnc (${VERSION}-1ubuntu1) UNRELEASED; urgency=low - - * Automated build for TigerVNC - - -- Build bot <tigervncbot@tigervnc.org> $(date -R) - -EOT -cat ${DEBDIR}/debian/changelog >> ${CURDIR}/build/debian/changelog - -## Start the build - -docker run --volume ${CURDIR}/build:/home/deb/build --interactive --rm tigervnc/${DOCKER} \ - bash -e -x -c " - tar -C ~/build -axf ~/build/tigervnc_${VERSION}.orig.tar.xz - cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian - sudo apt-get update - mk-build-deps ~/build/tigervnc-${VERSION}/debian/control - sudo DEBIAN_FRONTEND=noninteractive \ - apt-get install -y ~/tigervnc-build-deps_*.deb - cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage - " - -mkdir -p ${CURDIR}/result -cp -av ${CURDIR}/build/*.deb ${CURDIR}/result -cp -av ${CURDIR}/build/*.ddeb ${CURDIR}/result |