Update to lunar

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-05-06 23:56:29 +03:00 committed by GitHub
parent eae944ab70
commit 265d0348fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 37 additions and 12 deletions

View File

@ -7,7 +7,7 @@ jobs:
build: build:
runs-on: self-hosted runs-on: self-hosted
container: container:
image: ubuntu:22.10 image: ubuntu:23.04
volumes: volumes:
- /proc:/proc - /proc:/proc
options: --privileged -it options: --privileged -it

View File

@ -7,7 +7,7 @@ jobs:
build: build:
runs-on: self-hosted runs-on: self-hosted
container: container:
image: ubuntu:22.10 image: ubuntu:23.04
volumes: volumes:
- /proc:/proc - /proc:/proc
options: --privileged -it options: --privileged -it

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
vkbasalt (1:0.3.2.9-99pika1.lunar) lunar; urgency=medium
* Update to lunar
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 15 Oct 2022 18:58:00 +0300
vkbasalt (1:0.3.2.9-1) kinetic; urgency=medium vkbasalt (1:0.3.2.9-1) kinetic; urgency=medium
* Initial Push to REPO * Initial Push to REPO

2
hooks/01pikarepo Normal file
View File

@ -0,0 +1,2 @@
#echo "deb [trusted=yes] https://ppa.pika-os.com/ lunar main" >> /etc/apt/sources.list
apt-get update

View File

@ -13,7 +13,7 @@ cd ./vkbasalt
apt-get build-dep ./ -y apt-get build-dep ./ -y
# Build package # Build package
dpkg-buildpackage dpkg-buildpackage --no-sign
# Move the debs to output # Move the debs to output
cd ../ cd ../

View File

@ -11,16 +11,24 @@ cp -rvf ./debian ./vkbasalt
cd ./vkbasalt cd ./vkbasalt
# Get build deps # Get build deps
apt-get install build-essential -y ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
apt-get install crossbuild-essential-i386 lib32gcc-11-dev -y DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
apt-get build-dep ./ -y -a i386 apt-get build-dep -y ./
apt-get -y install meson pkg-config glslang-tools:i386 libx11-dev:i386 libvulkan-dev:i386 spirv-headers debuild -S -uc -us
cd ../
# Build package apt-get install -y pbuilder debootstrap devscripts debhelper sbuild debhelper ubuntu-dev-tools piuparts
dpkg-buildpackage -a i386
apt install -y debian-archive-keyring
cp -rvf ./pbuilderrc /etc/pbuilderrc
mkdir -p /var/cache/pbuilder/hook.d/
cp -rvf ./hooks/* /var/cache/pbuilder/hook.d/
rm -rf /var/cache/apt/
mkdir -p /pbuilder-results
DIST=lunar ARCH=i386 pbuilder create --distribution lunar --architecture i386 --debootstrapopts --include=ca-certificates
echo 'starting build'
DIST=lunar ARCH=i386 pbuilder build ./*.dsc --distribution lunar --architecture i386 --debootstrapopts --include=ca-certificates
# Move the debs to output # Move the debs to output
cd ../
mkdir -p ./output mkdir -p ./output
mv ./*.deb ./output/ mv /var/cache/pbuilder/result/*.deb ./output/ || sudo mv ../*.deb ./output/

8
pbuilderrc Normal file
View File

@ -0,0 +1,8 @@
USENETWORK=yes
OTHERMIRROR="deb [trusted=yes] http://ppa.pika-os.com/ lunar main"
HOOKDIR="/var/cache/pbuilder/hook.d/"
APTCACHEHARDLINK=no
export DEBIAN_FRONTEND="noninteractive"
#OTHERMIRROR="deb [trusted=yes] https://ppa.pika-os.com/ lunar main"