create source catalogs for live server install sources

impish-sru-lp-1946520
Michael Hudson-Doyle 3 years ago
parent fb8c694530
commit cda8c920dd

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.734) UNRELEASED; urgency=medium
* Create source catalogs for the installable live server layers.
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Tue, 03 Aug 2021 16:34:57 +1200
livecd-rootfs (2.733) impish; urgency=medium livecd-rootfs (2.733) impish; urgency=medium
[ Michael Hudson-Doyle ] [ Michael Hudson-Doyle ]

@ -810,6 +810,10 @@ case $PROJECT in
add_package ubuntu-server-minimal.ubuntu-server.installer.$flavor $kernel_metapkg add_package ubuntu-server-minimal.ubuntu-server.installer.$flavor $kernel_metapkg
LIVE_PASSES="${LIVE_PASSES:+$LIVE_PASSES }ubuntu-server-minimal.ubuntu-server.installer.$flavor" LIVE_PASSES="${LIVE_PASSES:+$LIVE_PASSES }ubuntu-server-minimal.ubuntu-server.installer.$flavor"
done done
/usr/share/livecd-rootfs/checkout-translations-branch \
lp:~canonical-foundations/subiquity/translations-export \
config/catalog-translations
;; ;;
*) *)
echo "unrecognized subproject for server: '$SUBPROJECT'" echo "unrecognized subproject for server: '$SUBPROJECT'"

@ -138,6 +138,13 @@ build_layered_squashfs () {
fi fi
create_squashfs "overlay.${pass}/" ${squashfs_f} create_squashfs "overlay.${pass}/" ${squashfs_f}
if [ -f config/$pass.catalog-in.yaml ]; then
/usr/share/livecd-rootfs/update-source-catalog --output livecd.${PROJECT}.install-sources.yaml \
--template config/$pass.catalog-in.yaml \
--size $(du -B 1 -s chroot/ | cut -f1) --squashfs ${pass}.squashfs \
--translations config/catalog-translations
fi
fi fi
if [ -n "$lowerdirs" ]; then if [ -n "$lowerdirs" ]; then

@ -0,0 +1,8 @@
name: "Ubuntu Server (minimized)"
description: >-
This version has been customized to have a small runtime footprint
in order to increase workload density in environments where humans
are not expected to log in.
id: ubuntu-server-minimal
type: fsimage
variant: server

@ -0,0 +1,8 @@
name: "Ubuntu Server"
description: >-
The default install contains a curated set of packages that provide
a comfortable experience for operating your server.
id: ubuntu-server
default: yes
type: fsimage-layered
variant: server
Loading…
Cancel
Save