Update for PikaOS 4
This commit is contained in:
parent
a4c22fa9b1
commit
16d6e13c76
34
.github/workflows/build-canary.yml
vendored
Normal file
34
.github/workflows/build-canary.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
name: PikaOS Package Build Only (Canary)
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: self-hosted
|
||||||
|
container:
|
||||||
|
image: ghcr.io/pikaos-linux/pikaos-builder:canary
|
||||||
|
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
|
34
.github/workflows/build-nest.yml
vendored
Normal file
34
.github/workflows/build-nest.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
name: PikaOS Package Build Only
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: self-hosted
|
||||||
|
container:
|
||||||
|
image: ghcr.io/pikaos-linux/pikaos-builder:nest
|
||||||
|
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
|
@ -1,4 +1,4 @@
|
|||||||
name: PikaOS Package Release
|
name: PikaOS Package Build & Release (Canary)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch
|
workflow_dispatch
|
||||||
@ -7,7 +7,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/pikaos-linux/pika-package-container:latest
|
image: ghcr.io/pikaos-linux/pikaos-builder:canary
|
||||||
volumes:
|
volumes:
|
||||||
- /proc:/proc
|
- /proc:/proc
|
||||||
options: --privileged -it
|
options: --privileged -it
|
||||||
@ -35,12 +35,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Release Package
|
- name: Release Package
|
||||||
run: ./release.sh
|
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 }}
|
|
37
.github/workflows/release-nest.yml
vendored
Normal file
37
.github/workflows/release-nest.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
name: PikaOS Package Build & Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: self-hosted
|
||||||
|
container:
|
||||||
|
image: ghcr.io/pikaos-linux/pikaos-builder:nest
|
||||||
|
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
|
24
LICENSE.md
Normal file
24
LICENSE.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
MIT License (With Python Nvidia™ pkg generator 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: `*version*-*version*-main.sh`, `release.sh`, and `.github`), with the exception of the Nvidia™ version directories (`*version*`) and their contents, they are instead covered by `*version*/debian-*version*/copyright`.
|
4
main.sh
4
main.sh
@ -5,8 +5,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_7.0 || echo "dh-make didn't go clean"
|
||||||
dpkg-buildpackage
|
dpkg-buildpackage --no-sign
|
||||||
|
|
||||||
# Move the debs to output
|
# Move the debs to output
|
||||||
cd ../
|
cd ../
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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
|
pika-sources (6.8-100pika7) pikauwu; urgency=low
|
||||||
|
|
||||||
* Fix rocm mesa issues
|
* Fix rocm mesa issues
|
||||||
|
@ -10,8 +10,8 @@ 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
|
||||||
Depends: ${misc:Depends}, ubuntu-keyring
|
Depends: ${misc:Depends}
|
||||||
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=
|
|
@ -1 +1 @@
|
|||||||
3.0 (native)
|
3.0 (quilt)
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
# Lower nest's priority under cockatiel's
|
||||||
|
Package: *
|
||||||
|
Pin: release a=pika,c=nest
|
||||||
|
Pin-Priority: 450
|
||||||
|
|
@ -1,10 +0,0 @@
|
|||||||
# Lower Ubuntu's priority under pika's
|
|
||||||
Package: *
|
|
||||||
Pin: release c=ubuntu
|
|
||||||
Pin-Priority: 400
|
|
||||||
|
|
||||||
# Lower External's priority same as Ubuntu's for nvidia
|
|
||||||
Package: *nvidia*
|
|
||||||
Pin: release c=external
|
|
||||||
Pin-Priority: 400
|
|
||||||
|
|
@ -0,0 +1,24 @@
|
|||||||
|
# Blacklist ROCm from nest
|
||||||
|
Package: libhsa-runtime64* hipcc* rocm*
|
||||||
|
Pin: release a=pika,c=nest
|
||||||
|
Pin-Priority: 100
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# 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: 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
|
@ -1,27 +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: *
|
|
||||||
Pin: release c=rocm
|
|
||||||
Pin-Priority: 450
|
|
||||||
|
|
||||||
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
|
|
||||||
Pin: release c=rocm
|
|
||||||
Pin-Priority: -5
|
|
||||||
|
|
||||||
Package: *mesa*
|
|
||||||
Pin: release c=rocm
|
|
||||||
Pin-Priority: -5
|
|
||||||
|
|
||||||
Package: amdgpu-core amdgpu-pro-core amdgpu-dkms amdgpu-pro-lib32
|
|
||||||
Pin: release a=*
|
|
||||||
Pin-Priority: -10
|
|
@ -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: pikauwu
|
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
|
||||||
|
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 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:'
|
|
||||||
|
|
||||||
cp -vf ./output/pika-sources*.deb ./output/pika-sources.deb
|
|
||||||
rsync ./output/pika-sources.deb ferreo@direct.pika-os.com:/srv/www/pikarepo/dists/pikauwu/
|
|
Loading…
Reference in New Issue
Block a user