Minimize duplication

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

@ -880,38 +880,28 @@ case $PROJECT in
;; ;;
xubuntu) xubuntu)
case ${SUBPROJECT:-} in
minimal)
# Xubuntu now ships the new installer. # Xubuntu now ships the new installer.
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
minimal)
add_task minimal minimal standard xubuntu-minimal add_task minimal minimal standard xubuntu-minimal
add_task minimal.standard xubuntu-minimal add_task minimal.standard xubuntu-minimal
add_task minimal.standard.live xubuntu-live
add_package minimal.standard.live linux-$KERNEL_FLAVOURS
cat <<-EOF > config/minimal.standard.catalog-in.yaml cat <<-EOF > config/minimal.standard.catalog-in.yaml
name: "Xubuntu Desktop" name: "Xubuntu Minimal"
description: >- description: >-
A full featured Xubuntu Desktop. A minimal installation of the Xubuntu Desktop.
id: xubuntu-minimal id: xubuntu-minimal
type: fsimage-layered type: fsimage-layered
variant: desktop variant: desktop
locale_support: langpack locale_support: langpack
default: yes default: yes
EOF EOF
/usr/share/livecd-rootfs/checkout-translations-branch \
https://git.launchpad.net/subiquity po config/catalog-translations
;; ;;
*) *)
# Xubuntu now ships the new installer.
touch config/universe-enabled
PASSES_TO_LAYERS="true"
KERNEL_FLAVOURS=generic
add_task minimal minimal standard xubuntu-desktop add_task minimal minimal standard xubuntu-desktop
add_task minimal.standard xubuntu-desktop add_task minimal.standard xubuntu-desktop
add_task minimal.standard.live xubuntu-live
add_package minimal.standard.live linux-$KERNEL_FLAVOURS
cat <<-EOF > config/minimal.catalog-in.yaml cat <<-EOF > config/minimal.catalog-in.yaml
name: "Xubuntu Desktop (minimized)" name: "Xubuntu Desktop (minimized)"
description: >- description: >-
@ -931,10 +921,12 @@ case $PROJECT in
locale_support: langpack locale_support: langpack
default: yes default: yes
EOF EOF
/usr/share/livecd-rootfs/checkout-translations-branch \
https://git.launchpad.net/subiquity po config/catalog-translations
;; ;;
esac esac
add_task minimal.standard.live xubuntu-live
add_package minimal.standard.live linux-$KERNEL_FLAVOURS
/usr/share/livecd-rootfs/checkout-translations-branch \
https://git.launchpad.net/subiquity po config/catalog-translations
;; ;;
ubuntu-budgie) ubuntu-budgie)

Loading…
Cancel
Save