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: 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: 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: 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: 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
Imported using git-ubuntu import.
Changelog parent: dbfd5f49b7239a07b34b03d972b4aae1151b3a42
New changelog entries:
* move the snappy kernel builds to the correct linux-image-$arch and
linux-firmware-$arch metapackages
Imported using git-ubuntu import.
Changelog parent: 4f2c87a4f14a5e047d24cb102606d3f0af7dfd8e
New changelog entries:
* Follow linux-firmware-raspi2 renaming in the archive for raspi2 images.
Imported using git-ubuntu import.
Changelog parent: 9fadf2c64882f8ffe3c5cc7698f2fc9b85733521
New changelog entries:
* Transition from ubuntu-snappy to ubuntu-core-snapd-units and snapd.
Imported using git-ubuntu import.
Changelog parent: 01521cefe4108a2a62c47eb2bdbc978a70f0ed20
New changelog entries:
[ Oliver Grawert ]
* live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot:
kill the snappy os build if the initramfs-tools-ubuntu-core package
is not found
* make s390x known to the snappy builds
* skip kernel snap an device tarball builds for s390x and ppc64el
* drop listing of the device tarballs, this was only for debugging
[ Adam Conrad ]
* live-build/ubuntu-cpc/hooks/032-disk-image.binary: Install s390-tools
and sysconfig-hardware before we attempt to configure zipl.
Imported using git-ubuntu import.
Changelog parent: 15d22caf2c437bdfed9b1e71c6e6b4bffd5a26b8
New changelog entries:
* live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot:
create a generic initrd inside the snappy os-snap so we do not need the
hackish ubuntu-core-generic-initrd package anymore.
Imported using git-ubuntu import.
Changelog parent: 3061756ecb64747bf12af0dc1b0db390717c07a6
New changelog entries:
[ Adam Conrad ]
* Remove obsolete pvr-omap4 special-casing to simplify configs.
[ Daniel Watkins ]
* Enable building of powerpc cloud images.
Imported using git-ubuntu import.
Changelog parent: f51f8e92a544d1d9089e0d146382b56b5b58820c
New changelog entries:
* adjust snap versions to only have one dash and use plus chars instead
Imported using git-ubuntu import.
Changelog parent: ce1a28e5422d5cc751b845a0e86fcd61fb48d7c2
New changelog entries:
* add link for wlan mac address in dragonboard kernel snaps
* move dragonboard kernel snap to linux-snapdragon (with a currently hardcoded
version due to missing -meta package for this kernel, don't do that at
home !)
Imported using git-ubuntu import.
Changelog parent: 2fee3d52d9e358703cb99baed9a9e13b446b5590
New changelog entries:
* Follow rename of ubuntustudio-font-meta to ubuntustudio-fonts.
Imported using git-ubuntu import.
Changelog parent: 307bc170c2cad01c25e017337a6eac01fdd0521c
New changelog entries:
* add support for dragonboard kernel snap
* remove grub-efi-arm64 to the arm64 OS snap as it breaks uboot
Imported using git-ubuntu import.
Changelog parent: 6052273963885922b338a4ceafc2c68f6c7457be
New changelog entries:
[ Michael Vogt ]
* add dpkg.list to assets of the kernel snap
* add grub-efi-arm64 to the arm64 OS snap
[ Adam Conrad ]
* Build raspi2 images with multiverse for firmware.
Imported using git-ubuntu import.
Changelog parent: 4089d75a2175b397937e87a363f4330969fedc07
New changelog entries:
* add snap building for kernel snaps
Imported using git-ubuntu import.
Changelog parent: 24f93cf89e599c662f4e33d6c57fbeb30f0950d8
New changelog entries:
* slightly adjust the naming of the OS snap for snappy builds so it becomes
easier for cdimage to grab and publish it.
Imported using git-ubuntu import.
Changelog parent: 745856c1d8a7871fe5cabfe2285758082bf050b0
New changelog entries:
* Remove the manta device from the list of touchsubarches as we're not
building its kernel anymore (LP: #1553069).
Imported using git-ubuntu import.
Changelog parent: 8027f4d9dfa5da2553557a5cb727f301166396ac
New changelog entries:
[ Ben Howard ]
* live-build/ubuntu-cpc/hooks/042-vagrant.binary: add serial device for
Vagrant images (LP: #1546108).
[ Daniel Watkins ]
* Refactor ubuntu-cpc hooks to hard-code producing an 'ext4' rootfs, which
is used outside of the livecd-rootfs build process (specifically for EC2
publication).
Imported using git-ubuntu import.
Changelog parent: 13d50e4fa16fe11a90a64fbd24b0c1ed38483fe6
New changelog entries:
* Add net.ifnames=0 to the raspi2 cmdline injected into raspi2 builds.
Imported using git-ubuntu import.
Changelog parent: 80fddc56a2b4d6ed82dcce3ef56028b37e40705a
New changelog entries:
[ Michael Terry ]
* Change real name for phablet user to "Ubuntu" in ubuntu-touch.
[ Steve Langasek ]
* Drop BuildLiveCD from the examples; we now use launchpad-buildd to drive
livefs builds, so BuildLiveCD is obsolete and misleading.
* Add hooks to ubuntu-cpc to divert /bin/sync in the chroot and undivert it
at the end. This is a general-purpose change that should be applied to
all flavors and archs, but at the moment it's only needed on armhf+raspi2
to work around the raspberrypi2-firmware postinst calling sync, which is
actually warranted in the normal case.
* If a subarch is specified for a cloud image build, don't build rootfs
artifacts; these should come from the 'generic' build.
* Fix architecture handling in hooks. We know we're always being invoked
from a launchpad-buildd-like setup, which passes ARCH and SUBARCH in the
environment, because auto/config and auto/build both rely on this. So
don't scatter dpkg --print-architecture calls throughout, especially
when many of these are not cross-build-aware.
* Refactor ubuntu-cpc hooks to allow us to handle images where the root
partition should not be partition 1.
[ Ben Howard ]
* ubuntu-cpc: fix hooks/032-disk-image.binary call to
create_empty_partition, which requires five args due to "-u"
* ubuntu-cpc: in hooks/030-root-tarball.binary create /lib/modules to fix
(LP: 1543204).
[ Dimitri John Ledkov ]
* Do not remove linux-base, when purging all the linux-*, in the tarball
build. Otherwise ubuntu-minimal is removed, and things get crazy.
* Correct initrd.img symlink, kernel/hooks should actually produce the
right thing here, but meh.
* Chroot to execute zipl, because it's nice.
* Use the right loop device to install zipl onto.
[ Steve Langasek ]
* Refactor ubuntu-cpc hooks to always produce a 'plain' rootfs via
live-build and reuse this for the tarball, instead of lb_binary_rootfs
creating some artifact that we ignore / throw away.
* Initial support for raspi2 subarch.
* Import live-build/ubuntu-cpc/hooks/raspi2/mkknlimg from
https://github.com/raspberrypi/linux/blob/rpi-4.1.y/scripts/mkknlimg
and use it to install a bootable uboot.bin.
Imported using git-ubuntu import.
Changelog parent: b668a9f9f9048b0fa06523dc084d8fb308fcd9c5
New changelog entries:
[ Michael Vogt ]
* ubuntu-core:
- include the dpkg.list in the device tarball
- store /usr/share/snappy/dpkg.list manifest on the OS tarball
[ Dimitri John Ledkov ]
* ubuntu-cpc:
- exclude s390x from should_install_grub
[ Steve Langasek ]
* Refactor/reorder ubuntu-cpc support for consistency with other flavors,
so that subarch overrides can be applied correctly.
[ Ben Howard ]
* ubuntu-cpc:
- fixed loop setup due to change of kpartx output
- only use grub-install logic for Intel architectures
Imported using git-ubuntu import.
Changelog parent: e8c9dfca01dab3e02f000855110914ae468a4b35
New changelog entries:
* make sure u-boot-tools is installed on snappy arm64
Imported using git-ubuntu import.
Changelog parent: 3242ef6c5973f8913775b8699e23db390733efb7
New changelog entries:
* do not ship assets/dtbs/overlays in raspi2 tarball, it breaks
ubuntu-device-flash
Imported using git-ubuntu import.
Changelog parent: 131941df22c4e810eca8afb4e2468069aeecc951
New changelog entries:
* drop input group from snappy images, adjust md5 sums in
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
* completely separate the snappy device tarball creation from the snappy
rootfs so one doesnt taint the other (which allows dropping a lot more from
the rootfs we do not need in a snappy system, like initramfs creation
tools and all its dependencies).
* drop live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary
* enable automated build of raspi2 device tarballs for snappy
Imported using git-ubuntu import.
Changelog parent: 9ac850741cb5c111949cb40b971436c3524d495d
New changelog entries:
* Move building of all architecture-specific CPC artifacts into Launchpad
(LP: #1513754).
Imported using git-ubuntu import.
Changelog parent: 8c606962fab21203597e115e446a5b035d0798cb
New changelog entries:
* do not hardcode installation of grub-pc for amd64 in snappy images,
instead install the right grub set for secureboot there
Imported using git-ubuntu import.
Changelog parent: 808414beec1a50b808a55b24250e57c2d152efa6
New changelog entries:
* Drop 'landscape-client' from Cloud Images (LP: #1497030).
Imported using git-ubuntu import.
Changelog parent: 5e322d7d9e5edf41745287fda3c5b96ce63199aa
New changelog entries:
* add ppp and watchdog packages to snappy
Imported using git-ubuntu import.
Changelog parent: d467c9238826ad23d2905728120aa5b2751aef61
New changelog entries:
* revert the apparmor-super-noise change, issue is found
* touch the cache files during build to prevent timestamp issues in the future
* drop copying of zip files of the android package, we do not generate these
anymore.