mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-12 11:51:11 +00:00
Import patches-unapplied version 2.499 to ubuntu/bionic-proposed
Imported using git-ubuntu import. Changelog parent: 7e7272c6ec4b778bac6c56d482ed21d932943cec New changelog entries: * live-build/auto/config: Take into account SUBPROJECT when setting seeded snaps, and also make sure we can work with snaps seeded in project hooks.
This commit is contained in:
parent
7e7272c6ec
commit
5908846275
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
livecd-rootfs (2.499) bionic; urgency=medium
|
||||
|
||||
* live-build/auto/config: Take into account SUBPROJECT when setting seeded
|
||||
snaps, and also make sure we can work with snaps seeded in project hooks.
|
||||
|
||||
-- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Tue, 06 Feb 2018 23:37:32 -0500
|
||||
|
||||
livecd-rootfs (2.498) bionic; urgency=medium
|
||||
|
||||
* Don't write config/seeded-snaps if no snaps have been seeded.
|
||||
|
@ -655,10 +655,16 @@ esac
|
||||
|
||||
# we'll expand the base seed given here according to the STRUCTURE file, and
|
||||
# then look in all of the seeds found to see which snaps are seeded
|
||||
case $PROJECT in
|
||||
ubuntu|kubuntu*|lubuntu*|xubuntu*|ubuntu-mate*|ubuntustudio*|ubuntukylin*|ubuntu-budgie*)
|
||||
case $PROJECT:${SUBPROJECT:-} in
|
||||
ubuntu:*|kubuntu*:*|lubuntu*:*|xubuntu*:*|ubuntu-mate*:*|ubuntustudio*:*|ubuntukylin*:*|ubuntu-budgie*:*)
|
||||
BASE_SEED='desktop'
|
||||
;;
|
||||
ubuntu-server:live)
|
||||
BASE_SEED='server'
|
||||
# subiquity is seeded but in a separate squashfs via hooks; set HOOK_SNAPS and ALL_SNAPS.
|
||||
HOOK_SNAPS='subiquity'
|
||||
ALL_SNAPS=''
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${BASE_SEED}" ]; then
|
||||
@ -676,7 +682,7 @@ if [ -n "${BASE_SEED}" ]; then
|
||||
ALL_SNAPS="${ALL_SNAPS:+${ALL_SNAPS} }${snap}"
|
||||
done
|
||||
done
|
||||
if [ -n "${ALL_SNAPS}" ]; then
|
||||
if [ -n "${ALL_SNAPS}" ] || [ -n "${HOOK_SNAPS}" ]; then
|
||||
echo "${ALL_SNAPS}" > config/seeded-snaps
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user