Better laying of tasks

ubuntu-core-desktop-noble
Sean Davis 10 months ago
parent ea16e4ef5a
commit dea479a2b1
No known key found for this signature in database
GPG Key ID: B72F4B093A3625DB

@ -884,11 +884,9 @@ case $PROJECT in
touch config/universe-enabled touch config/universe-enabled
PASSES_TO_LAYERS="true" PASSES_TO_LAYERS="true"
KERNEL_FLAVOURS=generic KERNEL_FLAVOURS=generic
case ${SUBPROJECT:-} in # the minimal layer, for minimal installs (minimal and desktop iso)
minimal)
add_task minimal minimal standard xubuntu-minimal add_task minimal minimal standard xubuntu-minimal
add_task minimal.standard xubuntu-minimal cat <<-EOF > config/minimal.catalog-in.yaml
cat <<-EOF > config/minimal.standard.catalog-in.yaml
name: "Xubuntu Minimal" name: "Xubuntu Minimal"
description: >- description: >-
A minimal installation of the Xubuntu Desktop. A minimal installation of the Xubuntu Desktop.
@ -898,19 +896,12 @@ case $PROJECT in
locale_support: langpack locale_support: langpack
default: yes default: yes
EOF EOF
;; add_task minimal.live xubuntu-minimal-live
add_package minimal.live linux-$KERNEL_FLAVOURS
case ${SUBPROJECT:-} in
*) *)
add_task minimal minimal standard xubuntu-desktop # the standard layer, for standard installs (desktop iso)
add_task minimal.standard xubuntu-desktop add_task minimal.standard xubuntu-desktop
cat <<-EOF > config/minimal.catalog-in.yaml
name: "Xubuntu Desktop (minimized)"
description: >-
A minimal installation of the Xubuntu Desktop.
id: xubuntu-desktop-minimal
type: fsimage-layered
variant: desktop
locale_support: langpack
EOF
cat <<-EOF > config/minimal.standard.catalog-in.yaml cat <<-EOF > config/minimal.standard.catalog-in.yaml
name: "Xubuntu Desktop" name: "Xubuntu Desktop"
description: >- description: >-
@ -921,10 +912,10 @@ case $PROJECT in
locale_support: langpack locale_support: langpack
default: yes default: yes
EOF EOF
;;
esac
add_task minimal.standard.live xubuntu-live add_task minimal.standard.live xubuntu-live
add_package minimal.standard.live linux-$KERNEL_FLAVOURS add_package minimal.standard.live linux-$KERNEL_FLAVOURS
;;
esac
/usr/share/livecd-rootfs/checkout-translations-branch \ /usr/share/livecd-rootfs/checkout-translations-branch \
https://git.launchpad.net/subiquity po config/catalog-translations https://git.launchpad.net/subiquity po config/catalog-translations
;; ;;

Loading…
Cancel
Save