fix changelog generator #2
This commit is contained in:
parent
dbb9da04cc
commit
8dc2909d08
5
main.sh
5
main.sh
@ -1,3 +1,4 @@
|
|||||||
|
#! /bin/bash
|
||||||
# Add dependent repositories
|
# Add dependent repositories
|
||||||
wget -q -O - https://ppa.pika-os.com/key.gpg | sudo apt-key add -
|
wget -q -O - https://ppa.pika-os.com/key.gpg | sudo apt-key add -
|
||||||
add-apt-repository https://ppa.pika-os.com
|
add-apt-repository https://ppa.pika-os.com
|
||||||
@ -8,13 +9,13 @@ git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmwar
|
|||||||
cp -rvf ./debian-firmware/* ./linux-firmware/
|
cp -rvf ./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')") kinetic; urgency=medium\n\n\t* 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-99pika"$(date '+%M')") kinetic; 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')"
|
LOGNAME=root dh_make --createorig -y -l -p linux-firmware_"$(date '+%Y%m%d')" || echo "dh-make didn't go clean"
|
||||||
dpkg-buildpackage
|
dpkg-buildpackage
|
||||||
|
|
||||||
# Move the debs to output
|
# Move the debs to output
|
||||||
|
Loading…
Reference in New Issue
Block a user