Imported using git-ubuntu import.
Changelog parent: 4de1045012
New changelog entries:
* Minimize the number of manually installed packages in images by marking
dependencies of metapackages as automatically installed.
Imported using git-ubuntu import.
Changelog parent: b7072174dc
New changelog entries:
* Disentangle enabling universe in the final image a little from having
PREINSTALLED=true set and enable it for a live-server build.
(LP: #1783129)
Imported using git-ubuntu import.
Changelog parent: 0564e36edc
New changelog entries:
[ Michael Hudson-Doyle ]
* Disable journald rate limiting in the live-server live session.
(LP: #1776891)
[ Steve Langasek ]
* generate all tar files with --xattrs. LP: #1302192.
Imported using git-ubuntu import.
Changelog parent: 3f03257a8c
New changelog entries:
[ Robert C Jennings ]
* ubuntu-cpc: Remove git-man for minimized images
* Disable checksum generation
[ Colin Watson ]
* live-build/auto/config: Drop "lp-*" hostname filter for Launchpad
builders, since LP #1747015 is now fixed; "*.buildd" should be enough.
[ Francis Ginther ]
* Update unminimize script text and install ubuntu-standard when
unminimizing a minimal image (LP: #1778777)
Imported using git-ubuntu import.
Changelog parent: 8b47481862
New changelog entries:
* ubuntu-cpc: Generate the root image contents once, and use it for both the
-root.tar.xz and the .squashfs.
Imported using git-ubuntu import.
Changelog parent: d9fe4558cf
New changelog entries:
[ Daniel Watkins ]
* ubuntu-cpc: Use linux-kvm for all amd64 minimized builds (LP: #1775472).
[ Steve Langasek ]
* live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: don't manually
install grub-efi-amd64 since that forces off grub-pc, which is otherwise
now coinstallable.
Imported using git-ubuntu import.
Changelog parent: a24105792f
New changelog entries:
* Improvements to the ubuntu-base (i.e. Docker) build:
- Customize the unminimize script to not install ubuntu-minimal.
- Divert /usr/bin/man to a script that points to the unminimize script.
- Remove apt lists that are currently removed downstream anyway.
(LP: #1699913)
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: a4e3e38884
New changelog entries:
* Symlink systemd-networkd-wait-online to /bin/true in the live installer
live session to avoid depending on buggy systemd behaviour.
* Remove "optional: true" from installer netplan config.
Imported using git-ubuntu import.
Changelog parent: af4bbf0879
New changelog entries:
* Drop Lubuntu Next now that Lubuntu Next is Lubuntu.
* Don't follow recommends on Lubuntu now that this is no longer the
case in the seed.
Imported using git-ubuntu import.
Changelog parent: 547df52eeb
New changelog entries:
* Don't fail to build CPC images if /lib/modules already exists in the
squashfs.
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: abfea5773a
New changelog entries:
* Remove landscape-common from minimal image, and handle restoring it in
unminimize script. LP: #1763182.
Imported using git-ubuntu import.
Changelog parent: 71b98bc5df
New changelog entries:
* In subiquity image, mount additional squashfs in /media.
* Make lzma initramfs compression opt-in rather than opt-out, and do not
opt-in to it for live-server builds to speed up the boot. (LP: #1750873)
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: 7f7f42d61d
New changelog entries:
* Make subiquity installer boot quicker, by making dhcp interfaces
optional, such that wait-online is not blocking bringing up the
installer UI.
Imported using git-ubuntu import.
Changelog parent: 29bf8e0b85
New changelog entries:
[ Chris Glass ]
* Make sure we call the build "minimal" within the cloud build info,
when building a minimized image.
Imported using git-ubuntu import.
Changelog parent: 3f7a768645
New changelog entries:
* Set the default locale to C.UTF-8 in all server and cloud images.
(LP: #1751051, #1759003)
Imported using git-ubuntu import.
Changelog parent: d7e1e72398
New changelog entries:
* On amd64, if building minimal images for bionic, xenial, or extra ppa,
use kvm kernel, otherwise fallback to virtual.
Imported using git-ubuntu import.
Changelog parent: 2be32c140c
New changelog entries:
* In the live-server build, prevent casper from mounting any existing
swap partitions from drives we might later be installing to.
(LP: #1743643)
Imported using git-ubuntu import.
Changelog parent: f276860114
New changelog entries:
* ubuntu-cpc: When performing a minimized build, don't generate artifacts
that won't boot with the linux-kvm kernel (LP: #1757223).
Imported using git-ubuntu import.
Changelog parent: dcf2b800f6
New changelog entries:
* Whitelist preserving "unowned" /var/log/journal. Maybe systemd package
should own the directory, and only adjust the permissions in
postinst. LP: #1754332
Imported using git-ubuntu import.
Changelog parent: 718c2fc269
New changelog entries:
* Rename the directory containing the systemd override file for subiquity to
the correct name :/
* Add Environment=SNAP_REEXEC=0 to the above override file.
* Remove the snap.subiquity.started overrides, that service is long gone.
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: 300abafa6e
New changelog entries:
* Use Ubuntu-specific branches when seeding snaps, as required in
<https://wiki.ubuntu.com/UbuntuSeededSnaps>.
* Add dependency on distro-info for the above.
Imported using git-ubuntu import.
Changelog parent: be9e81b561
New changelog entries:
* ubuntu-server: generate multi-lowerdir overlayfs for
maas-rack-controller, and full maas. To be used in subiquity for maas
install options.
Imported using git-ubuntu import.
Changelog parent: c050b67796
New changelog entries:
* live-build-auto/{build,config}: Support fetching a file from the seed
mirror (BASE_SEED.minimal-remove) and putting it into the livefs build as
filesystem.manifest-minimal-remove. It's intended for ubiquity to read
this file as a list of packages to remove when doing a 'minimal' desktop
installation.
Imported using git-ubuntu import.
Changelog parent: 43f65f0fff
New changelog entries:
* Override JobRunningTimeoutSec to 0s on the .device unit that
subiquity_config.mount depends on to avoid a 5s delay on switching to a
new VT when there is no device there (LP: #1750117)
Imported using git-ubuntu import.
Changelog parent: cfcac92328
New changelog entries:
* Install linux-signed-generic in the live-server image. (LP: #1749065)
Imported using git-ubuntu import.
Changelog parent: 3b7b54098b
New changelog entries:
* Shuffle subiquity service definition to a mix of a snapd-generated service
file (from the subiquity snap) and an overlay (in this package).
Imported using git-ubuntu import.
Changelog parent: 7e7272c6ec
New changelog entries:
* live-build/auto/config: Take into account SUBPROJECT when setting seeded
snaps, and also make sure we can work with snaps seeded in project hooks.
Imported using git-ubuntu import.
Changelog parent: 9df196f7f1
New changelog entries:
* live-build/auto/config: Clean out unused hostname matches and fix indenting.
* live-build/auto/config: Reinstate hostname filtering for "*.buildd", which
is the correct match for non-lxd builders, and add "lp-*" for the lxd ones.
* live-build/auto/config: Fix incorrect quoting causing a skipped if statement
in non-live ubuntu-server builds since sometime in mid-October of last year.
Imported using git-ubuntu import.
Changelog parent: 58de294714
New changelog entries:
* Update hostname matches for launchpad buildds to match current practice,
fixing build failures due to LP being unable to reach
people.canonical.com.
Imported using git-ubuntu import.
Changelog parent: 694a6b88d1
New changelog entries:
* Set ports/archive as appropriate for default mirror - should fix
autopkgtests.
Imported using git-ubuntu import.
Changelog parent: 958a32a531
New changelog entries:
* Run subiquity on any serial consoles that the user told systemd
about.
Imported using git-ubuntu import.
Changelog parent: bdda0b17ea
New changelog entries:
* ubuntu-cpc: Initramfs compression should match default for
update-initramfs (LP: #1744114)
Imported using git-ubuntu import.
Changelog parent: c582c0e637
New changelog entries:
[ Balint Reczey ]
* Revert to building minimized and not minimimized images with the same
~2.2 GiB size
* Stop suggesting partimage which is not used anymore
* Drop Nexus 7 support
[ Steve Langasek ]
* Add support for passing snap channel to ubuntu-core image builds.
Imported using git-ubuntu import.
Changelog parent: a088e92782
New changelog entries:
* Drop android-tools-fsutils dependency, and instead install it on
demand for the nexus7 sub-arch. This target is no longer produced,
thus by doing this android-tools can fall out of main to universe.
Imported using git-ubuntu import.
Changelog parent: faa28a6472
New changelog entries:
[ Michael Hudson-Doyle ]
* Install grub-ieee1275 instead of grub2 on ppc64el; grub2 is a dummy
transitional package in universe.
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: 0714b6b801
New changelog entries:
[ Balint Reczey ]
* Skip setting up initrd for s390x when it is not generated for the image.
This fixes building minimized s390x images.
Imported using git-ubuntu import.
Changelog parent: bc18c8a992
New changelog entries:
* Fix lingering reference to livecd-rootfs.ubuntu-core.model-assertion
that breaks the ubuntu-core image build.
Imported using git-ubuntu import.
Changelog parent: c4cfbef1ee
New changelog entries:
* Remove boot/grub leftovers from our root squashfs, left behind after
grub purge.
* Remove apt, debconf, dpkg cruft files from /var/cache and /var/lib in all
our livefses.
* Pass --cache false to lb config; otherwise we copy around caches of
.debs that are never used properly, and which prevent us from emptying
/var/cache/apt in images.
* When building minimized cloud images, remove various packages that we
don't want installed by default. Some are tools that aren't needed for
non-interactive use; some are libraries whose reverse-dependencies
will have already been removed; and one, open-vm-tools, should only be
included in images that are targeted to VMWare (which is not the case
for any of the current minimal images), rather than being included
directly in the cloud-image seed.
Imported using git-ubuntu import.
Changelog parent: 184c0e0884
New changelog entries:
* The target for x86 ubuntu-core images is VMs, so create them with
a buffer of free space in order to work if booted in place.
* ubuntu-image now produces a manifest file listing the snap revisions
used; publish this so that it's picked up by launchpad-buildd.
* Change ubuntu-core image builds to use the standard "$PREFIX" naming for
artifacts instead of being gratuitously different; requires a matching
change to ubuntu-cdimage.
Imported using git-ubuntu import.
Changelog parent: f7fcac1602
New changelog entries:
[ Gary Wang ]
* Add the IMAGEFORMAT=none to support generating a single rootfs.
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: ed2c2791c8
New changelog entries:
[ Michael Hudson-Doyle ]
* Two last minute server-live fixes:
- Seed the subiquity snap to track the stable channel (LP: #1724410)
- Remove snap.subiquity.started from subiquity's After=/Requires= as it
does not fix the race condition they were intended to address and causes
subiquity to be killed when snapd refreshes subiquity (LP: #1724411)
Imported using git-ubuntu import.
Changelog parent: 95f6bb3dfc
New changelog entries:
* Fix server live image to pull subiquity from the stable channel, not
from edge.
Imported using git-ubuntu import.
Changelog parent: 979261d927
New changelog entries:
* snap.subiquity.started.service must be RemainAfterExit=yes to satisfy
the service dependencies.
Imported using git-ubuntu import.
Changelog parent: 00b23f0f6b
New changelog entries:
* Add the SNAP_REEXEC=0 enviroment to the subiquity service as well.
Imported using git-ubuntu import.
Changelog parent: 5a3ccfef34
New changelog entries:
[ Balint Reczey ]
* Clean up dangling /boot/initrd.img symlink when needed
* Revert ignoring failure of minimized autopkgtest on ppc64el
* Use kvm kernel only on amd64
* Skip installing server task when building minimial images
[ Steve Langasek ]
* export SNAP_REEXEC=0 to our snappy systemd units in the livefs overlay,
to work around apparmor not working reliably against aufs.
Imported using git-ubuntu import.
Changelog parent: 84ef6ff8e3
New changelog entries:
[ Michael Hudson-Doyle ]
* Add snap.subiquity.started.service to subiquity.service's Requires=.
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: 2ec24bdfce
New changelog entries:
* Add initial support for preinstallation of snaps in images, and
preinstall pulsemixer in the Ubuntu MATE image.
Imported using git-ubuntu import.
Changelog parent: 577646d435
New changelog entries:
* Unminimization information should only go to motd when we are actually
minimized.
Imported using git-ubuntu import.
Changelog parent: b053111651
New changelog entries:
[ Dimitri John Ledkov ]
* Drop obsolete fix-ups of resolv.conf, debootstrap should now result in
correct symlink to resolved without any further fixes.
[ Michael Hudson-Doyle ]
* Have subiquity.service order after on a service defined by the subiquity
snap, which in turn will order after the job that mounts the subiquity
snap. (LP: #1721414)
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: be46ea0ff6
New changelog entries:
* Skip installation of kernel headers for all minimal images
* Use the kvm kernel flavor for minimized cloud image where available,
not virtual.
Imported using git-ubuntu import.
Changelog parent: a02598fe24
New changelog entries:
* Ignore failure of new autopkgtest on ppc64el, where it's not a
regression.
* Use /bin/sh, not /bin/bash, for autopkgtest.
Imported using git-ubuntu import.
Changelog parent: 2da89c90de
New changelog entries:
[ Balint Reczey ]
* Bump needed live-build version which can build images without initrd
* Mention unminimize script in motd
* Warn users that unminimize may fail reinstalling packages
* Use SUBPROJECT=minimized name instead of SUBPROJECT=minimize for
consistency
* Run autopkgtest for SUBPROJECT=minimized
* When SUBPROJECT environment variable is not set assume it to be ""
[ Michael Hudson-Doyle ]
* Fix path to subiquity-loadkeys
Imported using git-ubuntu import.
Changelog parent: 3f5115f8f2
New changelog entries:
* Fix a reference to an undefined variable in a script that's set -u.
* In subiquity, loadkeys to setup Shift+Tab key combination.
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: e4b41272e2
New changelog entries:
[ Steve Langasek ]
* Remove spurious call to 'sync'; we don't need to flush all disk caches
on the system to cleanly unmount a partition.
[ Michael Hudson-Doyle ]
* only show alert (i.e. panic) kernel messages on the console when
subiquity is running
Imported using git-ubuntu import.
Changelog parent: 7fd585146b
New changelog entries:
* Move default netplan config for server-live image to where hook will
pick it up.
Imported using git-ubuntu import.
Changelog parent: 62cc84825d
New changelog entries:
* Enable systemd-networkd by default.
- Usually, netplan's systemd-generator enables systemd-networkd and
systemd-networkd-wait-online on boot. But netplan configuration is not
yet generated at that point by cloud-init. Cloud-init generates in the
network-pre.target and expects the network.target /
network-online.target to work. These are already part of the ongoing
systemd transaction, thus cannot be injected into the boot-sequency by
cloud-init local mode. Therefore make sure cloud images include
networkd in the initial boot transaction.
- src:systemd will shortly not enable networkd unconditionally by
default.
* Drop ifupdown e-n-i configuration files, no longer used.
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: 8eadac557b
New changelog entries:
* Fix a reference to an undefined variable in the ubuntu-cpc hooks,
introduced by the previous upload.
Imported using git-ubuntu import.
Changelog parent: 2003d73b1d
New changelog entries:
[ Steve Langasek ]
* Set a default locale of C.UTF-8 in the cloud images.
[ Mathieu Trudel-Lapierre ]
* Drop special handling of grub modules. Modules should be included in
the signed grub binaries when necessary.
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: e55a4a7910
New changelog entries:
* Build ubuntu back with tasks. The metapackage switch was due to g++
transition and needed some additional hint. This is adding maintenance
and as mentioned in 2.335, we can revert this.
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: def10927e4
New changelog entries:
* For now, make sure all automated image builds are on the edge channel.
Eventually we will want to pass the channel as build metadata instead.