6 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
8d7efb4d15 Move configuration of casper in ubuntu-serve:live builds to a "chroot early" hook for the installer layer and remove the now unnecessary update-initramfs from the binary hook that breaks because mkinitramfs now requires that /sys is mounted. (LP: #2097280) 2025-02-05 11:23:58 +13:00
Dan Bungert
8acf29a786 live-server: place kernel in the minimal layer
By placing the kernel in minimal, we can achieve the following
improvements:

1. Space savings - there are redundant packages present in the ship-live
   pool and in the live layer.  Adding the kernel to minimal means that
   the kernel is already in the live layer, and we don't then also need
   it in the pool.
2. Time savings - informal vm testing suggests more than a minute
   improvement to have the kernel preinstalled over installing it at
   runtime.

As always, there is a cost tradeoff:

1. If a different kernel is desired, we need to be able to remove this
   preinstalled kernel.  Relevant curtin and subiquity changes are
   already landed.
2. When installing that other kernel, it'll take longer than today due
   to still needing to install a kernel at runtime + the time cost of
   removing the preinstalled kernel.
2024-09-10 17:00:56 -06:00
Łukasz 'sil2100' Zemczak
85f93d836a Add intel-iot server image support to devel. 2023-03-17 12:15:05 +01:00
Michael Hudson-Doyle
fb589ecf00 Produce a tarball of artifacts for netbooting during live-server build. 2022-05-26 14:33:59 +12:00
Michael Hudson-Doyle
d11c71a686 add a minimal server layer under the full server layer 2021-08-03 16:36:00 +12:00
Michael Hudson-Doyle
fc890b15e7 adjust hooks for move of live-server to layers 2021-07-07 19:31:53 +12:00