|
|
@ -814,29 +814,12 @@ case $PROJECT in
|
|
|
|
touch config/universe-enabled
|
|
|
|
touch config/universe-enabled
|
|
|
|
KERNEL_FLAVOURS='generic-hwe-22.04'
|
|
|
|
KERNEL_FLAVOURS='generic-hwe-22.04'
|
|
|
|
PASSES_TO_LAYERS="true"
|
|
|
|
PASSES_TO_LAYERS="true"
|
|
|
|
# the live layer, contains all packages for the live session installer
|
|
|
|
|
|
|
|
add_task live minimal
|
|
|
|
|
|
|
|
add_snap live ubuntu-core-desktop-installer/classic core22 snapd
|
|
|
|
|
|
|
|
add_package live linux-$KERNEL_FLAVOURS plymouth-theme-spinner squashfs-tools snapd cloud-init
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# now let's create the neccessary catalog files
|
|
|
|
# the minimal layer, for minimal installs
|
|
|
|
cat <<-EOF > config/live.catalog-in.yaml
|
|
|
|
add_task minimal minimal
|
|
|
|
- default: true
|
|
|
|
# the live layer, contains all packages for the live session installer
|
|
|
|
description:
|
|
|
|
add_snap minimal.live ubuntu-core-desktop-installer/classic core22 snapd
|
|
|
|
en: Ubuntu Core Desktop.
|
|
|
|
add_package minimal.live linux-$KERNEL_FLAVOURS plymouth-theme-spinner squashfs-tools snapd cloud-init
|
|
|
|
id: ubuntu-core-desktop
|
|
|
|
|
|
|
|
locale_support: none
|
|
|
|
|
|
|
|
name:
|
|
|
|
|
|
|
|
en: Ubuntu Core Desktop
|
|
|
|
|
|
|
|
path: pc.img.xz
|
|
|
|
|
|
|
|
type: dd-xz:file
|
|
|
|
|
|
|
|
size: @SIZE@
|
|
|
|
|
|
|
|
variant: core
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# we have to manually mark the live layer as the LIVE_PASS, since it's also
|
|
|
|
|
|
|
|
# the only layer we build
|
|
|
|
|
|
|
|
LIVE_PASS=live
|
|
|
|
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
ubuntu-oem)
|
|
|
|
ubuntu-oem)
|
|
|
|