mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-06 07:32:22 +00:00
For raspi preinstalled builds, use a per-series dedicated gadget branch.
This commit is contained in:
parent
c558aa3653
commit
33362993d1
7
debian/changelog
vendored
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
|
livecd-rootfs (2.765.33) jammy; urgency=medium
|
||||||
|
|
||||||
[ Steve Langasek ]
|
[ Steve Langasek ]
|
||||||
|
@ -494,9 +494,11 @@ case $IMAGEFORMAT in
|
|||||||
# classic images
|
# classic images
|
||||||
|
|
||||||
# Certain models have different names but are built from the same source gadget tree
|
# Certain models have different names but are built from the same source gadget tree
|
||||||
|
BRANCH="classic"
|
||||||
case $MODEL in
|
case $MODEL in
|
||||||
pi-arm64|pi3-arm64)
|
pi|pi-arm64|pi3-arm64)
|
||||||
MODEL=pi
|
MODEL=pi
|
||||||
|
BRANCH="classic-22.04"
|
||||||
;;
|
;;
|
||||||
intel-iot)
|
intel-iot)
|
||||||
MODEL=pc
|
MODEL=pc
|
||||||
@ -515,7 +517,6 @@ case $IMAGEFORMAT in
|
|||||||
# We need to look in two places for the gadget tree:
|
# We need to look in two places for the gadget tree:
|
||||||
# - Launchpad hosted gadgets will be in the snap-gadget repo
|
# - Launchpad hosted gadgets will be in the snap-gadget repo
|
||||||
# - Github hosted gadgets are mirrored into a github-mirror 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
|
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
|
echo "IMAGEFORMAT=$IMAGEFORMAT" >> config/common
|
||||||
|
Loading…
x
Reference in New Issue
Block a user