Compare commits

..

2 Commits
main ... lunar

Author SHA1 Message Date
803e6cede3
Update external-winehq.sh 2023-10-15 18:48:44 +01:00
5ae9f50379 Remove mantic from lunar 2023-09-28 17:57:29 +01:00
50 changed files with 1408 additions and 324 deletions

View File

@ -1 +0,0 @@
2

View File

@ -1 +0,0 @@
6

View File

@ -1 +0,0 @@
10

View File

@ -1 +0,0 @@
1

1
.github/raven-rocm vendored
View File

@ -1 +0,0 @@
4

42
.github/workflows/amdgpu.yml vendored Normal file
View File

@ -0,0 +1,42 @@
name: PikaOS Radeon AMDGPU Sync
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: Sync Repository
run: chmod +x ./amdgpu.sh && ./amdgpu.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 }}

46
.github/workflows/external-kubuntu.yml vendored Normal file
View File

@ -0,0 +1,46 @@
name: PikaOS Kubuntu Backports PPA Sync (External)
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
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: Sync Repository
run: chmod +x ./external-kubuntu.sh && ./external-kubuntu.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 }}

View File

@ -0,0 +1,44 @@
name: PikaOS LunarG Vulkan SDK (External)
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
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: Sync Repository
run: chmod +x ./external-lunarg-vulkan.sh && ./external-lunarg-vulkan.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 }}

44
.github/workflows/external-misc.yml vendored Normal file
View File

@ -0,0 +1,44 @@
name: PikaOS Misc PPAs Sync (External)
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
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: Sync Repository
run: chmod +x ./external-misc.sh && ./external-misc.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 }}

46
.github/workflows/external-mozilla.yml vendored Normal file
View File

@ -0,0 +1,46 @@
name: PikaOS Mozilla PPA Sync (External)
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
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: Sync Repository
run: chmod +x ./external-mozilla.sh && ./external-mozilla.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 }}

44
.github/workflows/external-nvidia.yml vendored Normal file
View File

@ -0,0 +1,44 @@
name: PikaOS Nvidia Repo Sync (External)
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: Sync Repository
run: chmod +x ./external-nvidia.sh && ./external-nvidia.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 }}

44
.github/workflows/external-oibaf.yml vendored Normal file
View File

@ -0,0 +1,44 @@
name: PikaOS Oibaf Build-deps PPA Sync (External)
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: Sync Repository
run: chmod +x ./external-oibaf.sh && ./external-oibaf.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 }}

44
.github/workflows/external-steam.yml vendored Normal file
View File

@ -0,0 +1,44 @@
name: PikaOS Steam Repo Sync (External)
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
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: Sync Repository
run: chmod +x ./external-steam.sh && ./external-steam.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 }}

46
.github/workflows/external-sys76.yml vendored Normal file
View File

@ -0,0 +1,46 @@
name: PikaOS System76 PPA Sync (External)
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
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: Sync Repository
run: chmod +x ./external-sys76.sh && ./external-sys76.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 }}

44
.github/workflows/external-winehq.yml vendored Normal file
View File

@ -0,0 +1,44 @@
name: PikaOS WineHQ Repo Sync (External)
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
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: Sync Repository
run: chmod +x ./external-winehq.sh && ./external-winehq.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 }}

45
.github/workflows/external-xtradeb.yml vendored Normal file
View File

@ -0,0 +1,45 @@
name: PikaOS XtraDEB Apps PPA Sync (External)
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
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: Sync Repository
run: chmod +x ./external-xtradeb.sh && ./external-xtradeb.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 }}

View File

@ -1,36 +0,0 @@
name: Process Steam Powered Repository (Parrot)
on:
schedule:
- cron: '17 2 * * *'
push:
branches:
- main
paths:
- '.github/parrot-steam'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
volumes:
- /proc:/proc
options: --privileged -it
steps:
- name: Install Some essentials
run: apt-get update -y && apt-get install -y wget npm rsync nodejs
- 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: Pika Package Processor Script
run: ./parrot-steam.sh

View File

@ -1,34 +0,0 @@
name: Process AMDGPU-PRO Repository (Pigeon)
on:
push:
branches:
- main
paths:
- '.github/pigeon-amdgpu'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
volumes:
- /proc:/proc
options: --privileged -it
steps:
- name: Install Some essentials
run: apt-get update -y && apt-get install -y wget npm rsync nodejs
- 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: Pika Package Processor Script
run: ./pigeon-amdgpu.sh

View File

@ -1,36 +0,0 @@
name: Process Intel Official Repository (Pigeon)
on:
schedule:
- cron: '17 2 * * *'
push:
branches:
- main
paths:
- '.github/pigeon-intel'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
volumes:
- /proc:/proc
options: --privileged -it
steps:
- name: Install Some essentials
run: apt-get update -y && apt-get install -y wget npm rsync nodejs
- 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: Pika Package Processor Script
run: ./pigeon-intel.sh

View File

@ -1,34 +0,0 @@
name: Process Intel OneAPI Repository (Raven)
on:
push:
branches:
- main
paths:
- '.github/raven-oneapi'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
volumes:
- /proc:/proc
options: --privileged -it
steps:
- name: Install Some essentials
run: apt-get update -y && apt-get install -y wget npm rsync nodejs
- 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: Pika Package Processor Script
run: ./raven-oneapi.sh

View File

@ -1,36 +0,0 @@
name: Process Radeon ROCm Repository (Raven)
on:
schedule:
- cron: '17 2 * * *'
push:
branches:
- main
paths:
- '.github/raven-rocm'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
volumes:
- /proc:/proc
options: --privileged -it
steps:
- name: Install Some essentials
run: apt-get update -y && apt-get install -y wget npm rsync nodejs
- 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: Pika Package Processor Script
run: ./raven-rocm.sh

42
.github/workflows/rocm.yml vendored Normal file
View File

@ -0,0 +1,42 @@
name: PikaOS Radeon ROCm Sync
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: Sync Repository
run: chmod +x ./rocm.sh && ./rocm.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 }}

47
.github/workflows/ubuntu-backports.yml vendored Normal file
View File

@ -0,0 +1,47 @@
name: PikaOS Ubuntu Repo Sync (Backports)
on:
workflow_dispatch:
schedule:
- cron: '55 0 * * *'
jobs:
build:
runs-on: self-hosted
container:
image: ubuntu:23.04
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: APT
run: apt update && apt install gnupg -y
- 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: Sync Repository
run: chmod +x ./ubuntu-backports.sh && ./ubuntu-backports.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 }}

47
.github/workflows/ubuntu-proposed.yml vendored Normal file
View File

@ -0,0 +1,47 @@
name: PikaOS Ubuntu Repo Sync (Proposed)
on:
workflow_dispatch:
schedule:
- cron: '10 1 * * *'
jobs:
build:
runs-on: self-hosted
container:
image: ubuntu:23.04
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: APT
run: apt update && apt install gnupg -y
- 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: Sync Repository
run: chmod +x ./ubuntu-proposed.sh && ./ubuntu-proposed.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 }}

47
.github/workflows/ubuntu-security.yml vendored Normal file
View File

@ -0,0 +1,47 @@
name: PikaOS Ubuntu Repo Sync (Security)
on:
workflow_dispatch:
schedule:
- cron: '50 0 * * *'
jobs:
build:
runs-on: self-hosted
container:
image: ubuntu:23.04
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: APT
run: apt update && apt install gnupg -y
- 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: Sync Repository
run: chmod +x ./ubuntu-security.sh && ./ubuntu-security.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 }}

47
.github/workflows/ubuntu-updates.yml vendored Normal file
View File

@ -0,0 +1,47 @@
name: PikaOS Ubuntu Repo Sync (Updates)
on:
workflow_dispatch:
schedule:
- cron: '45 0 * * *'
jobs:
build:
runs-on: self-hosted
container:
image: ubuntu:23.04
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: APT
run: apt update && apt install gnupg -y
- 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: Sync Repository
run: chmod +x ./ubuntu-updates.sh && ./ubuntu-updates.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 }}

47
.github/workflows/ubuntu.yml vendored Normal file
View File

@ -0,0 +1,47 @@
name: PikaOS Ubuntu Repo Sync (Main)
on:
workflow_dispatch:
schedule:
- cron: '30 0 * * *'
jobs:
build:
runs-on: self-hosted
container:
image: ubuntu:23.04
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: APT
run: apt update && apt install gnupg -y
- 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: Sync Repository
run: chmod +x ./ubuntu.sh && ./ubuntu.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 }}

44
pigeon-amdgpu.sh → amdgpu.sh Executable file → Normal file
View File

@ -1,69 +1,67 @@
#! /bin/bash
set -e
REPO_VERSION="6.1.3"
FIRMWARE_VERSION="6.7.0.60103-1787201.22.04"
# AMDGPU MIRROR
mkdir -p ./output/amdgpu
cd ./output/amdgpu
# amdgpu drm dir
mkdir -p ./libd
cd ./libd
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/"$REPO_VERSION"/ubuntu/pool/main/libd/
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/libd/
# Return to AMDGPU MIRROR
cd ../
# amdgpu mesa dir (depends only)
mkdir -p ./mesa
cd ./mesa
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/"$REPO_VERSION"/ubuntu/pool/main/m/mesa-amdgpu/
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/m/mesa-amdgpu/
# Return to AMDGPU MIRROR
cd ../
# amdgpu wayland dir (depends only)
mkdir -p ./wayland-amdgpu
cd ./wayland-amdgpu
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/"$REPO_VERSION"/ubuntu/pool/main/w/wayland-amdgpu/
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/w/wayland-amdgpu/
# Return to AMDGPU MIRROR
cd ../
# amdgpu wayland protocols dir (depends only)
mkdir -p ./wayland-protocols-amdgpu
cd ./wayland-protocols-amdgpu
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/"$REPO_VERSION"/ubuntu/pool/main/w/wayland-protocols-amdgpu/
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/w/wayland-protocols-amdgpu/
# Return to AMDGPU MIRROR
cd ../
# amdgpu proprietary dir
mkdir -p ./proprietary
cd ./proprietary
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m https://repo.radeon.com/amdgpu/"$REPO_VERSION"/ubuntu/pool/proprietary/
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m https://repo.radeon.com/amdgpu/5.7/ubuntu/pool/proprietary/
# Return to AMDGPU MIRROR
cd ../
# amdgpu-dkms-firmware dir
mkdir -p ./amdgpu-dkms-firmware
cd ./amdgpu-dkms-firmware
wget https://repo.radeon.com/amdgpu/"$REPO_VERSION"/ubuntu/pool/main/a/amdgpu-dkms/amdgpu-dkms-firmware_"$FIRMWARE_VERSION"_all.deb
wget http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/a/amdgpu-dkms/amdgpu-dkms-firmware_6.2.4.50700-1652687.22.04_all.deb
# Return to AMDGPU MIRROR
cd ../
mkdir -p ./output
mkdir -p ./output-temp
find . -name \*.deb -exec cp -vf {} ./output-temp \;
cd ./output-temp
mkdir -p ./output-tmp
find . -name \*.deb -exec cp -vf {} ./output-tmp \;
cd ./output-tmp
for i in ./*.deb
do
mkdir $i-temp
dpkg-deb -R $i $i-temp
cat $i-temp/DEBIAN/control | grep Version: | head -n1 | cut -d":" -f2- | tr -d ' ' > $i-version
sed -i "s#$(cat $i-version)#$(cat $i-version)+pigeon$(date +"%Y%m%d")#g" $i-temp/DEBIAN/control
sed -e s"#(=#(>=#"g -i $i-temp/DEBIAN/control
dpkg-deb -b $i-temp $i+pigeon$(date +"%Y%m%d")-fixed.deb
mkdir $i-tmp
dpkg-deb -R $i $i-tmp
cat $i-tmp/DEBIAN/control | grep Version: | head -n1 | cut -d":" -f2- | tr -d ' ' > $i-version
sed -i "s#$(cat $i-version)#$(cat $i-version)-pika$(date +"%Y%m%d").lunar5#g" $i-tmp/DEBIAN/control
dpkg-deb -b $i-tmp $i-"$(date +"%Y%m%d")"-pika-lunar5-fixed.deb
done
cd ../
mv -v ./output-temp/*-fixed.deb ./output/
mv -v ./output-tmp/*-fixed.deb ./output/
# send debs to server
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
# send debs to server
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/pigeon-incoming/
# add debs to repo
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-amdgpu /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

28
external-kubuntu.sh Normal file
View File

@ -0,0 +1,28 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# Extranal Kubuntu Backports PPA MIRROR
mkdir -p ./output
cd ./output
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/dists/lunar/main/binary-i386/Packages.xz https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/ ./
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/ ./
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-external /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

30
external-lunarg-vulkan.sh Normal file
View File

@ -0,0 +1,30 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# Extranal XtraDEB PPA MIRROR
mkdir -p ./output
cd ./output
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://packages.lunarg.com/vulkan/dists/jammy/main/binary-i386/Packages https://packages.lunarg.com/vulkan/ ./
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://packages.lunarg.com/vulkan/dists/jammy/main/binary-amd64/Packages https://packages.lunarg.com/vulkan/ ./
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-external /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

30
external-misc.sh Normal file
View File

@ -0,0 +1,30 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# Extranal XtraDEB PPA MIRROR
mkdir -p ./output
cd ./output
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/wasta-linux/cinnamon-testing/ubuntu/dists/jammy/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/wasta-linux/cinnamon-testing/ubuntu/ ./ "mintinstall,warpinator,webapp-manager,mint-common,mint-translations"
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/papirus/papirus/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/papirus/papirus/ubuntu/ ./
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-external /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

18
external-mozilla.sh Normal file
View File

@ -0,0 +1,18 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# Extranal Mozilla PPA MIRROR
mkdir -p ./output
cd ./output
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/ ./
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi

28
external-nvidia.sh Normal file
View File

@ -0,0 +1,28 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# Extranal Nvidia MIRROR
mkdir -p ./output
cd ./output
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/dists/lunar/main/binary-i386/Packages.xz https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/ ./
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/ ./
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-external /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

28
external-oibaf.sh Normal file
View File

@ -0,0 +1,28 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# Extranal Oibaf PPA MIRROR
mkdir -p ./output
cd ./output
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/dists/lunar/main/binary-i386/Packages.xz https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/ ./ "meson,16,15,spirv,directx-headers,libdrm"
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/ ./ "meson,16,15,spirv,directx-headers,libdrm"
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-external /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

29
external-steam.sh Normal file
View File

@ -0,0 +1,29 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# Extranal Steam MIRROR
mkdir -p ./output
cd ./output
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-i386/Packages https://repo.steampowered.com/steam/ ./
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-amd64/Packages https://repo.steampowered.com/steam/ ./
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-external /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

28
external-sys76.sh Normal file
View File

@ -0,0 +1,28 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# Extranal System76 PPA MIRROR
mkdir -p ./output
cd ./output
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu/ ./
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-external /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

28
external-winehq.sh Normal file
View File

@ -0,0 +1,28 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# Extranal WineHQ MIRROR
mkdir -p ./manticoutput
cd ./manticoutput
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://dl.winehq.org/wine-builds/ubuntu/dists/lunar/main/binary-i386/Packages.xz https://dl.winehq.org/wine-builds/ubuntu/ ./
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://dl.winehq.org/wine-builds/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://dl.winehq.org/wine-builds/ubuntu/ ./
cd ../
if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./manticoutput/ 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 pika-external /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

27
external-xtradeb.sh Normal file
View File

@ -0,0 +1,27 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# Extranal XtraDEB PPA MIRROR
mkdir -p ./output
cd ./output
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu/ ./ "chromium"
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-external /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

View File

@ -1,22 +0,0 @@
#! /bin/bash
set -e
# Give correct perms to Pika Package Processor
chmod 755 ./ppp
# External steam-powered mirror -added vscode and discord here because I am lazy
mkdir -p ./output
./ppp https://ppa.pika-os.com/dists/pika/parrot/binary-i386/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-i386/Packages https://repo.steampowered.com/steam/ ./output/
./ppp https://ppa.pika-os.com/dists/pika/parrot/binary-amd64/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-amd64/Packages https://repo.steampowered.com/steam/ ./output/
./ppp https://ppa.pika-os.com/dists/pika/parrot/binary-amd64/Packages https://packages.microsoft.com/repos/code/dists/stable/main/binary-amd64/Packages https://packages.microsoft.com/repos/code/ ./output/
./ppp https://ppa.pika-os.com/dists/pika/parrot/binary-amd64/Packages https://palfrey.github.io/discord-apt/debian/Packages https://palfrey.github.io/discord-apt/debian/ ./output/
./ppp https://ppa.pika-os.com/dists/pika/parrot/binary-amd64/Packages https://ppa.launchpadcontent.net/linneris/xivlauncher-core-stable/ubuntu/dists/noble/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/linneris/xivlauncher-core-stable/ubuntu/ ./output/
# Check if any updates have been downloaded
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Repos are synced"
exit 0
fi
# send debs to server
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/parrot-incoming/

View File

@ -1,55 +0,0 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# Get Intel pool
mkdir -p ./output-temp
cd ./output-temp
../ppp https://ppa.pika-os.com/dists/pika/pigeon/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/dists/noble/unified/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/ ./
# Delete Unwanted Packages or failure points with ppp
rm -rfv ./intel-i915-dkms_*.deb
rm -rfv ./libdrm*.deb
rm -rfv ./*va*.deb
rm -rfv ./*mesa*.deb
rm -rfv ./intel-gsc*.deb
rm -rfv ./libmetee*.deb
# Check if any updates have been downloaded
if [ $(ls ./ | wc -l) -lt 1 ]; then
echo "Repos are synced"
exit 0
fi
# Use apt to download weird packages that fail with ppp
wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu noble unified" | tee /etc/apt/sources.list.d/intel-gpu-noble.list
apt update
apt download -y intel-gsc intel-gsc-dev libmetee-dev libmetee intel-gpu-mesa3d intel-gpu-mesa3d-dev
# Patch Downloaded Packages control files
PACKAGE_VER_APPEND=$(apt show intel-level-zero-gpu 2>&1 | grep -v "does not have a stable" | grep Version: | head -n1 | cut -f2 -d":" | tr -d ' ')
for i in ./*.deb
do
mkdir $i-tmp
dpkg-deb -R $i $i-tmp
sed "s#-$(echo $PACKAGE_VER_APPEND | cut -d '-' -f2-)##g" -i $i-tmp/DEBIAN/control
cat $i-tmp/DEBIAN/control | grep Version: | head -n1 | cut -d":" -f2- | tr -d ' ' > $i-version
sed -i "s#$(cat $i-version)#$(cat $i-version)+pigeon$(date +"%Y%m%d")#g" $i-tmp/DEBIAN/control
sed -e s"#(=#(>=#"g -i $i-tmp/DEBIAN/control
dpkg-deb -b $i-tmp $i+pigeon$(date +"%Y%m%d")-fixed.deb
done
cd ../
# Move patched packages to output
mkdir -p ./output/
mv -v ./output-temp/*-fixed.deb ./output/
# send debs to server
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/pigeon-incoming/

BIN
ppp

Binary file not shown.

View File

@ -1,18 +0,0 @@
#! /bin/bash
set -e
# Give correct perms to Pika Package Processor
chmod 755 ./ppp
# External Intel OneAPI mirror
mkdir -p ./output
./ppp https://ppa.pika-os.com/dists/pika/raven/binary-amd64/Packages https://apt.repos.intel.com/oneapi/dists/all/main/binary-amd64/Packages https://apt.repos.intel.com/oneapi ./output/
# Check if any updates have been downloaded
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Repos are synced"
exit 0
fi
# send debs to server
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/raven-incoming/

View File

@ -1,18 +0,0 @@
#! /bin/bash
set -e
# Give correct perms to Pika Package Processor
chmod 755 ./ppp
# External Radeon ROCm mirror
mkdir -p ./output
./ppp https://ppa.pika-os.com/dists/pika/raven/binary-amd64/Packages http://repo.radeon.com/rocm/apt/6.1.3/dists/jammy/main/binary-amd64/Packages http://repo.radeon.com/rocm/apt/6.1.3/ ./output/
# Check if any updates have been downloaded
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Repos are synced"
exit 0
fi
# send debs to server
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/raven-incoming/

28
rocm.sh Normal file
View File

@ -0,0 +1,28 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# Get ROCm pool
mkdir -p ./output
cd ./output
../ppp https://ppa.pika-os.com/dists/lunar/rocm/binary-amd64/Packages http://repo.radeon.com/rocm/apt/5.7/dists/jammy/main/binary-amd64/Packages http://repo.radeon.com/rocm/apt/5.7/ ./
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-external /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

View File

@ -213,11 +213,38 @@ type packageInfo struct {
}
var brokenPackages = map[string]bool{
"libnvidia-common-390": true,
"libnvidia-common-530": true,
"midisport-firmware": true,
"libglib2.0-0": true,
"libglib2.0-bin": true,
"libglib2.0-dev": true,
"libglib2.0-dev-bin": true,
"libkpim5mbox-data": true,
"libkpim5identitymanagement-data": true,
"libkpim5libkdepim-data": true,
"libkpim5imap-data": true,
"libkpim5ldap-data": true,
"libkpim5mailimporter-data": true,
"libkpim5mailtransport-data": true,
"libkpim5akonadimime-data": true,
"libkpim5kontactinterface-data": true,
"libkpim5ksieve-data": true,
"libkpim5textedit-data": true,
"libk3b-data": true,
"libkpim5eventviews-data": true,
"libkpim5incidenceeditor-data": true,
"libkpim5calendarsupport-data": true,
"libkpim5calendarutils-data": true,
"libkpim5grantleetheme-data": true,
"libkpim5pkpass-data": true,
"libkpim5gapi-data": true,
"libkpim5akonadisearch-data": true,
"libkpim5gravatar-data": true,
"libkpim5akonadicontact-data": true,
"libkpim5akonadinotes-data": true,
"libkpim5libkleo-data": true,
"plasma-mobile-tweaks": true,
"libkpim5mime-data": true,
"libkf5textaddons-data": true,
"libkpim5smtp-data": true,
"libkpim5tnef-data": true,
"libkpim5akonadicalendar-data": true,
"libkpim5akonadi-data": true,
"libnvidia-common-390": true,
"libnvidia-common-530": true,
"midisport-firmware": true,
}

57
ubuntu-backports.sh Normal file
View File

@ -0,0 +1,57 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# output folders
mkdir -p ./output
cd ./output
# temp
apt update
apt upgrade -y
# end of temp
apt install dpkg-sig wget rsync ssh -y
# Get ubuntu main pool
echo "Getting ubuntu main pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-backports/main/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu main pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-backports/main/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu multiverse pool
echo "Getting ubuntu multiverse pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-backports/multiverse/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu multiverse pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-backports/multiverse/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu restricted pool
echo "Getting ubuntu restricted pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-backports/restricted/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu restricted pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-backports/restricted/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu universe pool
echo "Getting ubuntu universe pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-backports/universe/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu universe pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-backports/universe/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-ubuntu /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

57
ubuntu-proposed.sh Normal file
View File

@ -0,0 +1,57 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# output folders
mkdir -p ./output
cd ./output
# temp
apt update
apt upgrade -y
# end of temp
apt install dpkg-sig wget rsync ssh -y
# Get ubuntu main pool
echo "Getting ubuntu main pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-proposed/main/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu main pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-proposed/main/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu multiverse pool
echo "Getting ubuntu multiverse pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-proposed/multiverse/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu multiverse pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-proposed/multiverse/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu restricted pool
echo "Getting ubuntu restricted pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-proposed/restricted/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu restricted pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-proposed/restricted/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu universe pool
echo "Getting ubuntu universe pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-proposed/universe/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu universe pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-proposed/universe/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-ubuntu /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

57
ubuntu-security.sh Normal file
View File

@ -0,0 +1,57 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# output folders
mkdir -p ./output
cd ./output
# temp
apt update
apt upgrade -y
# end of temp
apt install dpkg-sig wget rsync ssh -y
# Get ubuntu main pool
echo "Getting ubuntu main pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-security/main/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu main pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-security/main/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu multiverse pool
echo "Getting ubuntu multiverse pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-security/multiverse/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu multiverse pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-security/multiverse/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu restricted pool
echo "Getting ubuntu restricted pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-security/restricted/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu restricted pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-security/restricted/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu universe pool
echo "Getting ubuntu universe pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-security/universe/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu universe pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-security/universe/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-ubuntu /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

57
ubuntu-updates.sh Normal file
View File

@ -0,0 +1,57 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# output folders
mkdir -p ./output
cd ./output
# temp
apt update
apt upgrade -y
# end of temp
apt install dpkg-sig wget rsync ssh -y
# Get ubuntu main pool
echo "Getting ubuntu main pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-updates/main/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu main pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-updates/main/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu multiverse pool
echo "Getting ubuntu multiverse pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-updates/multiverse/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu multiverse pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-updates/multiverse/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu restricted pool
echo "Getting ubuntu restricted pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-updates/restricted/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu restricted pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-updates/restricted/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu universe pool
echo "Getting ubuntu universe pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-updates/universe/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu universe pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar-updates/universe/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-ubuntu /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'

57
ubuntu.sh Normal file
View File

@ -0,0 +1,57 @@
#! /bin/bash
set -e
# Give correct perms to Apt version checker
chmod 755 ./ppp
# output folders
mkdir -p ./output
cd ./output
# temp
apt update
apt upgrade -y
# end of temp
apt install wget rsync ssh -y
# Get ubuntu main pool
echo "Getting ubuntu main pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/main/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu main pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/main/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu multiverse pool
echo "Getting ubuntu multiverse pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/multiverse/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu multiverse pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/multiverse/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu restricted pool
echo "Getting ubuntu restricted pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/restricted/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu restricted pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/restricted/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
# Get ubuntu universe pool
echo "Getting ubuntu universe pool 32bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/universe/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
echo "Getting ubuntu universe pool 64bit"
../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/universe/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
cd ../
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
echo "Lunar repos are synced"
exit 0
fi
# send debs to server
rsync -azP ./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 pika-ubuntu /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'