From d21d5bc3571fd4719e6995ab1f07a078ed9ab99d Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Thu, 5 Oct 2023 20:01:21 +0300 Subject: [PATCH] --- main.sh | 6 ++---- release.sh | 9 +-------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/main.sh b/main.sh index 6930d44..2f4ce1d 100755 --- a/main.sh +++ b/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/ cd ./linux-firmware 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 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 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 Sat, 01 Oct 2022 14:50:00 +0200" > debian/changelog # Get build deps apt-get build-dep ./ -y # 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_20230810.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" dpkg-buildpackage --no-sign # Move the debs to output diff --git a/release.sh b/release.sh index 5c59923..ffd9fb8 100755 --- a/release.sh +++ b/release.sh @@ -1,8 +1 @@ -# send debs to server -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:' +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 \ No newline at end of file