For raspi preinstalled builds, use a per-series dedicated gadget branch.

jammy-pi-fix
Łukasz 'sil2100' Zemczak 11 months ago
parent c558aa3653
commit 33362993d1

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.765.34) UNRELEASED; urgency=medium
* For raspi preinstalled builds, use a per-series dedicated gadget branch.
(LP: #2049373)
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Mon, 15 Jan 2024 11:32:47 +0100
livecd-rootfs (2.765.33) jammy; urgency=medium
[ Steve Langasek ]

@ -494,9 +494,11 @@ case $IMAGEFORMAT in
# classic images
# Certain models have different names but are built from the same source gadget tree
BRANCH="classic"
case $MODEL in
pi-arm64|pi3-arm64)
pi|pi-arm64|pi3-arm64)
MODEL=pi
BRANCH="classic-22.04"
;;
intel-iot)
MODEL=pc
@ -515,7 +517,6 @@ case $IMAGEFORMAT in
# We need to look in two places for the gadget tree:
# - Launchpad hosted gadgets will be in the snap-gadget repo
# - Github hosted gadgets are mirrored into a github-mirror repo
BRANCH="classic"
git clone git://git.launchpad.net/~canonical-foundations/snap-$MODEL/+git/snap-$MODEL -b $BRANCH config/$PREFIX-gadget || git clone git://git.launchpad.net/~canonical-foundations/snap-$MODEL/+git/github-mirror -b $BRANCH config/$PREFIX-gadget || git clone git://git.launchpad.net/~canonical-foundations/snap-$MODEL/+git/github-mirror-$ARCH -b $BRANCH config/$PREFIX-gadget
echo "IMAGEFORMAT=$IMAGEFORMAT" >> config/common

Loading…
Cancel
Save