Imported using git-ubuntu import.
Changelog parent: a24eb25b00
New changelog entries:
* Don't divert grub-probe; otherwise we're missing the filesystem UUIDs that
the grub search command needs to find the right prefix/root. This is
different than the PARTUUID for booting initrd-less.
Imported using git-ubuntu import.
Changelog parent: 5b1c308682
New changelog entries:
* Ensure MAAS squashfsi are clean of passwords. LP: #1764991.
* Allow the configuration of model assertions independent of preseeding
snaps.
* Allow non-generic model assertions to be configured.
* Don't include the name of the model assertion in the path we write it out
to (LP: #1764541).
Imported using git-ubuntu import.
Changelog parent: f0de674aad
New changelog entries:
[ Robert C Jennings ]
* Refactor snap preseeding to allow additional snaps to be preseeded from
hooks
Imported using git-ubuntu import.
Changelog parent: 54408aa506
New changelog entries:
[ Steve Langasek ]
* Properly handle loop device names when there are > 10 devices on the
system.
[ Dimitri John Ledkov ]
* Build EFI armhf images.
Imported using git-ubuntu import.
Changelog parent: 1db37274ff
New changelog entries:
[ Michael Hudson-Doyle ]
* Automount a partition of fixed UUID for giving subiquity canned answers.
[ Balint Reczey ]
* Use default xz compression (-6) for raspi2 image.
Xz with -0 generated ~35% bigger compressed image. (LP: #1732681)
* Zero fill space in UEFI partitions, too
* Set LB_ISO_PREPARER to livecd-rootfs to avoid unbound variable in
default string
* Build minimized images in a 1GiB image
Imported using git-ubuntu import.
Changelog parent: 9f966299f1
New changelog entries:
* Purge initramfs-tools from minimized images.
* Make sure to remove any initramfs that was generated in a minimized
image.
* divert /usr/bin/systemd-detect-virt as part of the grub diversions, so
that the grub kernel postinst hook is operational when we're building
in a container. LP: #1729034.
Imported using git-ubuntu import.
Changelog parent: fb1b5e73e3
New changelog entries:
* Now that grub-related diversions have been factored out in 2.466
instead of having bogus root=stuff arg generated in grub.cfg, it is
actually empty. Therefore update the sed command to make the arg in
the root= token optional. This should resolve non-booting livecd cpc
images.
Imported using git-ubuntu import.
Changelog parent: 8168b7c92a
New changelog entries:
* ubuntu-server: drop hard-coded test key from the subiquity overlay in
favor of the generic-classic assertion from the store.
* move snap assertion handling into the generic build script (and, in
the process, from the subiquity overlay to the base squashfs).
* add ubuntu-mate to the set of projects we add snap model assertions to.
* Factor out grub-related diversions and use them consistently, so we
don't end up with wrong os-probe output in our grub.cfg.
* Fix the force-partuuid handling to create the file under
/etc/default/grub.d/ with a .cfg extension as grub expects; it's unclear
how this ever worked without.
Imported using git-ubuntu import.
Changelog parent: 060069bc77
New changelog entries:
[ Steve Langasek ]
* Begin adding support for a project-independent 'minimize' subproject, which
(ironically) omits ubuntu-minimal in favor of using only the minbase
package set.
* Export the subproject into config/chroot and config/binary, so that this
information is available to per-project hooks that need to be
subproject-aware (e.g., to skip steps when SUBPROJECT=minimize)
* Make the 999-cpc-fixes.chroot subproject-aware, so we don't try to
locale-gen
* In a cloud environment, we can rely on the kernel being able to boot the
root filesystem directly, without an initramfs; enable this when building
minimized.
* If we're using SUBPROJECT=minimize, and tzdata is not installed, remove
files that have been left behind. This is a workaround for a bug that
should be fixed in tzdata.
[ Balint Reczey ]
* Mount using --make-rslave to ensure safe unmounts for rbind mounts
* Don't ask for password and GECOS while creating vagrant user
* Drop man pages and most of the documentation from minimized images
/usr/share/doc/*/copyright and changelog.Debian.gz files are still kept
* Add unminimize script for reverting minimization on running system
* Install ubuntu-minimal while unminimizing the system
Imported using git-ubuntu import.
Changelog parent: 3adf9af2a9
New changelog entries:
* Improve teardown_mountpoint to recursively find all submounts and
unmount them, instead of working from a hard-coded list. This makes
the code resilient against other submounts being added later, including
downstream.
* Also nuke the sleep / udevadm settle calls in the process, which should
never be required and slow down the builds.
[ Michael Hudson-Doyle ]
* set a default netplan config of dhcp-on-ethernet for the server live image
Imported using git-ubuntu import.
Changelog parent: efbd6fd1c6
New changelog entries:
* Restore the call to 'umount -R $mountpoint' from umount_partition,
accidentally dropped in previous upload.
Imported using git-ubuntu import.
Changelog parent: 6e53d32cd8
New changelog entries:
[ Steve Langasek ]
* live-build/functions: mount tmpfs on /var/cache/apt and var/lib/apt, so
we don't have to leave empty space in our derivative images for packages
that have been downloaded/installed/removed. This normally isn't
relevant for the installed system, since the root filesystem will
auto-expand in place on the target disk, but lets us ship smaller
images.
* live-build/functions: also call 'apt-get update' after mounting the
blank /var/lib/apt.
* live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: call apt-get
update *before* installing packages, not after.
[ Robert C Jennings ]
* live-build/ubuntu-cpc/functions: Add a function, teardown_mountpoint,
to reverse the work done in setup_mountpoint. Lack of this function
has forced users of setup_mountpoint to implement this separately
and the implementations have diverged. (LP: #1716992)
* live-build/ubuntu-cpc/functions: Remove umount_settle function.
The was only used where teardown_mountpoint was lacking.
[ Steve Langasek ]
* Also adjust live-build/ubuntu-server/hooks/032-installer-squashfs.binary
to use teardown_mountpoint.
Imported using git-ubuntu import.
Changelog parent: 70a41fd45c
New changelog entries:
[ Chris Glass ]
* Create vagrant user for vagrant image, per upstream requirements.
[ Colin Watson ]
* Mount and unmount /dev recursively, to cope with setups where there are
interesting bind-mounts under /dev (e.g. loop devices bind-mounted by
LXD). LP: #1716465.
Imported using git-ubuntu import.
Changelog parent: 5eb31aa1c2
New changelog entries:
[ Balint Reczey ]
* Use VMDKstream in a more future-proof way
[ Dimitri John Ledkov ]
* Drop creating upstart jobs for serial getty.
Imported using git-ubuntu import.
Changelog parent: 402cae06bd
New changelog entries:
[ Balint Reczey ]
* Depend on packages in main instead of installing them at runtime
* Depend on vmdk-stream-converter instead of installing it at run time
* Use xz -T4 -0 instead of pxz (LP: #1701132)
Supported xz versions before 5.2 also accept the -T4 option but ignore
it.
* Depend on xz-utils instead of pxz
[ Mathieu Trudel-Lapierre ]
* auto/config: enable Debug::pkgDepCache::AutoInstall so tracking down
dependency bugs in the livefs is a little clearer.
[ Robert C Jennings ]
* live-build/functions: Update path for VMDKstream.py (LP: #1706116)
Imported using git-ubuntu import.
Changelog parent: 2d6d50b86f
New changelog entries:
* Resurrect Balint's fix from
lp:~rbalint/livecd-rootfs/livecd-rootfs-autopkgtest-fix to wrap kpartx
and trap spurious errors, since the problem is still being seen
intermittently on i386 despite us calling sync before kpartx.
[ Mathieu Trudel-Lapierre ]
* Use ubuntu-server as the user for autologin on ubuntu-server live images.
[ Simon Quigley ]
* Use the correct task for lubuntu-next.
* Use --no-install-recommends for lubuntu-next, consistent with lubuntu.
Imported using git-ubuntu import.
Changelog parent: 41970327be
New changelog entries:
[ Robert Jennings ]
* live-build/ubuntu-cpc/hooks/060-ipv6.chroot: remove faulty release
comparison prior to aa-series (LP: #1681548)
* live-build/ubuntu-cpc/hooks/999-extras.binary: Exit on first failure
[ Balint Reczey ]
* sync before calling kpartx to let writing to loop devices finish
* Sort and list dependencies nicely
* Require PROJECT environment to be set for lb build
* Allow overwriting IMAGEFORMAT even for ubuntu-cpc and ubuntu-server
* Optionally use ubuntu-image for building snap based images
Imported using git-ubuntu import.
Changelog parent: 2ac1eda867
New changelog entries:
[ Balint Reczey ]
* Add a basic but configurable autopkgtest.
[ Mathieu Trudel-Lapierre ]
* Add ubuntu-server:live for a subiquity-based server image.
* Refactor functions out of ubuntu-cpc and ubuntu-server hooks.