canary: attempt to enable locale support for canary layers.

canary-locale
Łukasz 'sil2100' Zemczak 1 year ago
parent f045e9d376
commit 09cec13e37

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (23.10.4ubuntu1) UNRELEASED; urgency=medium
* canary: enable locale support for canary layers.
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Wed, 19 Jul 2023 16:36:35 +0200
livecd-rootfs (23.10.4) mantic; urgency=medium livecd-rootfs (23.10.4) mantic; urgency=medium
* canary: use new 23.10 models for both the live and enhanced-sb layers. * canary: use new 23.10 models for both the live and enhanced-sb layers.

@ -744,6 +744,13 @@ case $PROJECT in
remove_package minimal.standard.live ubiquity-frontend-gtk remove_package minimal.standard.live ubiquity-frontend-gtk
# the enhanced-secureboot layer, contains all packages for the enhanced secureboot install # the enhanced-secureboot layer, contains all packages for the enhanced secureboot install
add_package minimal.standard.enhanced-secureboot cryptsetup boot-managed-by-snapd add_package minimal.standard.enhanced-secureboot cryptsetup boot-managed-by-snapd
# language support
seeded_langs="$(get_seeded_languages desktop-minimal desktop)"
echo "$seeded_langs" | tr ' ' ',' > config/seeded-languages
derive_language_layers minimal desktop-minimal desktop-minimal-default-languages "$seeded_langs"
derive_language_layers minimal.standard desktop desktop-default-languages "$seeded_langs"
# now let's create the neccessary catalog files # now let's create the neccessary catalog files
# TODO: make sure that we handle locale_support: langpack correctly # TODO: make sure that we handle locale_support: langpack correctly
cat <<-EOF > config/minimal.catalog-in.yaml cat <<-EOF > config/minimal.catalog-in.yaml
@ -753,7 +760,7 @@ case $PROJECT in
id: ubuntu-desktop-minimal id: ubuntu-desktop-minimal
type: fsimage-layered type: fsimage-layered
variant: desktop variant: desktop
locale_support: none locale_support: langpack
EOF EOF
cat <<-EOF > config/minimal.standard.catalog-in.yaml cat <<-EOF > config/minimal.standard.catalog-in.yaml
name: "Ubuntu Desktop" name: "Ubuntu Desktop"
@ -762,7 +769,7 @@ case $PROJECT in
id: ubuntu-desktop id: ubuntu-desktop
type: fsimage-layered type: fsimage-layered
variant: desktop variant: desktop
locale_support: none locale_support: langpack
default: yes default: yes
EOF EOF
cat <<-EOF > config/minimal.standard.classic.catalog-in.yaml cat <<-EOF > config/minimal.standard.classic.catalog-in.yaml

Loading…
Cancel
Save