|
|
@ -723,15 +723,9 @@ case $PROJECT in
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
canary)
|
|
|
|
canary)
|
|
|
|
PASSES_TO_LAYERS="true"
|
|
|
|
PASSES_TO_LAYERS="true"
|
|
|
|
# the standard layer, contains all base common packages for later layers (we're splitting out the snaps)
|
|
|
|
# the standard layer, contains all base common packages for later layers
|
|
|
|
add_task standard minimal standard ubuntu-desktop ubuntu-desktop-default-languages
|
|
|
|
add_task standard minimal standard ubuntu-desktop ubuntu-desktop-default-languages
|
|
|
|
add_package standard cloud-init
|
|
|
|
add_package standard cloud-init
|
|
|
|
# the classic layer, basically only contains snaps from the standard and minimal tasks
|
|
|
|
|
|
|
|
add_pass standard.classic
|
|
|
|
|
|
|
|
if [ -e "config/package-lists/livecd-rootfs.snaplist.chroot_standard.full" ]; then
|
|
|
|
|
|
|
|
cat config/package-lists/livecd-rootfs.snaplist.chroot_standard.full >>config/package-lists/livecd-rootfs.snaplist.chroot_standard.classic.full
|
|
|
|
|
|
|
|
rm config/package-lists/livecd-rootfs.snaplist.chroot_standard.full
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
# the live layer, contains all packages for the live session installer
|
|
|
|
# the live layer, contains all packages for the live session installer
|
|
|
|
# TODO: we should probably add the kernel per KERNEL_FLAVOURS
|
|
|
|
# TODO: we should probably add the kernel per KERNEL_FLAVOURS
|
|
|
|
add_package standard.live linux-generic casper lvm2 mdadm cryptsetup dctrl-tools
|
|
|
|
add_package standard.live linux-generic casper lvm2 mdadm cryptsetup dctrl-tools
|
|
|
@ -742,7 +736,7 @@ case $PROJECT in
|
|
|
|
# language support
|
|
|
|
# language support
|
|
|
|
seeded_langs="$(get_seeded_languages desktop)"
|
|
|
|
seeded_langs="$(get_seeded_languages desktop)"
|
|
|
|
echo "$seeded_langs" | tr ' ' ',' > config/seeded-languages
|
|
|
|
echo "$seeded_langs" | tr ' ' ',' > config/seeded-languages
|
|
|
|
derive_language_layers standard.classic desktop desktop-default-languages "$seeded_langs"
|
|
|
|
derive_language_layers standard desktop desktop-default-languages "$seeded_langs"
|
|
|
|
derive_language_layers standard.enhanced-secureboot desktop desktop-default-languages "$seeded_langs"
|
|
|
|
derive_language_layers standard.enhanced-secureboot desktop desktop-default-languages "$seeded_langs"
|
|
|
|
|
|
|
|
|
|
|
|
# now let's create the neccessary catalog files
|
|
|
|
# now let's create the neccessary catalog files
|
|
|
@ -755,12 +749,9 @@ case $PROJECT in
|
|
|
|
variant: desktop
|
|
|
|
variant: desktop
|
|
|
|
locale_support: langpack
|
|
|
|
locale_support: langpack
|
|
|
|
default: yes
|
|
|
|
default: yes
|
|
|
|
EOF
|
|
|
|
|
|
|
|
cat <<-EOF > config/standard.classic.catalog-in.yaml
|
|
|
|
|
|
|
|
id: ubuntu-desktop
|
|
|
|
|
|
|
|
variations:
|
|
|
|
variations:
|
|
|
|
classic:
|
|
|
|
standard:
|
|
|
|
path: standard.classic.squashfs
|
|
|
|
path: standard.squashfs
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
cat <<-EOF > config/standard.enhanced-secureboot.catalog-in.yaml
|
|
|
|
cat <<-EOF > config/standard.enhanced-secureboot.catalog-in.yaml
|
|
|
|
id: ubuntu-desktop
|
|
|
|
id: ubuntu-desktop
|
|
|
|