This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
generated from PikaOS-Linux/pika-pkg-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4cf7579
commit 2029712
Showing
13 changed files
with
149 additions
and
111 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
Source: upstream-name | ||
Source: pika-pbuilder | ||
Section: admin | ||
Priority: optional | ||
Maintainer: name <email> | ||
Standards-Version: 4.6.1 | ||
Build-Depends: debhelper-compat (= 13) | ||
Rules-Requires-Root: no | ||
|
||
Package: pkgname1 | ||
Architecture: linux-any | ||
# Delete any of these lines if un-used | ||
Depends: ${misc:Depends}, depends | ||
Recommends: high priority optdepends | ||
Conflicts: conflicts | ||
Suggests: low priority optdepends | ||
Breaks: also conflicts!? | ||
Provides: provides | ||
# | ||
Description: pkgdesc | ||
Package: pika-pbuilder | ||
Architecture: all | ||
Depends: ${misc:Depends}, pbuilder, debootstrap, devscripts, debhelper, sbuild, debhelper | ||
Description: pika pbuilder setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
usr | ||
etc | ||
var |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
USENETWORK=yes | ||
HOOKDIR="/var/cache/pbuilder/hook.d/" | ||
APTCACHEHARDLINK=no | ||
export DEBIAN_FRONTEND="noninteractive" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#! /bin/bash | ||
DIST=sid ARCH=amd64 pbuilder build "$@" --distribution sid --architecture amd64 --debootstrapopts --include=ca-certificates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#! /bin/bash | ||
DIST=sid ARCH=amd64 pbuilder create --distribution sid --architecture amd64 --debootstrapopts --include=ca-certificates "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#! /bin/bash | ||
DIST=sid ARCH=i386 pbuilder build "$@" --distribution sid --architecture i386 --debootstrapopts --include=ca-certificates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#! /bin/bash | ||
DIST=sid ARCH=i386 pbuilder create --distribution sid --architecture i386 --debootstrapopts --include=ca-certificates "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
#! /bin/bash | ||
|
||
mkdir -p /etc/apt/sources.list.d | ||
|
||
# Clear /etc/apt/sources.list in favor of deb822 formats | ||
tee /etc/apt/sources.list <<'EOF' | ||
## This file is deprecated in PikaOS. | ||
## See /etc/apt/sources.list.d/system.sources. | ||
EOF | ||
|
||
# Add Debian Repo | ||
touch /etc/apt/sources.list.d/debian.sources | ||
tee /etc/apt/sources.list.d/debian.sources <<'EOF' | ||
X-Repolib-Name: Debian Sources | ||
Enabled: yes | ||
Types: deb deb-src | ||
URIs: http://deb.debian.org/debian | ||
Suites: sid experimental | ||
Components: main contrib non-free non-free-firmware | ||
X-Repolib-Default-Mirror: http://deb.debian.org/debian | ||
Signed-by: /usr/share/keyrings/debian-archive-keyring.gpg | ||
EOF | ||
|
||
# Add Pika Repos | ||
# tee /etc/apt/sources.list.d/system.sources <<'EOF' | ||
# X-Repolib-Name: PikaOS System Sources | ||
# Enabled: yes | ||
# Types: deb | ||
# URIs: https://ppa.pika-os.com/ | ||
# Suites: pikauwu | ||
# Components: main amdgpu rocm | ||
# X-Repolib-ID: system | ||
# X-Repolib-Default-Mirror: https://ppa.pika-os.com/ | ||
# Signed-By: /etc/apt/keyrings/pika-keyring.gpg.key | ||
# EOF | ||
|
||
# Add DMO Repos | ||
tee /etc/apt/sources.list.d/dmo.sources <<'EOF' | ||
X-Repolib-Name: Multimedia Sources | ||
Enabled: yes | ||
Types: deb deb-src | ||
URIs: https://www.deb-multimedia.org | ||
Suites: sid | ||
Components: main non-free | ||
X-Repolib-Default-Mirror: https://www.deb-multimedia.org/ | ||
Signed-By: /etc/apt/keyrings/deb-multimedia-keyring.gpg | ||
EOF | ||
|
||
# Add Neon Src | ||
tee /etc/apt/sources.list.d/neon.sources <<'EOF' | ||
X-Repolib-Name: KDE Neon Sources | ||
Enabled: yes | ||
Types: deb-src | ||
URIs: http://archive.neon.kde.org/user/ | ||
Suites: jammy | ||
Components: main | ||
X-Repolib-Default-Mirror: http://archive.neon.kde.org/user/ | ||
Signed-By: /etc/apt/keyrings/kde-neon-keyring.gpg.key | ||
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 | ||
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/deb-multimedia-keyring.gpg -O /etc/apt/keyrings/deb-multimedia-keyring.gpg | ||
wget https://github.com/PikaOS-Linux/pika-base-debian-container/raw/main/kde-neon-keyring.gpg.key -O /etc/apt/keyrings/kde-neon-keyring.gpg.key | ||
|
||
# Setup apt configration | ||
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* | ||
Pin: release a=experimental | ||
Pin-Priority: 100 | ||
Package: *selinux* | ||
Pin: release a=experimental | ||
Pin-Priority: 100 | ||
# Lower Debians's priority under pika's | ||
Package: * | ||
Pin: release a=experimental | ||
Pin-Priority: 400 | ||
Package: * | ||
Pin: release o=Debian | ||
Pin-Priority: 400 | ||
Package: * | ||
Pin: release o=Unofficial Multimedia Packages | ||
Pin-Priority: 400 | ||
# Neon blacklist | ||
Package: neon-desktop base-files | ||
Pin: origin archive.neon.kde.org | ||
Pin-Priority: -1 | ||
# Give pika lowest priority because we don't want it sources overwriting | ||
Package: * | ||
Pin: release a=pikauwu,c=main | ||
Pin-Priority: 390 | ||
EOF | ||
|
||
tee /etc/apt/preferences.d/1-pika-radeon-settings <<'EOF' | ||
Package: libhsa-runtime64* | ||
Pin: release o=Debian | ||
Pin-Priority: 100 | ||
Package: hipcc* | ||
Pin: release o=Debian | ||
Pin-Priority: 100 | ||
Package: rocm* | ||
Pin: release o=Debian | ||
Pin-Priority: 100 | ||
Package: * | ||
Pin: release c=rocm | ||
Pin-Priority: 400 | ||
Package: amdgpu-core amdgpu-pro-core amdgpu-dkms amdgpu-pro-lib32 | ||
Pin: release a=* | ||
Pin-Priority: -10 | ||
EOF |