Update main.sh

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-09-02 02:53:27 +02:00
parent 864825903f
commit cf7c6fb51e

View File

@ -2,20 +2,21 @@
set -e
VERSION="$(date '+%Y%m%d').git"
#VERSION="$(date '+%Y%m%d').git"
VERSION='20240811'
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Clone Upstream
#git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ -b main --depth 1
#git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ -b main --depth 1
git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ -b $VERSION --depth 1
cp -rvf ./debian ./linux-firmware/
cp -rvf ./ath12k ./linux-firmware/
cd ./linux-firmware
touch debian/changelog
echo -e "linux-firmware ("$VERSION"-101pika1) canary; 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 ("$VERSION"-101pika1) pika; 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
apt-get build-dep ./ -y