idk
This commit is contained in:
parent
5add379907
commit
dc0b2a79ae
3
.github/workflows/gen-apt-config.yml
vendored
3
.github/workflows/gen-apt-config.yml
vendored
@ -15,6 +15,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- 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
|
- name: Update apt cache
|
||||||
run: apt-get update -y
|
run: apt-get update -y
|
||||||
|
|
||||||
|
@ -10,4 +10,6 @@ RUN apt update
|
|||||||
RUN apt full-upgrade -y
|
RUN apt full-upgrade -y
|
||||||
RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
|
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 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"
|
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"
|
||||||
|
@ -5,7 +5,7 @@ import apt_pkg
|
|||||||
import apt
|
import apt
|
||||||
import json
|
import json
|
||||||
|
|
||||||
_APT_CONFIG_PIN="""Package: {PACKAGES}
|
_APT_CONFIG_PIN="""Package:{PACKAGES}
|
||||||
Pin: release a=experimental
|
Pin: release a=experimental
|
||||||
Pin-Priority: 500
|
Pin-Priority: 500
|
||||||
"""
|
"""
|
||||||
@ -33,6 +33,7 @@ for file in srcnames_files:
|
|||||||
bins = srcrecords.binaries
|
bins = srcrecords.binaries
|
||||||
for bin in bins:
|
for bin in bins:
|
||||||
pkgname_lines.append(bin)
|
pkgname_lines.append(bin)
|
||||||
|
pkgname_lines.append(bin + "t64")
|
||||||
file.close()
|
file.close()
|
||||||
|
|
||||||
with open (current_path + "/package_pkgnames_overrides") as file:
|
with open (current_path + "/package_pkgnames_overrides") as file:
|
||||||
@ -52,8 +53,7 @@ pkg_data = {
|
|||||||
apt_pin_packages = ""
|
apt_pin_packages = ""
|
||||||
|
|
||||||
for pkg in pkgname_lines:
|
for pkg in pkgname_lines:
|
||||||
apt_pin_packages += (pkg + " ")
|
apt_pin_packages += (" " + pkg)
|
||||||
apt_pin_packages += (pkg + "t64 ")
|
|
||||||
|
|
||||||
silentremove("0-debian-exp-overrides")
|
silentremove("0-debian-exp-overrides")
|
||||||
with open("0-debian-exp-overrides", "w") as file:
|
with open("0-debian-exp-overrides", "w") as file:
|
||||||
|
Loading…
Reference in New Issue
Block a user