port to pika os 4
Some checks failed
PikaOS Package Build Only (Canary) (amd64-v3) / build (push) Failing after 21s
PikaOS Package Build Only (amd64-v3) / build (push) Failing after 1s
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Failing after 13s
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 0s
Some checks failed
PikaOS Package Build Only (Canary) (amd64-v3) / build (push) Failing after 21s
PikaOS Package Build Only (amd64-v3) / build (push) Failing after 1s
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Failing after 13s
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 0s
This commit is contained in:
parent
cb4d6f6434
commit
cce8430c0d
1
.github/build-canary-v3
vendored
Normal file
1
.github/build-canary-v3
vendored
Normal file
@ -0,0 +1 @@
|
||||
1
|
1
.github/build-nest-v3
vendored
Normal file
1
.github/build-nest-v3
vendored
Normal file
@ -0,0 +1 @@
|
||||
1
|
1
.github/release-canary-v3
vendored
Normal file
1
.github/release-canary-v3
vendored
Normal file
@ -0,0 +1 @@
|
||||
1
|
1
.github/release-nest-v3
vendored
Normal file
1
.github/release-nest-v3
vendored
Normal file
@ -0,0 +1 @@
|
||||
1
|
37
.github/workflows/build-canaryv3.yml
vendored
Normal file
37
.github/workflows/build-canaryv3.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
name: PikaOS Package Build Only (Canary) (amd64-v3)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/build-canary-v3'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ vars.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ vars.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
37
.github/workflows/build-nestv3.yml
vendored
Normal file
37
.github/workflows/build-nestv3.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
name: PikaOS Package Build Only (amd64-v3)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/build-nest-v3'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ vars.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ vars.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
40
.github/workflows/release-canaryv3.yml
vendored
Normal file
40
.github/workflows/release-canaryv3.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
name: PikaOS Package Build & Release (Canary) (amd64-v3)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/release-canary-v3'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ vars.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ vars.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
||||
|
||||
- name: Release Package
|
||||
run: ./release.sh
|
40
.github/workflows/release-nestv3.yml
vendored
Normal file
40
.github/workflows/release-nestv3.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
name: PikaOS Package Build & Release (amd64-v3)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/release-nest-v3'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ vars.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ vars.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
||||
|
||||
- name: Release Package
|
||||
run: ./release.sh
|
50
.github/workflows/release.yml
vendored
50
.github/workflows/release.yml
vendored
@ -1,50 +0,0 @@
|
||||
name: PikaOS Package Release
|
||||
|
||||
on:
|
||||
workflow_dispatch
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: self-hosted
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pika-package-container:latest
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Import GPG key
|
||||
id: import_gpg
|
||||
uses: crazy-max/ghaction-import-gpg@v5
|
||||
with:
|
||||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
passphrase: ${{ secrets.PASSPHRASE }}
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update apt cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
||||
|
||||
- name: Release Package
|
||||
run: ./release.sh
|
||||
|
||||
- name: Purge cache
|
||||
uses: strrife/cloudflare-chunked-purge-action@master
|
||||
env:
|
||||
# Zone is required by both authentication methods
|
||||
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
|
||||
|
||||
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
||||
PURGE_URLS: ${{ vars.PURGE_URLS }}
|
||||
|
@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
MIT License (With DPKG packaging compatibility)
|
||||
|
||||
Copyright (c) 2023 PikaOS
|
||||
Copyright (c) 2024 PikaOS
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
@ -19,3 +19,6 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
Notes:
|
||||
The files covered by this license are any files and directories in the root of this repository (including but not limited to: `main.sh`, `release.sh`, and `.github`), with the exception of the `debian` directory and its contents if `debian/copyright` exists, and declares any files or directories as a different LICENSE/COPYRIGHT.
|
||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
switcheroo-control (2.6-101pika1) pika; urgency=medium
|
||||
|
||||
* Update to PikaOS 4
|
||||
|
||||
-- Jeremy Bicha <jbicha@ubuntu.com> Wed, 24 Aug 2022 23:34:40 -0400
|
||||
|
||||
switcheroo-control (2.6-100pika1) pikauwu; urgency=medium
|
||||
|
||||
* Add nvidia-vaapi-driver integration patch
|
||||
|
41
debian/control.in
vendored
41
debian/control.in
vendored
@ -1,41 +0,0 @@
|
||||
Source: switcheroo-control
|
||||
Section: gnome
|
||||
Priority: optional
|
||||
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
|
||||
Uploaders: @GNOME_TEAM@
|
||||
Build-Depends: debhelper-compat (= 13),
|
||||
dh-sequence-gnome,
|
||||
gir1.2-umockdev-1.0,
|
||||
gtk-doc-tools,
|
||||
libglib2.0-dev,
|
||||
libgudev-1.0-dev,
|
||||
libudev-dev,
|
||||
meson (>= 0.50),
|
||||
pkg-config (>= 0.22),
|
||||
python3-gi,
|
||||
python3-dbus,
|
||||
python3-dbusmock,
|
||||
udev,
|
||||
umockdev,
|
||||
Standards-Version: 4.6.1
|
||||
Rules-Requires-Root: no
|
||||
Vcs-Browser: https://salsa.debian.org/gnome-team/switcheroo-control
|
||||
Vcs-Git: https://salsa.debian.org/gnome-team/switcheroo-control.git
|
||||
Homepage: https://github.com/hadess/switcheroo-control
|
||||
|
||||
Package: switcheroo-control
|
||||
Architecture: linux-any
|
||||
Depends: ${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
Description: D-Bus service to check the availability of dual-GPU
|
||||
For systems that have both an integrated GPU and a dedicated GPU, this
|
||||
package by default will force the integrated GPU to be used to save power.
|
||||
.
|
||||
You can launch individual apps using the dedicated GPU by running them
|
||||
with the environment variable DRI_PRIME=1. Or you can right-click on the
|
||||
app (while it's not running) in GNOME Shell's Activities Overview
|
||||
and choose the "Launch using Dedicated Graphics Card" option.
|
||||
.
|
||||
If this default behavior is not appropriate, uninstall this package or
|
||||
set xdg.force_integrated=0 as a kernel command-line option in your
|
||||
bootloader.
|
5
debian/gbp.conf
vendored
5
debian/gbp.conf
vendored
@ -1,5 +0,0 @@
|
||||
[DEFAULT]
|
||||
pristine-tar = True
|
||||
debian-branch = debian/master
|
||||
upstream-branch = upstream/latest
|
||||
upstream-vcs-tag = %(version)s
|
1
debian/patches/series
vendored
Executable file
1
debian/patches/series
vendored
Executable file
@ -0,0 +1 @@
|
||||
libva-nvidia.diff
|
2
debian/source/format
vendored
2
debian/source/format
vendored
@ -1 +1 @@
|
||||
3.0 (native)
|
||||
3.0 (quilt)
|
||||
|
2
debian/watch
vendored
2
debian/watch
vendored
@ -1,2 +0,0 @@
|
||||
version=4
|
||||
https://gitlab.freedesktop.org/hadess/switcheroo-control/-/tags?sort=updated_desc .*/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@
|
13
main.sh
13
main.sh
@ -1,18 +1,23 @@
|
||||
#! /bin/bash
|
||||
|
||||
DEBIAN_FRONTEND=noninteractive
|
||||
set -e
|
||||
|
||||
VERSION="2.6"
|
||||
|
||||
source ./pika-build-config.sh
|
||||
|
||||
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
||||
|
||||
# Clone Upstream
|
||||
git clone https://gitlab.freedesktop.org/hadess/switcheroo-control -b 2.6
|
||||
git clone https://gitlab.freedesktop.org/hadess/switcheroo-control -b "$VERSION"
|
||||
cp -rvf ./debian ./switcheroo-control/
|
||||
cd ./switcheroo-control
|
||||
|
||||
for i in ../patches/* ; do echo "Applying Patch: $i" && patch -Np1 -i $i || echo "Applying Patch $i Failed!"; done
|
||||
|
||||
# Get build deps
|
||||
apt-get build-dep ./ -y
|
||||
|
||||
# Build package
|
||||
LOGNAME=root dh_make --createorig -y -l -p switcheroo-control_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
||||
dpkg-buildpackage --no-sign
|
||||
|
||||
# Move the debs to output
|
||||
|
9
pika-build-config/amd64-v3.sh
Executable file
9
pika-build-config/amd64-v3.sh
Executable file
@ -0,0 +1,9 @@
|
||||
PIKA_BUILD_ARCH="amd64-v3"
|
||||
DEBIAN_FRONTEND="noninteractive"
|
||||
DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
DEB_BUILD_OPTIONS="nocheck notest terse"
|
||||
DPKG_GENSYMBOLS_CHECK_LEVEL=0
|
@ -0,0 +1,2 @@
|
||||
./etc
|
||||
./usr
|
224
pika-sources/debian/changelog
Normal file
224
pika-sources/debian/changelog
Normal file
@ -0,0 +1,224 @@
|
||||
pika-sources (7.2-101pika1) canary; urgency=low
|
||||
|
||||
* Fix pre depends
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (7.1-101pika1) canary; urgency=low
|
||||
|
||||
* Canary options
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (7.0-101pika1) canary; urgency=low
|
||||
|
||||
* PikaOS 4
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.8-100pika7) pikauwu; urgency=low
|
||||
|
||||
* Fix rocm mesa issues
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.8-100pika6) pikauwu; urgency=low
|
||||
|
||||
* Fix rocm mesa issues
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.8-100pika5) pikauwu; urgency=low
|
||||
|
||||
* Fix rocm mesa issues
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.8-100pika4) pikauwu; urgency=low
|
||||
|
||||
* Fix rocm mesa issues
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.8-99pika3) pikauwu; urgency=low
|
||||
|
||||
* Update to uwu
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.6-99pika1) pikauwu; urgency=low
|
||||
|
||||
* Update to uwu
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.5-99pika1-mantic) mantic; urgency=low
|
||||
|
||||
* Update to mantic
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.3-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* fix pins
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.2-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* no deb-src in our repos
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.1-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* Switch to internal repos
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.11-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* Fully purge kisak
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.10-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* Fix broken repo - last one
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.9-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* Fix broken repo
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.8-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* Add new mesa
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.3-99pika2-lunar) lunar; urgency=low
|
||||
|
||||
* AMD bad at versioning stuff
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.3-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* Update AMD repos
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.1-99pika1) kinetic; urgency=low
|
||||
|
||||
* Update AMD repos
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.0-99pika1) kinetic; urgency=low
|
||||
|
||||
* Update to lunar
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (4.0-99pika5) kinetic; urgency=low
|
||||
|
||||
* Link mirrors
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (4.0-99pika4) kinetic; urgency=high
|
||||
|
||||
* Fix steam breaking apt updates
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (4.0-99pika3) kinetic; urgency=low
|
||||
|
||||
* Link mirrors
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (4.0-99pika2) kinetic; urgency=low
|
||||
|
||||
* Add kubuntu ppa priority override
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (4.0-99pika1) kinetic; urgency=low
|
||||
|
||||
* Move to new repos
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (3.0-99pika18) kinetic; urgency=low
|
||||
|
||||
* Fix breakages
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (3.0-99pika17) kinetic; urgency=low
|
||||
|
||||
* Add sources fix script
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (3.0-99pika15) kinetic; urgency=low
|
||||
|
||||
* Move keys to /usr/share/keyrings
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (3.0-99pika14) kinetic; urgency=low
|
||||
|
||||
* Revert last commit
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (3.0-99pika13) kinetic; urgency=low
|
||||
|
||||
* Add update post scripts for ISO
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
|
||||
pika-sources (3.0-99pika12) kinetic; urgency=low
|
||||
|
||||
* Fix PPA priorities typo and add KDE-Backports
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (3.0-99pika11) kinetic; urgency=low
|
||||
|
||||
* Switch Steam Repos fix to systemd service
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
|
||||
pika-sources (3.0-99pika10) kinetic; urgency=low
|
||||
|
||||
* Steam Repos fix again
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
|
||||
pika-sources (1.0-99pika4) kinetic; urgency=low
|
||||
|
||||
* Steam Repos fix
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (1.0-99pika2) kinetic; urgency=low
|
||||
|
||||
* Change Steam GPG
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (1.0-99pika1) kinetic; urgency=low
|
||||
|
||||
* Initial Creation
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
17
pika-sources/debian/control
Normal file
17
pika-sources/debian/control
Normal file
@ -0,0 +1,17 @@
|
||||
Source: pika-sources
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Maintainer: Ward Nakchbandi <hotrod.master@hotmail.com>
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
Standards-Version: 4.6.1
|
||||
Homepage: https://github.com/PikaOS-Linux/
|
||||
|
||||
Package: pika-sources
|
||||
Section: misc
|
||||
Architecture: all
|
||||
Pre-Depends: python-apt-common, distro-info-data, systemd, udev, bash
|
||||
Depends: ${misc:Depends}, python-apt-common, distro-info-data, systemd, udev, bash
|
||||
Description: APT Source files and keyrings for the PikaOS Repositories
|
||||
|
||||
|
||||
|
2
pika-sources/debian/pika-sources.install
Normal file
2
pika-sources/debian/pika-sources.install
Normal file
@ -0,0 +1,2 @@
|
||||
etc
|
||||
usr
|
2
pika-sources/debian/pika-sources.links
Normal file
2
pika-sources/debian/pika-sources.links
Normal file
@ -0,0 +1,2 @@
|
||||
/etc/init.d/calamares-sources-undo /etc/rc2.d/S01calamares-sources-undo
|
||||
/etc/init.d/calamares-sources-undo /etc/rc3.d/S01calamares-sources-undo
|
31
pika-sources/debian/postinst
Executable file
31
pika-sources/debian/postinst
Executable file
@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf /etc/apt/sources.list.d/pika-* || true
|
||||
rm -rf /etc/apt/preferences.d/*pika* || true
|
||||
|
||||
rm -f /etc/apt/sources.list.d/amdgpu.sources || true
|
||||
rm -f /etc/apt/sources.list.d/amdvlk.sources || true
|
||||
rm -f /etc/apt/sources.list.d/xtradeb-apps.sources || true
|
||||
rm -f /etc/apt/sources.list.d/kubuntu-backports.sources || true
|
||||
rm -f /etc/apt/sources.list.d/mozillateam-ppa.sources || true
|
||||
rm -f /etc/apt/sources.list.d/rocm.sources || true
|
||||
rm -f /etc/apt/sources.list.d/steam.sources || true
|
||||
rm -f /etc/apt/sources.list.d/winehq.sources || true
|
||||
rm -f /etc/apt/sources.list.d/xtradeb-play.sources || true
|
||||
rm -f /etc/apt/preferences.d/0-pika-default-settings || true
|
||||
rm -f /etc/apt/preferences.d/51-ppa-default-settings || true
|
||||
rm -f /etc/apt/preferences.d/0-radeon-repo-settings || true
|
||||
rm -f /etc/apt/sources.list.d/kisak-mesa.sources || true
|
||||
|
||||
cp -rf /usr/share/apt-pika/apt /etc/ || true
|
||||
|
||||
systemctl enable --now steam-repos-fix.service || echo "steam-repos-fix service could not be enabled"
|
||||
|
||||
mkdir -p /usr/share || echo "Path already exists!"
|
||||
mkdir -p /usr/share/distro-info/ || echo "Path already exists!"
|
||||
ln -sf /usr/share/distro-info/ubuntu.csv /usr/share/distro-info/pika.csv || echo "Link already exists!"
|
||||
mkdir -p /usr/share/python-apt/templates/ || echo "Path already exists!"
|
||||
ln -sf /usr/share/python-apt/templates/Ubuntu.info /usr/share/python-apt/templates/Pika.info || echo "Link already exists!"
|
||||
ln -sf /usr/share/python-apt/templates/Ubuntu.mirrors /usr/share/python-apt/templates/Pika.mirrors || echo "Link already exists!"
|
5
pika-sources/debian/prerm
Executable file
5
pika-sources/debian/prerm
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
systemctl disable --now steam-repos-fix.service || echo "steam-repos-fix service could not be disabled"
|
6
pika-sources/debian/rules
Executable file
6
pika-sources/debian/rules
Executable file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export PIKA_BUILD_ARCH = $(shell cat pika-build-arch)
|
||||
|
||||
%:
|
||||
dh $@
|
1
pika-sources/debian/source/format
Normal file
1
pika-sources/debian/source/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
7
pika-sources/etc/init.d/calamares-sources-undo
Executable file
7
pika-sources/etc/init.d/calamares-sources-undo
Executable file
@ -0,0 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Undo the calamares sources modifactions
|
||||
|
||||
printf "## This file is deprecated in PikaOS.\n## See /etc/apt/sources.list.d/system.sources." | tee /etc/apt/sources.list > /dev/null
|
||||
|
||||
rm -rfv /etc/apt/sources.list.d/pika.list > /dev/null
|
8
pika-sources/etc/systemd/system/steam-repos-fix.service
Normal file
8
pika-sources/etc/systemd/system/steam-repos-fix.service
Normal file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Removes broken steam.list from apt.
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/bash -c "cp -rfv /usr/share/dpkg/scripts/steamdeps /usr/bin/ && rm -rf /etc/apt/sources.list.d/steam-stable.list || echo 'no stable steam repos' " && "rm -rf /etc/apt/sources.list.d/steam.list || echo 'no old steam repos' " && "rm -rf /etc/apt/sources.list.d/steam-beta.list || echo 'no steam beta repos' " && /usr/bin/bash -c "rm -rf /etc/apt/sources.list.d/pika.list || echo 'no pika iso repos' "
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,2 @@
|
||||
DPkg::Pre-Install-Pkgs {"/usr/share/dpkg/scripts/steam-launcher.sh pre";};
|
||||
DPkg::Post-Invoke {"/usr/share/dpkg/scripts/steam-launcher.sh post";};
|
@ -0,0 +1,30 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQENBGPJoigBCADZ8tDzkO2LlWIzXZLLyRLIaRnaNHG6P9xx0ABSFsqU+X+p9qDS
|
||||
eQW6SmeCN+PauqAHlzrJ7p3XZi07E+h69PEk5R5n7qhVECW35Y1sB9EfC2nqVRxd
|
||||
RcWtwQsipEHQmjvWIsD4hR5uhq62p7grSkQxv13SGLqyJkKIpkic2vZEgqubfZd4
|
||||
KLPFvaQZar6QWa3urfYnUZzc1TNkEYxghr/dQuCFSfYPM+yHT70MXrlPOgfslGgL
|
||||
YtoN1YauF04wzAg1RFfrWX2AdHE792fVHrkHRsvQg1Pvw4KjPnM6jX2V8W8n7C++
|
||||
yxpiMUU2h9FqBWfHrqNLWtKdn6+lgHUq2Oj3ABEBAAG0IWZlcnJlbyA8aGFyZGVy
|
||||
dGhhbmZpcmVAZ21haWwuY29tPokBTgQTAQoAOBYhBIvETfAmQkhf8fPMBKt4xg37
|
||||
WBYDBQJjyaIoAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEKt4xg37WBYD
|
||||
4/oH/2LRW4FwLHCsWeJfRx5Z7BwKrGqWIF2VujkvEjlFOGYO7aN5HxeX/QKeN+Wy
|
||||
901hv4CO7T7aSye0qjaYz0I6ZUmr9CaINdXTH7fok3CXQYBfluaLiyxMPSm+Fe5o
|
||||
vfiUiSMZ488uaUkFSww/TEP8wi5H02yqGJcx3yB54OTsVb8eUHLPXno0T4tooWvX
|
||||
EOMUKkpj3tEylJoqL5d2iz2ZrkMdX9tVXOkKY3iJD2El0TPITrTIuRuurqzc4CWU
|
||||
laV7bmZ1Mq5r21S7ISOhhzvEMwsiWylIFXmXNPvbU7DC43uT3+nKhBca8VESzvmu
|
||||
r7zC6CcQAR5IVHMjd8weFfrnGXm5AQ0EY8miKAEIALnnC+U4gx0m0yLEVOHBoccb
|
||||
T7CvhmBYer2shxe5o7zUZ5V4y1iJdzSSJksbQkZH4+JDwi7Hp3/lqI2EsxQ9TR+A
|
||||
OdRvETfz88aK/e2vJ0j7Bt3Dr0u0mgoo9kSx6rLq1oH9Nha9ReOljmEfDtuINR86
|
||||
QGEd8PyvNDcUap+6QQa6/RBEDiH1zYBYtxv4rbuciKsh+e6r6C8TJb43nKr3YBGu
|
||||
/GE1aDlGaKvFgUOZmaapgoQVdpXcg7ZtTpI8sNKdnLVEChIKk35n52XfQDZPVvAt
|
||||
bsUIr77B4hi+GsjGli7ihr+JJEiHwOyCMZvV95ZWq2ThrXxRWA8mHqCLhz7oTV8A
|
||||
EQEAAYkBNgQYAQoAIBYhBIvETfAmQkhf8fPMBKt4xg37WBYDBQJjyaIoAhsMAAoJ
|
||||
EKt4xg37WBYDdwAIAI3yJwOa6P6wz3ddLt/4FTlCSnlJ8C904RDwtJEO/C/y9qZv
|
||||
yE0qitUi7mntzYE6G7SES3Zn6b9HhdTS9kQv6VUg75TjD/WGPVju5cB11mte95Z9
|
||||
6iW5u65kxpawxiTUhaO+O4RO6fZ29rZyCQDfa7ESudkVE/yktAA5umnAbGpgxGa6
|
||||
8egCGiZ0LKUqcHxMAsoUUhlOTk3LR4yS6nKE1Q8Dr6E7NYlrWcoGDSQzKvXLqf8e
|
||||
9eJLGckePwHDzhgO9LKGW3meTV6ldLehTsxm/ycHqXL7/wYjYy6ZXj/5Px3CGLPg
|
||||
DH9mVj8ERsz096eQA+53gmcTsNtq/FLWS2MhtCc=
|
||||
=+26V
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
@ -0,0 +1,26 @@
|
||||
# Lower nest's priority under cockatiel's
|
||||
Package: *
|
||||
Pin: release a=pika,c=nest
|
||||
Pin-Priority: 450
|
||||
|
||||
# Lower raven's priority under cockatiel's
|
||||
Package: *
|
||||
Pin: release a=pika,c=raven
|
||||
Pin-Priority: 450
|
||||
|
||||
# Lower pigeon's priority under cockatiel's
|
||||
Package: *
|
||||
Pin: release a=pika,c=pigeon
|
||||
Pin-Priority: 450
|
||||
|
||||
|
||||
# Lower parrot's priority under cockatiel's
|
||||
Package: *
|
||||
Pin: release a=pika,c=parrot
|
||||
Pin-Priority: 450
|
||||
|
||||
# Put canary's priority over nest and under cockatiel's
|
||||
Package: *
|
||||
Pin: release a=pika,c=canary
|
||||
Pin-Priority: 451
|
||||
|
@ -0,0 +1,14 @@
|
||||
# Blacklist ROCm from nest
|
||||
Package: libhsa-runtime64* hipcc* rocm*
|
||||
Pin: release a=pika,c=nest
|
||||
Pin-Priority: 100
|
||||
|
||||
# Blacklist intel mesa from raven
|
||||
Package: libglvnd0 libegl1 libegl-dev libglx0 libglx-dev libgl1 libgl-dev libglvnd-core-dev libgles1 libgles2 libgles-dev libglvnd-dev libopengl0 libopengl-dev libxatracker2 libgbm1 libgbm-dev *mesa*
|
||||
Pin: release a=pika,c=raven
|
||||
Pin-Priority: -10
|
||||
|
||||
# Blacklist dangerous amdgpu-pro packages
|
||||
Package: amdgpu-core amdgpu-pro-core amdgpu-dkms amdgpu-pro-lib32
|
||||
Pin: release a=*
|
||||
Pin-Priority: -10
|
2
pika-sources/usr/share/apt-pika/apt/sources.list
Normal file
2
pika-sources/usr/share/apt-pika/apt/sources.list
Normal file
@ -0,0 +1,2 @@
|
||||
## This file is deprecated in PikaOS.
|
||||
## See `man deb822` and /etc/apt/sources.list.d/system.sources.
|
@ -0,0 +1,9 @@
|
||||
X-Repolib-Name: PikaOS System Sources
|
||||
Enabled: yes
|
||||
Types: deb
|
||||
URIs: https://ppa.pika-os.com/
|
||||
Suites: pika
|
||||
Components: nest raven parrot cockatiel pigeon
|
||||
X-Repolib-ID: system
|
||||
X-Repolib-Default-Mirror: https://ppa.pika-os.com/
|
||||
Signed-By: /etc/apt/keyrings/pika-keyring.gpg.key
|
26
pika-sources/usr/share/dpkg/scripts/steam-launcher.sh
Executable file
26
pika-sources/usr/share/dpkg/scripts/steam-launcher.sh
Executable file
@ -0,0 +1,26 @@
|
||||
#! /bin/bash
|
||||
|
||||
if [[ $1 == pre ]]
|
||||
then
|
||||
if grep -q steam-launcher
|
||||
then
|
||||
mkdir -p /var/lib/apt/hooks
|
||||
touch /var/lib/apt/hooks/steam-launcher
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $1 == post ]]
|
||||
then
|
||||
if [[ -f /var/lib/apt/hooks/steam-launcher ]]
|
||||
then
|
||||
rm -rf /etc/apt/sources.list.d/steam-stable.list || echo 'no stable steam repos'
|
||||
rm -rf /etc/apt/sources.list.d/steam.list || echo 'no steam repos'
|
||||
rm -rf /var/lib/apt/hooks/steam-launcher
|
||||
cp -rfv /usr/share/dpkg/scripts/steamdeps /usr/bin/
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
25
pika-sources/usr/share/dpkg/scripts/steamdeps
Executable file
25
pika-sources/usr/share/dpkg/scripts/steamdeps
Executable file
@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
This script handles installing system dependencies for games using the
|
||||
Steam runtime. It is intended to be customized by other distributions
|
||||
to "do the right thing"
|
||||
|
||||
Usage: steamdeps dependencies.txt
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import glob
|
||||
import logging
|
||||
import os
|
||||
import re
|
||||
import shlex
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
check_output = subprocess.run(["dpkg -s libc6:amd64 && dpkg -s libc6:i386"], shell=True)
|
||||
if (check_output.returncode) != 0:
|
||||
subprocess.run(["/usr/bin/x-terminal-emulator -e bash -c 'sudo apt install -y libc6:amd64 libc6:i386'"], shell=True)
|
||||
exit(0)
|
||||
else:
|
||||
exit(0)
|
@ -1,8 +1,2 @@
|
||||
# send debs to server
|
||||
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pikauwu-main /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:'
|
||||
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/cockatiel-incoming/
|
||||
|
Loading…
Reference in New Issue
Block a user