Compare commits
64 Commits
Author | SHA1 | Date | |
---|---|---|---|
2d1d9937d6 | |||
a1367be12d | |||
f23cb6221a | |||
f0d40fb50f | |||
4a1ef45b7b | |||
79f7f3d565 | |||
5fa3743ad5 | |||
ada9a78ebf | |||
cc55cd4e9a | |||
b8be356a22 | |||
e77ca6b490 | |||
79ac91676b | |||
|
efdcaab2c4 | ||
38f4843068 | |||
b0b9d671f2 | |||
382cb3f31c | |||
cf404b2861 | |||
aa12c1d73f | |||
d5a2ed5375 | |||
47734ed251 | |||
efd7602fcf | |||
2074e9b59e | |||
50afc9c9f1 | |||
3901ab7212 | |||
e798699ed5 | |||
552e0e5262 | |||
98f0260e0b | |||
012cab26af | |||
b3c50fbf8f | |||
8128952601 | |||
|
51b8d31c0e | ||
|
47a8814472 | ||
|
2b10922640 | ||
faeed474e3 | |||
|
da43543052 | ||
|
b1767b3971 | ||
|
f2fb6a295e | ||
|
b2db62ceb1 | ||
|
04a5dc2acd | ||
|
6c4ad7a810 | ||
|
e1ed29011a | ||
|
b6a9f51b58 | ||
|
16d6e13c76 | ||
a4c22fa9b1 | |||
59a2060ed0 | |||
a04a603c6a | |||
c615c61a17 | |||
bac2aeb5bd | |||
e07315d482 | |||
c37c397dba | |||
9a562c2116 | |||
|
631eff2eef | ||
|
86e2fb6354 | ||
|
437eb05882 | ||
|
f059202803 | ||
|
633c15bf5c | ||
|
f0bbdf2aa6 | ||
ce7c3a5b68 | |||
7a6a09b282 | |||
69d02acb53 | |||
dd84a29604 | |||
76feb21f60 | |||
494f31c9a9 | |||
0506384880 |
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 @@
|
|||||||
|
5
|
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: ${{ 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: 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: ${{ 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: 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: ${{ 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: 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: ${{ 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: 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
|
46
.github/workflows/release.yml
vendored
46
.github/workflows/release.yml
vendored
@ -1,46 +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: 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 }}
|
|
24
LICENSE.md
Normal file
24
LICENSE.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
MIT License (With DPKG packaging compatibility)
|
||||||
|
|
||||||
|
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
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
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.
|
14
main.sh
14
main.sh
@ -1,3 +1,13 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
VERSION="7.2"
|
||||||
|
|
||||||
|
source ./pika-build-config.sh
|
||||||
|
|
||||||
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
||||||
|
|
||||||
# Clone Upstream
|
# Clone Upstream
|
||||||
cd ./pika-sources
|
cd ./pika-sources
|
||||||
|
|
||||||
@ -5,8 +15,8 @@ cd ./pika-sources
|
|||||||
apt-get build-dep ./ -y
|
apt-get build-dep ./ -y
|
||||||
|
|
||||||
# Build package
|
# Build package
|
||||||
dh_make --createorig
|
LOGNAME=root dh_make --createorig -y -l -p pika-sources_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
||||||
dpkg-buildpackage
|
dpkg-buildpackage --no-sign
|
||||||
|
|
||||||
# Move the debs to output
|
# Move the debs to output
|
||||||
cd ../
|
cd ../
|
||||||
|
10
pika-build-config/amd64-v3.sh
Executable file
10
pika-build-config/amd64-v3.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
export PIKA_BUILD_ARCH="amd64-v3"
|
||||||
|
export DEBIAN_FRONTEND="noninteractive"
|
||||||
|
export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto=auto"
|
||||||
|
export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
|
||||||
|
export DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
|
||||||
|
export DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
|
||||||
|
export DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
|
||||||
|
export DEB_BUILD_OPTIONS="nocheck notest terse"
|
||||||
|
export DPKG_GENSYMBOLS_CHECK_LEVEL=0
|
5
pika-build-config/i386.sh
Executable file
5
pika-build-config/i386.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
export PIKA_BUILD_ARCH="i386"
|
||||||
|
export DEBIAN_FRONTEND="noninteractive"
|
||||||
|
export DEB_BUILD_OPTIONS="nocheck notest terse"
|
||||||
|
export DPKG_GENSYMBOLS_CHECK_LEVEL=0
|
@ -1,3 +1,75 @@
|
|||||||
|
pika-sources (7.2-101pika9) pika; urgency=low
|
||||||
|
|
||||||
|
* Make use of the apt cache so we can leverage it
|
||||||
|
|
||||||
|
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +020
|
||||||
|
|
||||||
|
pika-sources (7.2-101pika8) pika; urgency=low
|
||||||
|
|
||||||
|
* Fix pigeon and raven
|
||||||
|
|
||||||
|
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +020
|
||||||
|
|
||||||
|
pika-sources (7.2-101pika1) pika; urgency=low
|
||||||
|
|
||||||
|
* Fix pre depends
|
||||||
|
|
||||||
|
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||||
|
|
||||||
|
pika-sources (7.1-101pika1) pika; urgency=low
|
||||||
|
|
||||||
|
* Canary options
|
||||||
|
|
||||||
|
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||||
|
|
||||||
|
pika-sources (7.0-101pika1) pika; 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
|
pika-sources (6.3-99pika1-lunar) lunar; urgency=low
|
||||||
|
|
||||||
* fix pins
|
* fix pins
|
||||||
|
@ -9,9 +9,9 @@ Homepage: https://github.com/PikaOS-Linux/
|
|||||||
Package: pika-sources
|
Package: pika-sources
|
||||||
Section: misc
|
Section: misc
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Pre-Depends: python-apt-common, distro-info-data
|
Pre-Depends: python-apt-common, distro-info-data, systemd, udev, bash
|
||||||
Depends: ${misc:Depends}, ubuntu-keyring
|
Depends: ${misc:Depends}, python-apt-common, distro-info-data, systemd, udev, bash
|
||||||
Description: APT Source files and keyrings for the repositories we use/provide.
|
Description: APT Source files and keyrings for the PikaOS Repositories
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
pika-sources
|
|
@ -1,2 +0,0 @@
|
|||||||
pika-sources_3.0-99pika14_all.deb misc optional
|
|
||||||
pika-sources_3.0-99pika14_amd64.buildinfo misc optional
|
|
@ -1,2 +0,0 @@
|
|||||||
misc:Depends=
|
|
||||||
misc:Pre-Depends=
|
|
@ -2,24 +2,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf /etc/apt/sources.list.d/pika-* || true
|
cp -rf /usr/share/apt-pika/etc / || 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"
|
systemctl enable --now steam-repos-fix.service || echo "steam-repos-fix service could not be enabled"
|
||||||
|
|
||||||
@ -27,5 +10,3 @@ mkdir -p /usr/share || echo "Path already exists!"
|
|||||||
mkdir -p /usr/share/distro-info/ || 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!"
|
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!"
|
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!"
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@
|
dh $@
|
||||||
|
@ -1 +1 @@
|
|||||||
3.0 (native)
|
3.0 (quilt)
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
Package: libhsa-runtime64*
|
|
||||||
Pin: release c=Ubuntu
|
|
||||||
Pin-Priority: 100
|
|
||||||
|
|
||||||
Package: hipcc*
|
|
||||||
Pin: release c=Ubuntu
|
|
||||||
Pin-Priority: 100
|
|
||||||
|
|
||||||
Package: rocm*
|
|
||||||
Pin: release c=Ubuntu
|
|
||||||
Pin-Priority: 100
|
|
||||||
|
|
||||||
Package: amdgpu-core amdgpu-pro-core amdgpu-dkms amdgpu-pro-lib32
|
|
||||||
Pin: release a=*
|
|
||||||
Pin-Priority: -10
|
|
@ -1,5 +0,0 @@
|
|||||||
# Lower Ubuntu's priority under pika's
|
|
||||||
Package: *
|
|
||||||
Pin: release c=ubuntu
|
|
||||||
Pin-Priority: 400
|
|
||||||
|
|
@ -0,0 +1,4 @@
|
|||||||
|
Binary::apt::APT::Cache "/var/cache/apt";
|
||||||
|
Binary::apt::APT::Cache::Archives "archives";
|
||||||
|
Binary::apt::APT::Keep-Downloaded-Packages "true";
|
||||||
|
APT::Keep-Downloaded-Packages "true";
|
@ -0,0 +1,45 @@
|
|||||||
|
# Lower nest's priority under cockatiel's
|
||||||
|
Package: *
|
||||||
|
Pin: release a=pika,c=nest
|
||||||
|
Pin-Priority: 450
|
||||||
|
|
||||||
|
# Put nest ROCm under raven's ROCm
|
||||||
|
Package: libhsa-runtime64* hipcc* rocm* hipify*
|
||||||
|
Pin: release a=pika,c=nest
|
||||||
|
Pin-Priority: 100
|
||||||
|
|
||||||
|
# Lower canary's priority under cockatiel's
|
||||||
|
Package: *
|
||||||
|
Pin: release a=pika,c=canary
|
||||||
|
Pin-Priority: 451
|
||||||
|
|
||||||
|
# Put canary ROCm under raven's ROCm
|
||||||
|
Package: libhsa-runtime64* hipcc* rocm* hipify*
|
||||||
|
Pin: release a=pika,c=canary
|
||||||
|
Pin-Priority: 100
|
||||||
|
|
||||||
|
# Lower raven's priority under cockatiel's
|
||||||
|
Package: *
|
||||||
|
Pin: release a=pika,c=raven
|
||||||
|
Pin-Priority: 452
|
||||||
|
|
||||||
|
# Lower pigeon's priority under cockatiel's
|
||||||
|
Package: *
|
||||||
|
Pin: release a=pika,c=pigeon
|
||||||
|
Pin-Priority: 450
|
||||||
|
|
||||||
|
# Blacklist intel mesa from pigeon
|
||||||
|
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* *intel-media-va-driver* *libigdgmm*
|
||||||
|
Pin: release a=pika,c=pigeon
|
||||||
|
Pin-Priority: 100
|
||||||
|
|
||||||
|
# Blacklist dangerous amdgpu-pro packages
|
||||||
|
Package: amdgpu-core amdgpu-pro-core amdgpu-dkms amdgpu-pro-lib32
|
||||||
|
Pin: release a=*
|
||||||
|
Pin-Priority: -10
|
||||||
|
|
||||||
|
# Lower parrot's priority under cockatiel's
|
||||||
|
Package: *
|
||||||
|
Pin: release a=pika,c=parrot
|
||||||
|
Pin-Priority: 452
|
||||||
|
|
@ -2,8 +2,8 @@ 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: lunar
|
Suites: pika
|
||||||
Components: main amdgpu rocm external ubuntu
|
Components: nest raven parrot cockatiel pigeon
|
||||||
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
|
1
pika-sources/usr/share/apt-pika/etc/dpkg/dpkg.cfg.d/force-overwrite
Executable file
1
pika-sources/usr/share/apt-pika/etc/dpkg/dpkg.cfg.d/force-overwrite
Executable file
@ -0,0 +1 @@
|
|||||||
|
force-overwrite
|
62
pika-sources/usr/share/python-apt/templates/Pika.info
Normal file
62
pika-sources/usr/share/python-apt/templates/Pika.info
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
Suite: pika
|
||||||
|
RepositoryType: deb
|
||||||
|
BaseURI: https://ppa.pika-os.com/
|
||||||
|
MatchURI: ((http|https|ftp)[0-9]*\.([a-z]*\.){0,1}|ppa\.|httpredir\.)pika-os\.com
|
||||||
|
MirrorsFile: Pika.mirrors
|
||||||
|
Description: PikaOS
|
||||||
|
Component: nest
|
||||||
|
CompDescription: Primary Repo
|
||||||
|
Component: pending
|
||||||
|
CompDescription: Primary Repo (Nest Pending)
|
||||||
|
Component: canary
|
||||||
|
CompDescription: Primary Repo (Canary)
|
||||||
|
Component: cockatiel
|
||||||
|
CompDescription: Pika Specific Repo
|
||||||
|
Component: pigeon
|
||||||
|
CompDescription: Properietary Drivers Repo
|
||||||
|
Component: raven
|
||||||
|
CompDescription: Compute Drivers Repo
|
||||||
|
Component: parrot
|
||||||
|
CompDescription: 3rd-Party Packages Repo
|
||||||
|
|
||||||
|
Suite: nest
|
||||||
|
RepositoryType: deb
|
||||||
|
BaseURI: https://ppa.pika-os.com/
|
||||||
|
MatchURI: ((http|https|ftp)[0-9]*\.([a-z]*\.){0,1}|ppa\.|httpredir\.)pika-os\.com
|
||||||
|
MirrorsFile: Pika.mirrors
|
||||||
|
Description: PikaOS
|
||||||
|
Component: nest
|
||||||
|
CompDescription: Primary Repo
|
||||||
|
Component: pending
|
||||||
|
CompDescription: Primary Repo (Nest Pending)
|
||||||
|
Component: canary
|
||||||
|
CompDescription: Primary Repo (Canary)
|
||||||
|
Component: cockatiel
|
||||||
|
CompDescription: Pika Specific Repo
|
||||||
|
Component: pigeon
|
||||||
|
CompDescription: Properietary Drivers Repo
|
||||||
|
Component: raven
|
||||||
|
CompDescription: Compute Drivers Repo
|
||||||
|
Component: parrot
|
||||||
|
CompDescription: 3rd-Party Packages Repo
|
||||||
|
|
||||||
|
Suite: canary
|
||||||
|
RepositoryType: deb
|
||||||
|
BaseURI: https://ppa.pika-os.com/
|
||||||
|
MatchURI: ((http|https|ftp)[0-9]*\.([a-z]*\.){0,1}|ppa\.|httpredir\.)pika-os\.com
|
||||||
|
MirrorsFile: Pika.mirrors
|
||||||
|
Description: PikaOS
|
||||||
|
Component: nest
|
||||||
|
CompDescription: Primary Repo
|
||||||
|
Component: pending
|
||||||
|
CompDescription: Primary Repo (Nest Pending)
|
||||||
|
Component: canary
|
||||||
|
CompDescription: Primary Repo (Canary)
|
||||||
|
Component: cockatiel
|
||||||
|
CompDescription: Pika Specific Repo
|
||||||
|
Component: pigeon
|
||||||
|
CompDescription: Properietary Drivers Repo
|
||||||
|
Component: raven
|
||||||
|
CompDescription: Compute Drivers Repo
|
||||||
|
Component: parrot
|
||||||
|
CompDescription: 3rd-Party Packages Repo
|
2
pika-sources/usr/share/python-apt/templates/Pika.mirrors
Normal file
2
pika-sources/usr/share/python-apt/templates/Pika.mirrors
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#LOC:US
|
||||||
|
https://ppa.pika-os.com/
|
11
release.sh
11
release.sh
@ -1,11 +1,2 @@
|
|||||||
# send debs to server
|
# send debs to server
|
||||||
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/cockatiel-incoming/
|
||||||
|
|
||||||
# add debs to repo
|
|
||||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-main /srv/www/incoming/'
|
|
||||||
|
|
||||||
# publish the repo
|
|
||||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
|
||||||
|
|
||||||
cp -vf ./output/pika-sources*.deb ./output/pika-sources.deb
|
|
||||||
rsync ./output/pika-sources.deb ferreo@direct.pika-os.com:/srv/www/pikarepo/dists/lunar/
|
|
||||||
|
Loading…
Reference in New Issue
Block a user