From ac41893c1447d3c29d703f0e21e9a84572498b2b Mon Sep 17 00:00:00 2001 From: Sebastien Bacher Date: Tue, 12 Sep 2023 12:34:31 +0200 Subject: [PATCH] Fix the minimal option for the oem mode config --- live-build/auto/config | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/live-build/auto/config b/live-build/auto/config index e71dad54..dc2a3c35 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -777,12 +777,23 @@ case $PROJECT in PASSES_TO_LAYERS="true" #KERNEL_FLAVOURS='oem-22.04' KERNEL_FLAVOURS='generic-hwe-22.04' - add_task standard minimal standard ubuntu-desktop ubuntu-desktop-default-languages + add_task minimal minimal standard ubuntu-desktop-minimal ubuntu-desktop-minimal-default-languages + add_package minimal cloud-init + add_task minimal.standard ubuntu-desktop ubuntu-desktop-default-languages add_task minimal.standard.live ubuntu-live - add_package standard cloud-init remove_package minimal.standard.live ubiquity-frontend-gtk add_snap minimal.standard.live ubuntu-desktop-installer/classic + cat <<-EOF > config/minimal.catalog-in.yaml + name: "Ubuntu Desktop for OEM (minimal)" + description: >- + Ubuntu Desktop (minimal) for OEM preinstallation. + id: ubuntu-desktop-oem-minimal + type: fsimage-layered + variant: desktop + locale_support: none + default: yes + EOF cat <<-EOF > config/minimal.standard.catalog-in.yaml name: "Ubuntu Desktop for OEM" description: >- @@ -791,7 +802,6 @@ case $PROJECT in type: fsimage-layered variant: desktop locale_support: none - default: yes EOF ;;