build on ubuntu
This commit is contained in:
parent
1b74f27aa7
commit
e19632a702
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: debian:sid
|
image: ubuntu:23.04
|
||||||
volumes:
|
volumes:
|
||||||
- /proc:/proc
|
- /proc:/proc
|
||||||
options: --privileged -it
|
options: --privileged -it
|
||||||
|
2
.github/workflows/release_i386.yml
vendored
2
.github/workflows/release_i386.yml
vendored
@ -7,7 +7,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
container:
|
container:
|
||||||
image: debian:sid
|
image: ubuntu:23.04
|
||||||
volumes:
|
volumes:
|
||||||
- /proc:/proc
|
- /proc:/proc
|
||||||
options: --privileged -it
|
options: --privileged -it
|
||||||
|
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
|||||||
mangohud (1:0.6.8-99pika7.lunar) lunar; urgency=medium
|
mangohud (1:0.6.8-99pika8.lunar) lunar; urgency=medium
|
||||||
|
|
||||||
* Initial Push to PPA
|
* Initial Push to PPA
|
||||||
|
|
||||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -21,7 +21,7 @@ Build-Depends: debhelper-compat (= 13),
|
|||||||
libwayland-dev,
|
libwayland-dev,
|
||||||
libxnvctrl-dev,
|
libxnvctrl-dev,
|
||||||
libxrandr-dev,
|
libxrandr-dev,
|
||||||
python3-mako [!i386],
|
python3-mako,
|
||||||
python3-setuptools,
|
python3-setuptools,
|
||||||
Rules-Requires-Root: no
|
Rules-Requires-Root: no
|
||||||
Standards-Version: 4.6.1
|
Standards-Version: 4.6.1
|
||||||
|
2
hooks/01pikarepo
Normal file
2
hooks/01pikarepo
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#echo "deb [trusted=yes] https://ppa.pika-os.com/ lunar main" >> /etc/apt/sources.list
|
||||||
|
apt-get update
|
26
main32.sh
26
main32.sh
@ -13,16 +13,24 @@ cp -rvf ./debian ./mangohud/
|
|||||||
cd ./mangohud
|
cd ./mangohud
|
||||||
|
|
||||||
# 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 install python3-mako -y
|
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
8
pbuilderrc
Normal 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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user