mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-06 07:32:22 +00:00
Switch Ubuntu MATE to layered image
Ubuntu MATE is switching to a layered image in preparation to use ubuntu-desktop-provision. Luckily, their seed structure is already well-structured for layering, so this is easily done.
This commit is contained in:
parent
e18fd763ea
commit
10e718a019
@ -570,7 +570,7 @@ case $IMAGEFORMAT in
|
|||||||
case $PROJECT in
|
case $PROJECT in
|
||||||
ubuntu-server|ubuntu-wsl|ubuntu-oem|ubuntu|\
|
ubuntu-server|ubuntu-wsl|ubuntu-oem|ubuntu|\
|
||||||
ubuntu-budgie|ubuntustudio-dvd|edubuntu|ubuntucinnamon|xubuntu|\
|
ubuntu-budgie|ubuntustudio-dvd|edubuntu|ubuntucinnamon|xubuntu|\
|
||||||
ubuntukylin)
|
ubuntukylin|ubuntu-mate)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
add_package live casper
|
add_package live casper
|
||||||
@ -993,8 +993,35 @@ case $PROJECT in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
ubuntu-mate)
|
ubuntu-mate)
|
||||||
add_task install minimal standard ubuntu-mate-core ubuntu-mate-desktop
|
# Ubuntu MATE now ships the new installer.
|
||||||
LIVE_TASK='ubuntu-mate-live'
|
touch config/universe-enabled
|
||||||
|
PASSES_TO_LAYERS="true"
|
||||||
|
KERNEL_FLAVOURS=generic
|
||||||
|
add_task minimal minimal standard ubuntu-mate-core
|
||||||
|
add_task minimal.standard ubuntu-mate-desktop
|
||||||
|
add_task minimal.standard.live ubuntu-mate-live
|
||||||
|
add_package minimal.standard.live linux-$KERNEL_FLAVOURS
|
||||||
|
cat <<-EOF > config/minimal.catalog-in.yaml
|
||||||
|
name: "Ubuntu MATE Desktop (minimized)"
|
||||||
|
description: >-
|
||||||
|
A minimal installation of the Ubuntu MATE Desktop.
|
||||||
|
id: ubuntu-mate-desktop-minimal
|
||||||
|
type: fsimage-layered
|
||||||
|
variant: desktop
|
||||||
|
locale_support: langpack
|
||||||
|
EOF
|
||||||
|
cat <<-EOF > config/minimal.standard.catalog-in.yaml
|
||||||
|
name: "Ubuntu MATE Desktop"
|
||||||
|
description: >-
|
||||||
|
A full featured Ubuntu MATE Desktop.
|
||||||
|
id: ubuntu-mate-desktop
|
||||||
|
type: fsimage-layered
|
||||||
|
variant: desktop
|
||||||
|
locale_support: langpack
|
||||||
|
default: yes
|
||||||
|
EOF
|
||||||
|
/usr/share/livecd-rootfs/checkout-translations-branch \
|
||||||
|
https://git.launchpad.net/subiquity po config/catalog-translations
|
||||||
;;
|
;;
|
||||||
|
|
||||||
ubuntustudio-dvd)
|
ubuntustudio-dvd)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user