Imported using git-ubuntu import.
Changelog parent: b02381a9e1d3349de904958d76b1e679fa6eed6c
New changelog entries:
* Update unminimize script text and install ubuntu-standard when
unminimizing a minimal image (LP: #1778777)
* Fix the install command for pollinate which is added back to minimal
images (LP: #1779406)
Imported using git-ubuntu import.
Changelog parent: 84e5eaf9ae0ac374e869d157b1cf8c660a0b1bdd
New changelog entries:
* Add back pollinate for minimal after it is removed due to a dependency
on vim-common. LP: #1779406.
Imported using git-ubuntu import.
Changelog parent: bc3a52a929a949c6788e6bfd46851076238a21ce
New changelog entries:
* Zero fill space in UEFI partitions, too
* Set LB_ISO_PREPARER to livecd-rootfs to avoid unbound variable in default string
Imported using git-ubuntu import.
Changelog parent: 8d6e24efc75872c5321ca41c8176be76736a452f
New changelog entries:
* snaps: Fixes for snap pre-seeding (LP: #1775710)
* Backport: Refactor functions out of ubuntu-cpc and ubuntu-server hooks.
* Add dependency on distro-info for snap preseeding
Imported using git-ubuntu import.
Changelog parent: fac71039c0b1cc685c4f8459db7899515214acef
New changelog entries:
* Set the default locale to C.UTF-8 in minimized cloud images.
(LP: #1759003)
Imported using git-ubuntu import.
Changelog parent: 04fe9ce754b1fa05540f85d03a65646ee9d75c72
New changelog entries:
[ Christopher Glass ]
* ubuntu-cpc: When performing a minimized build make sure the
/etc/cloud/build.info file says "minimal" (LP: #1759519)
Imported using git-ubuntu import.
Changelog parent: ce664be75f887c57731d3c53089462f25c2de69f
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: 6be108d84763e754152b03b31ff01998edc673bb
New changelog entries:
* Don't ask for password and GECOS while creating vagrant user
(LP: #1569237)
* Added a "vagrant" user to the vagrant image in addition to the "ubuntu"
user, in accordance with the vagrant community's expectations (LP: #1569237)
Imported using git-ubuntu import.
Changelog parent: 4c3694d4a2b50dd2faa9ee66575645d5b3315179
New changelog entries:
* Sort and list dependencies nicely
* Depend on packages instead of installing them at run time
* Use xz -T4 instead of pxz.
Supported xz versions before 5.2 accept the -T4 option but ignore it.
Also depend on xz-utils instead of downloading pxz. (LP: #1701132)
Imported using git-ubuntu import.
Changelog parent: 16c064a241388be65a8193c001dffb05d5a028fc
New changelog entries:
* For the IMAGEFORMAT=none parts to work for ubuntu-image classic builds, we
need to make sure IMAGEFORMAT is preserved and not overwritten if defined.
Backporting from artful.
Imported using git-ubuntu import.
Changelog parent: 118c6476a962cbdc0a61dd8384f65265a9cb8e98
New changelog entries:
[ Gary Wang ]
* Add the IMAGEFORMAT=none to support generating a single rootfs
(LP: #1730642)
[ Christopher Glass (Ubuntu) ]
* Backport "minimized round 2" changes from trunk to Xenial (LP: #1731492)
* 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: 09a02366158f903528da1e2c083407c75a2f7a18
New changelog entries:
* 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: 8cc7060c24b61c30d5f5dc4f224916f2c2f40132
New changelog entries:
[ Balint Reczey ]
* Use kvm kernel only on amd64.
* Make non-x86 minimized images consistent with x86 by not explicitly
installing the server task.
* Clean up dangling /boot/initrd.img symlink left behind on minimized
builds.
Imported using git-ubuntu import.
Changelog parent: d59199fe59fa2649ca5dccd2bc03df6de64d7274
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.
[ Nishanth Aravamudan ]
* live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot: generate iSCSI
Initiator Name at first iscsid run for cloud images to ensure it is
unique (LP: #1444992).
[ Steve Langasek ]
* 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. LP: #1721279.
* Also nuke the sleep / udevadm settle calls in the process, which should
never be required and slow down the builds.
* Fix a reference to an undefined variable in a script that's set -u.
* Use /bin/sh, not /bin/bash, for autopkgtest.
* debian/tests/default-bootstraps: minor adjustments to shell syntax,
syncing with artful where this originated.
[ Steve Langasek, Balint Reczey ]
* Introduce a new project-independent 'minimized' subproject
(LP: #1721261):
- omit ubuntu-minimal in favor of using only the minbase package set.
- boot directly by partuuid, avoiding the use of an initramfs.
- Bump needed live-build version which can build images without initrd
- 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 a running system
- Mention unminimize script in motd
- Run autopkgtest for SUBPROJECT=minimized
- If we're using SUBPROJECT=minimized, 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.
* Factor out grub-related diversions and use them consistently, so we
don't end up with wrong os-probe output in our grub.cfg.
[ Balint Reczey ]
* Mount using --make-rslave to ensure safe unmounts for rbind mounts
* When SUBPROJECT environment variable is not set assume it to be ""
Imported using git-ubuntu import.
Changelog parent: 803cf10633714ca2289646de61a9952a420232e0
New changelog entries:
[ Robert C Jennings ]
* Install udev before calls to udevadm
Imported using git-ubuntu import.
Changelog parent: d980e7008da283668653a90e6ee574b05dc19d74
New changelog entries:
[ 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.
Imported using git-ubuntu import.
Changelog parent: aee4e79c87bc904e07c71ea30b16055335d55ef7
New changelog entries:
* live-build/ubuntu-cpc/functions: call apt-get update in the chroot
after mounting a blank /var/lib/apt, so that further operations work
as expected; otherwise, 'apt-get purge ^grub-.*' fails on s390x because
no such packages are known to apt.
* live-build/ubuntu-cpc/hooks/030-root-tarball.binary: correct a missing
unmount of /var/{lib,cache}/apt on cleanup, detected via autopkgtests.
Imported using git-ubuntu import.
Changelog parent: 2473668b91bf1e0c83f8160377ba7de3364657b0
New changelog entries:
[ Mathieu Trudel-Lapierre ]
* Drop preloading of grub modules that are built into the grub signed
image. This is functionally a no-op, changed only to clean up the code.
[ Steve Langasek ]
* live-build/ubuntu-cpc/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/ubuntu-cpc/hooks/033-disk-image-uefi.binary: call apt-get
update *before* installing packages, not after.
[ 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.
[ Balint Reczey ]
* Fix suppression of kpartx error. LP: #1684090.
Imported using git-ubuntu import.
Changelog parent: eeac687884e224149959c63fab9ff6f00e5bb260
New changelog entries:
* live-build/auto/config: Filter libgles1-mesa out of tasks, as it is not a
dependency of anything in updates anymore, fixing mate/myth (LP: #1704013)
Imported using git-ubuntu import.
Changelog parent: eea56e02ae121482387ddc2206bc27de53f2627c
New changelog entries:
[ Balint Reczey ]
* Source ubuntu-cpc functions from the right place
* Use all config hooks from the proper place, not from /build/
* Add basic but configurable autopkgtest (LP: #1690440)
* sync before calling kpartx to let writing to loop devices finish
* wrap kpartx and trap spurious errors, to work around kpartx
unreliability.
Imported using git-ubuntu import.
Changelog parent: f4c4fa3fcc4b5a9fff8a56c4bb21dada6239c0a0
New changelog entries:
* live-build/ubuntu-cpc/hooks/999-extras.binary: Exit on first failure.
(LP: #1687752)
Imported using git-ubuntu import.
Changelog parent: af583de4a48845e6e00f199b4fc4eda3e7091efb
New changelog entries:
* Add `apt-get update` to ubuntu-cpc ppc64el builds so they use the new
sources.
Imported using git-ubuntu import.
Changelog parent: 7b0112eea72aa1b63afa8ea110f70b6442c544b9
New changelog entries:
[ Daniel Watkins ]
* Don't overwrite the default sources.list in cloud images.
* Replace sources.list generated using COMPONENTS with the sources.list from
an Ubuntu Server installation (i.e. with all components enabled, and all
deb-src lines commented). LP: #1513529.
[ Chris Glass ]
* Fix the manifest generation in OVA files so that ovf files don't have
double extensions. (LP: #1627931)
* Fix the OVF's metadata to include Ubuntu specific identifiers and
descriptions instead of the generic Linux ones. (LP: #1656293)
[ Daniel Watkins ]
* Add replace_grub_root_with_label function thereby consolidating multiple
uses of the same calls to sed.
[ Robert C Jennings ]
* ubuntu-cpc: Remove redundant copy of grub files. (LP: #1637290)
Imported using git-ubuntu import.
Changelog parent: 2fa15a5c3bd953c71579d5b9a454384e5bcde0e4
New changelog entries:
* Set device_tree_address for the new kernel in the RPi bootloader config.txt
Imported using git-ubuntu import.
Changelog parent: dd53f8297fccb2a15f3f1a5b675c968e410676c6
New changelog entries:
[ Łukasz 'sil2100' Zemczak ]
* Add additional hints to ubuntu-touch* i386/amd64 image builds to pull in
the gles version of the UITK.
* Now that we have have systemd working on ubuntu-touch, remove the
systemd-sysv- in add_package config to make sure we can build an image with
systemd as the init system.
[ Adam Conrad ]
* Forward-port hardware enablement delta from trusty to xenial, with changes:
- Implement hwe stack swapping as task filters instead of install hints
- Revert ubuntu-desktop and ubuntu-gnome to use tasks again for the above
Imported using git-ubuntu import.
Changelog parent: c4386e711c93bc32c872f3d8b63665209f0b7124
New changelog entries:
* Temporarily change the 60-install-click.chroot script to pull in clicks for
arm64 builds from a different location for ubuntu-touch.
* Add the new dhcpd user to touch hooks introduced by latest archive changes.
* Remove the ubuntu-pd project logic.
* Synced ubuntu-touch-custom changes from the vivid branch to xenial. This
also adds a new symlink called ubuntu-touch-custom to the ubuntu-touch hooks
dir.
* Stop using the overlay PPA for touch livecd-rootfs changes (LP: #1628085).
Imported using git-ubuntu import.
Changelog parent: 00897d2a2a5282c4639eb4b8f5f950e5c401e1ef
New changelog entries:
* live-build/ubuntu-cpc/hooks/042-vagrant.binary: fix unmount handling
so that the teardown is done properly /before/ we try to make an
image from our filesystem, since otherwise /etc/resolv.conf is broken.
LP: #1621393.
Imported using git-ubuntu import.
Changelog parent: d8441fd70eb2b92c953fc4c76c6722b03e4a57e0
New changelog entries:
* Switch ubuntu-gnome from using tasks to metapackages (LP: #1602035)
Imported using git-ubuntu import.
Changelog parent: 689e55f0319ec31a6f24b3ba033019fd75343533
New changelog entries:
* Rename old ubuntu-core tarballs to ubuntu-base, for consistency with
the changes already made to yakkety and the ubuntu-cdimage project.
LP: #1579950.
Imported using git-ubuntu import.
Changelog parent: c0750e3a3f06faaf0ed9f2e63e9c3ebb64eeba7f
New changelog entries:
* drop linux-firmware-raspi2, it does not actually contain driver
firmware but bootloaders (and fails to install if its target dir
is missing).
Imported using git-ubuntu import.
Changelog parent: a8b139028ef285bd7b8d7ad7a0f67d233287d282
New changelog entries:
[ Colin Watson ]
* Add a basic build-time syntax check for live-build/auto/*.
[ Oliver Grawert ]
* add multiverse to sources.list for snappy kernel builds