From f1ec10528d799d986555463e739a11c450132db2 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Mon, 15 Jul 2024 15:41:11 +0300 Subject: [PATCH] --- Dockerfile | 1 - gen-apt-config.py | 6 ++++++ package_pkgnames_overrides | 1 + setup.sh | 6 +++--- 4 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 package_pkgnames_overrides diff --git a/Dockerfile b/Dockerfile index b15254a..9d6d6a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,5 +10,4 @@ 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 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 d714f66..c59c4c5 100755 --- a/gen-apt-config.py +++ b/gen-apt-config.py @@ -35,6 +35,12 @@ for file in srcnames_files: pkgname_lines.append(bin) file.close() +with open (current_path + "/package_srcnames/package_pkgnames_overrides") as file: + lines = file.readlines() + for line in lines: + pkgname_lines.append(line.strip()) + file.close() + src_data = { 'source_names': [source_name for source_name in srcname_lines], } diff --git a/package_pkgnames_overrides b/package_pkgnames_overrides new file mode 100644 index 0000000..f55efbd --- /dev/null +++ b/package_pkgnames_overrides @@ -0,0 +1 @@ +libqt5core5t64 \ No newline at end of file diff --git a/setup.sh b/setup.sh index 4b312f8..1fdfd50 100644 --- a/setup.sh +++ b/setup.sh @@ -55,9 +55,9 @@ wget https://github.com/PikaOS-Linux/pika-base-debian-container/raw/main/deb-mul mkdir -p /etc/apt/preferences.d/ tee /etc/apt/preferences.d/0-pika-debian-settings <<'EOF' # Blacklist Packages from being pulled from debian experimental -#Package: *libwebrtc-audio-processing* *selinux* -#Pin: release a=experimental -#Pin-Priority: -1 +Package: *libwebrtc-audio-processing* *selinux* +Pin: release a=experimental +Pin-Priority: -1 Package: * Pin: release o=Unofficial Multimedia Packages