This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2024-03-30 17:09:23 +03:00 committed by GitHub
parent 3da0d1eb84
commit 4cd17487b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 17 deletions

View File

@ -9,5 +9,5 @@ RUN ./setup.sh
RUN apt update 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.3-101pika1_all.deb RUN wget https://ppa.pika-os.com/pool/main/p/pika-pbuilder/pika-pbuilder_0.2.4-101pika1_all.deb
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata software-properties-common sudo git bc 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.3-101pika1_all.deb -o Dpkg::Options::="--force-confnew" RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata software-properties-common sudo git bc 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.3-101pika1_all.deb -o Dpkg::Options::="--force-confnew"

View File

@ -1,4 +1,5 @@
#! /bin/bash #! /bin/bash
mkdir -p /etc/apt/sources.list.d mkdir -p /etc/apt/sources.list.d
# Clear /etc/apt/sources.list in favor of deb822 formats # Clear /etc/apt/sources.list in favor of deb822 formats
@ -21,17 +22,17 @@ Signed-by: /usr/share/keyrings/debian-archive-keyring.gpg
EOF EOF
# Add Pika Repos # Add Pika Repos
# tee /etc/apt/sources.list.d/system.sources <<'EOF' tee /etc/apt/sources.list.d/system.sources <<'EOF'
# X-Repolib-Name: PikaOS System Sources X-Repolib-Name: PikaOS System Sources
# Enabled: yes Enabled: yes
# Types: deb Types: deb
# URIs: https://ppa.pika-os.com/ URIs: https://ppa.pika-os.com/
# Suites: pikauwu Suites: pikauwu
# Components: main amdgpu rocm Components: canary
# X-Repolib-ID: system X-Repolib-ID: system
# X-Repolib-Default-Mirror: https://ppa.pika-os.com/ X-Repolib-Default-Mirror: https://ppa.pika-os.com/
# Signed-By: /etc/apt/keyrings/pika-keyring.gpg.key Signed-By: /etc/apt/keyrings/pika-keyring.gpg.key
# EOF EOF
# Add DMO Repos # Add DMO Repos
tee /etc/apt/sources.list.d/dmo.sources <<'EOF' tee /etc/apt/sources.list.d/dmo.sources <<'EOF'
@ -57,9 +58,6 @@ X-Repolib-Default-Mirror: http://archive.neon.kde.org/user/
Signed-By: /etc/apt/keyrings/kde-neon-keyring.gpg.key Signed-By: /etc/apt/keyrings/kde-neon-keyring.gpg.key
EOF EOF
# # Workarounds Repo
# echo "deb [trusted=yes] https://raw.githubusercontent.com/cosmicfusion/debian-workaround-packages-repo/main sid main" > /etc/apt/sources.list.d/cosmo-workarounds.list
# Get keyrings # Get keyrings
mkdir -p /etc/apt/keyrings/ mkdir -p /etc/apt/keyrings/
wget https://github.com/PikaOS-Linux/pika-base-debian-container/raw/main/pika-keyring.gpg.key -O /etc/apt/keyrings/pika-keyring.gpg.key wget https://github.com/PikaOS-Linux/pika-base-debian-container/raw/main/pika-keyring.gpg.key -O /etc/apt/keyrings/pika-keyring.gpg.key
@ -98,7 +96,7 @@ Pin-Priority: -1
# Give pika lowest priority because we don't want it sources overwriting # Give pika lowest priority because we don't want it sources overwriting
Package: * Package: *
Pin: release a=pikauwu,c=main Pin: release a=pikauwu,c=canary
Pin-Priority: 390 Pin-Priority: 390
EOF EOF
@ -122,4 +120,4 @@ Pin-Priority: 400
Package: amdgpu-core amdgpu-pro-core amdgpu-dkms amdgpu-pro-lib32 Package: amdgpu-core amdgpu-pro-core amdgpu-dkms amdgpu-pro-lib32
Pin: release a=* Pin: release a=*
Pin-Priority: -10 Pin-Priority: -10
EOF EOF