mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-06 00:41:14 +00:00
create source catalogs for live server install sources
This commit is contained in:
parent
fb8c694530
commit
cda8c920dd
6
debian/changelog
vendored
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
|
||||
|
||||
[ Michael Hudson-Doyle ]
|
||||
|
@ -810,6 +810,10 @@ case $PROJECT in
|
||||
add_package ubuntu-server-minimal.ubuntu-server.installer.$flavor $kernel_metapkg
|
||||
LIVE_PASSES="${LIVE_PASSES:+$LIVE_PASSES }ubuntu-server-minimal.ubuntu-server.installer.$flavor"
|
||||
done
|
||||
|
||||
/usr/share/livecd-rootfs/checkout-translations-branch \
|
||||
lp:~canonical-foundations/subiquity/translations-export \
|
||||
config/catalog-translations
|
||||
;;
|
||||
*)
|
||||
echo "unrecognized subproject for server: '$SUBPROJECT'"
|
||||
|
@ -138,6 +138,13 @@ build_layered_squashfs () {
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
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…
x
Reference in New Issue
Block a user