Update for lunar
This commit is contained in:
parent
5dd635f711
commit
ac04591315
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
container:
|
container:
|
||||||
image: ubuntu:23:04
|
image: ubuntu:latest
|
||||||
volumes:
|
volumes:
|
||||||
- /proc:/proc
|
- /proc:/proc
|
||||||
options: --privileged -it
|
options: --privileged -it
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -7,7 +7,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
container:
|
container:
|
||||||
image: ubuntu:23.04
|
image: ubuntu:latest
|
||||||
volumes:
|
volumes:
|
||||||
- /proc:/proc
|
- /proc:/proc
|
||||||
options: --privileged -it
|
options: --privileged -it
|
||||||
|
@ -5,20 +5,21 @@ echo "Pika Kernel - Releasing Kernel"
|
|||||||
# Sign the packages
|
# Sign the packages
|
||||||
dpkg-sig --sign builder ./output/linux-image*.deb
|
dpkg-sig --sign builder ./output/linux-image*.deb
|
||||||
dpkg-sig --sign builder ./output/linux-headers*.deb
|
dpkg-sig --sign builder ./output/linux-headers*.deb
|
||||||
#dpkg-sig --sign builder ./output/linux-tools*.deb
|
echo "Pika Kernel - Package sign complete"
|
||||||
|
|
||||||
# Pull down existing ppa repo db files etc
|
# Pull down existing ppa repo db files etc
|
||||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
||||||
|
echo "Pika Kernel - Repo rsync pull complete"
|
||||||
# Copy over our gpg key in case it has been updated
|
|
||||||
cp ./output/key.gpg ./output/repo/key.gpg
|
|
||||||
|
|
||||||
# Remove our existing package from the repo - only for current version so we can update it
|
# Remove our existing package from the repo - only for current version so we can update it
|
||||||
reprepro -V --basedir ./output/repo/ removefilter lunar 'Package (% linux-*-6.3.0-pikaos*)'
|
reprepro -V --basedir ./output/repo/ removefilter lunar 'Package (% linux-*-6.3.0-pikaos*)'
|
||||||
|
echo "Pika Kernel - Repo clean complete"
|
||||||
|
|
||||||
# Add the new package to the repo
|
# Add the new package to the repo
|
||||||
reprepro -V --basedir ./output/repo/ includedeb lunar ./output/linux-image*.deb
|
reprepro -V --basedir ./output/repo/ includedeb lunar ./output/linux-image*.deb
|
||||||
reprepro -V --basedir ./output/repo/ includedeb lunar ./output/linux-headers*.deb
|
reprepro -V --basedir ./output/repo/ includedeb lunar ./output/linux-headers*.deb
|
||||||
|
echo "Pika Kernel - Repo update complete"
|
||||||
|
|
||||||
# Push the updated ppa repo to the server
|
# Push the updated ppa repo to the server
|
||||||
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/
|
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/
|
||||||
|
echo "Pika Kernel - Repo rsync push complete"
|
||||||
|
Loading…
Reference in New Issue
Block a user