This commit is contained in:
parent
304b8b6e76
commit
d21d5bc357
6
main.sh
6
main.sh
@ -6,15 +6,13 @@ git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmwar
|
|||||||
cp -rvn ./debian-firmware/* ./linux-firmware/
|
cp -rvn ./debian-firmware/* ./linux-firmware/
|
||||||
cd ./linux-firmware
|
cd ./linux-firmware
|
||||||
touch debian/changelog
|
touch debian/changelog
|
||||||
#echo -e "linux-firmware ("$(date '+%Y%m%d')".git-99pika"$(date '+%M')") lunar; urgency=medium\n\n * New Upstream Release\n\n -- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200" > debian/changelog
|
echo -e "linux-firmware ("$(date '+%Y%m%d')".git-100pika1) pikauwu; urgency=medium\n\n * New Upstream Release\n\n -- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200" > debian/changelog
|
||||||
echo -e "linux-firmware (20230810.git-99pika"$(date '+%M')") lunar; urgency=medium\n\n * New Upstream Release\n\n -- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200" > debian/changelog
|
|
||||||
|
|
||||||
# Get build deps
|
# Get build deps
|
||||||
apt-get build-dep ./ -y
|
apt-get build-dep ./ -y
|
||||||
|
|
||||||
# Build package
|
# Build package
|
||||||
#LOGNAME=root dh_make --createorig -y -l -p linux-firmware_"$(date '+%Y%m%d')".git || echo "dh-make didn't go clean"
|
LOGNAME=root dh_make --createorig -y -l -p linux-firmware_"$(date '+%Y%m%d')".git || echo "dh-make didn't go clean"
|
||||||
LOGNAME=root dh_make --createorig -y -l -p linux-firmware_20230810.git || echo "dh-make didn't go clean"
|
|
||||||
dpkg-buildpackage --no-sign
|
dpkg-buildpackage --no-sign
|
||||||
|
|
||||||
# Move the debs to output
|
# Move the debs to output
|
||||||
|
@ -1,8 +1 @@
|
|||||||
# send debs to server
|
for i in $(cat ../patches/series) ; do echo "Applying Patch: $i" && patch -Np1 -i ../patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"; done
|
||||||
rsync -azP --include './' --include '*.deb' --exclude '*' ./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-main /srv/www/incoming/'
|
|
||||||
|
|
||||||
# publish the repo
|
|
||||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
|
Loading…
Reference in New Issue
Block a user