From dc0b2a79ae3347b8eb979a3ae671301583b2c78c Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Mon, 15 Jul 2024 15:52:25 +0300 Subject: [PATCH] idk --- .github/workflows/gen-apt-config.yml | 3 +++ Dockerfile | 2 ++ gen-apt-config.py | 6 +++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gen-apt-config.yml b/.github/workflows/gen-apt-config.yml index 4d1a03d..a70eff1 100644 --- a/.github/workflows/gen-apt-config.yml +++ b/.github/workflows/gen-apt-config.yml @@ -15,6 +15,9 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Update apt cache + run: echo -e "Package: *\nPin: release a=experimental\nPin-Priority: 600" > /etc/apt/preferences.d/0-pika-debian-settings + - name: Update apt cache run: apt-get update -y diff --git a/Dockerfile b/Dockerfile index 9d6d6a6..0705bbe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,6 @@ RUN apt update RUN apt full-upgrade -y RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime RUN wget https://ppa.pika-os.com/pool/main/p/pika-pbuilder/pika-pbuilder_0.2.15-101pika1_all.deb +RUN apt policy libqt5core5t64 +RUN apt policy libqt5test5t64 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata software-properties-common sudo devscripts git eatmydata bc cowbuilder gpg gpg-agent bison build-essential ccache cmake cpio fakeroot flex git kmod libelf-dev libncurses5-dev libssl-dev lz4 qtbase5-dev rsync schedtool wget zstd tar aptly devscripts dh-make rpm2cpio ./pika-pbuilder_0.2.15-101pika1_all.deb -o Dpkg::Options::="--force-confnew" diff --git a/gen-apt-config.py b/gen-apt-config.py index 831f716..9b03e3f 100755 --- a/gen-apt-config.py +++ b/gen-apt-config.py @@ -5,7 +5,7 @@ import apt_pkg import apt import json -_APT_CONFIG_PIN="""Package: {PACKAGES} +_APT_CONFIG_PIN="""Package:{PACKAGES} Pin: release a=experimental Pin-Priority: 500 """ @@ -33,6 +33,7 @@ for file in srcnames_files: bins = srcrecords.binaries for bin in bins: pkgname_lines.append(bin) + pkgname_lines.append(bin + "t64") file.close() with open (current_path + "/package_pkgnames_overrides") as file: @@ -52,8 +53,7 @@ pkg_data = { apt_pin_packages = "" for pkg in pkgname_lines: - apt_pin_packages += (pkg + " ") - apt_pin_packages += (pkg + "t64 ") + apt_pin_packages += (" " + pkg) silentremove("0-debian-exp-overrides") with open("0-debian-exp-overrides", "w") as file: