mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-28 19:31:18 +00:00
add a minimal server layer under the full server layer
This commit is contained in:
parent
1e24a44866
commit
d11c71a686
debian
live-build
auto
ubuntu-server
hooks
includes.chroot.ubuntu-server-minimal.ubuntu-server.installer
etc
cloud
systemd
journald.conf.d
system/dev-disk-by\x2duuid-00c629d6\x2d06ab\x2d4dfd\x2db21e\x2dc3186f34105d.device.d
usr
bin
lib/systemd
system
getty@.service.d
getty@tty1.servicelocal-fs.target.wants
media-filesystem.mountserial-getty@.service.d
serial-getty@sclp_line0.service.d
snap.subiquity.subiquity-service.service.d
snapd.service.d
subiquity_config.mountvar/lib/cloud/seed/nocloud
includes.chroot.ubuntu-server-minimal/etc
includes.chroot.ubuntu-server.installer/usr/lib/systemd/system
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
||||
livecd-rootfs (2.733) UNRELEASED; urgency=medium
|
||||
|
||||
* Add a minimal server layer underneath the full server layer. Continue to
|
||||
mount the full server layer at /media/filesystem for now to keep
|
||||
compatibility with current subiquity.
|
||||
|
||||
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Tue, 03 Aug 2021 16:34:57 +1200
|
||||
|
||||
livecd-rootfs (2.732) impish; urgency=medium
|
||||
|
||||
[ Michael Hudson-Doyle ]
|
||||
|
@ -773,15 +773,17 @@ case $PROJECT in
|
||||
case ${SUBPROJECT:-} in
|
||||
live)
|
||||
PASSES_TO_LAYERS=true
|
||||
add_task ubuntu-server minimal standard server
|
||||
add_task ubuntu-server-minimal server-minimal
|
||||
add_package ubuntu-server-minimal lxd-installer
|
||||
add_task ubuntu-server-minimal.ubuntu-server minimal standard server
|
||||
# add_task really should do this itself but for now...
|
||||
snap_from_seed server config/package-lists/livecd-rootfs.snaplist.chroot_ubuntu-server.full
|
||||
add_package ubuntu-server cloud-init
|
||||
snap_from_seed server config/package-lists/livecd-rootfs.snaplist.chroot_ubuntu-server-minimal.ubuntu-server.full
|
||||
add_package ubuntu-server-minimal.ubuntu-server cloud-init
|
||||
|
||||
add_package ubuntu-server.installer linux-firmware lupin-casper openssh-server
|
||||
add_snap ubuntu-server.installer subiquity/classic
|
||||
add_package ubuntu-server-minimal.ubuntu-server.installer linux-firmware lupin-casper openssh-server
|
||||
add_snap ubuntu-server-minimal.ubuntu-server.installer subiquity/classic
|
||||
if [ $ARCH = s390x ]; then
|
||||
add_package ubuntu-server.installer s390-tools-zkey
|
||||
add_package ubuntu-server-minimal.ubuntu-server.installer s390-tools-zkey
|
||||
fi
|
||||
|
||||
# Live server ISOs for LTS point releases past .2 offer both
|
||||
@ -804,8 +806,8 @@ case $PROJECT in
|
||||
exit 1
|
||||
fi
|
||||
|
||||
add_package ubuntu-server.installer.$flavor $kernel_metapkg
|
||||
LIVE_PASSES="${LIVE_PASSES:+$LIVE_PASSES }ubuntu-server.installer.$flavor"
|
||||
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
|
||||
;;
|
||||
*)
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash -ex
|
||||
# vi: ts=4 noexpandtab
|
||||
|
||||
if [ "${PASS}" != "ubuntu-server.installer" ]; then
|
||||
if [ "${PASS}" != "ubuntu-server-minimal.ubuntu-server.installer" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# vi: ts=4 noexpandtab
|
||||
|
||||
case $PASS in
|
||||
ubuntu-server.installer.*)
|
||||
ubuntu-server-minimal.ubuntu-server.installer.*)
|
||||
flavor=${PASS##*.}
|
||||
if [ "$flavor" = "generic" ]; then
|
||||
kernel_metapkg=linux-generic
|
||||
|
@ -2,7 +2,7 @@
|
||||
# vi: ts=4 noexpandtab
|
||||
|
||||
case $PASS in
|
||||
ubuntu-server.installer.*)
|
||||
ubuntu-server-minimal.ubuntu-server.installer.*)
|
||||
flavor=${PASS##*.}
|
||||
;;
|
||||
*)
|
||||
|
@ -0,0 +1,5 @@
|
||||
[Mount]
|
||||
What=/cdrom/casper/ubuntu-server-minimal.ubuntu-server.squashfs
|
||||
Where=/media/filesystem
|
||||
Type=squashfs
|
||||
Options=ro
|
@ -1,5 +0,0 @@
|
||||
[Mount]
|
||||
What=/cdrom/casper/ubuntu-server.squashfs
|
||||
Where=/media/filesystem
|
||||
Type=squashfs
|
||||
Options=ro
|
Loading…
x
Reference in New Issue
Block a user