Imported using git-ubuntu import.
Changelog parent: 00b23f0f6b41c76287d3f62c46983c77bfb0c01f
New changelog entries:
* Add the SNAP_REEXEC=0 enviroment to the subiquity service as well.
Imported using git-ubuntu import.
Changelog parent: 11ad200f2e456379dc328a3b6756d37c421bd7dc
New changelog entries:
* Fix wrong variable name in systemd unit snippets.
Imported using git-ubuntu import.
Changelog parent: 5a3ccfef341d527c982edf3af372266b3b1be566
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: 84ef6ff8e3e67562bf44191ec9b0c3da4237b4ff
New changelog entries:
[ Michael Hudson-Doyle ]
* Add snap.subiquity.started.service to subiquity.service's Requires=.
Imported using git-ubuntu import.
Changelog parent: fb1b5e73e30b505db023b93e2184f32bdd0c753a
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: 2ec24bdfce2d5c81f242f0d480f7766d18a730f9
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: 577646d435de9082462cda66f75722fd427f3bbb
New changelog entries:
* Unminimization information should only go to motd when we are actually
minimized.
Imported using git-ubuntu import.
Changelog parent: b05311165170c07d65bc27ea8edf27434c54efca
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: 8168b7c92a3ef263d18cc2654b52b47d27b7f339
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: be46ea0ff6cb5fa98654d747fc09465722727841
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: a02598fe24047ba35c1a86fbffeafdd51046b770
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: 2da89c90de5e4df541d301cf14819278b3be7df9
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: 3f5115f8f2963d72f56fe6c65666122d462f1369
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: 060069bc77a7bee5c3258f56ca8c33d900c5d9de
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: e4b41272e202e6ea178e9752fe4967de9f33a5fb
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: 7fd585146bdd0f08adaf5c9cc0e06c82626266d8
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: 62cc84825d1e261f4f7ddff609b0043679aa99aa
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: 3adf9af2a9d022af3323c328c130ca95842f1181
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: efbd6fd1c6934cbed5c735704c6091eb2b0c625c
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: 6e53d32cd86faec5af29d1dd745934197b2cbdba
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: 70a41fd45c903321d6379955ec04b19a1c8e5bd4
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: 8eadac557b6f5f0b23b7c109a659f9649884e8e9
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: 2003d73b1d0bb5ae1cf6f2511db65c0cc14c7b85
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: 5eb31aa1c26b53af5cdcdbf882f4deeb5b171e29
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: 402cae06bddf73fb13deae1a24a5b7ac1ae7740a
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: 1a48d101d5805b0e79a1ca40f90ace99ae9cd317
New changelog entries:
* Add cm3 as a known ubuntu-core image type. LP: #1698223.
Imported using git-ubuntu import.
Changelog parent: e55a4a791001ac3d9845de89c09c61b08d3e244a
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: 2d6d50b86f5a69696218101a561a605cc4b2b20d
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: def10927e48845519813636d507cab701cc618a4
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.
Imported using git-ubuntu import.
Changelog parent: de6bd722ae1c82766d1b037be8814b55f3249a73
New changelog entries:
* Mark autopkgtests isolation-machine since debootstrap won't work in a
container.
* Use xz to compress ubuntu-image .img files before transfer, so that we
have smaller downloads and retain file sparseness everywhere.
Imported using git-ubuntu import.
Changelog parent: 41970327be7f22d59e7a862b01286caad1a95f6a
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: 170a7577de18e8b87c8eeca2c1b67f123eca3ccf
New changelog entries:
* The ubuntu-server:live should use a casper-based initramfs to work
correctly. (LP: #1682460)
Imported using git-ubuntu import.
Changelog parent: 0031d747ac3e49c1cd8a312bb57b4604e9eef65d
New changelog entries:
* Setup kernel properly for ubuntu-server:live; we *do* want to build
kernel-generic and initrd-generic for this image. (LP: #1682460)
Imported using git-ubuntu import.
Changelog parent: 2ac1eda867ebc37261e396efe1ac1c6ed38a28cf
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.
Imported using git-ubuntu import.
Changelog parent: 26909642e9b4b01f59c80a9933ed98a15f8184bf
New changelog entries:
[ Steve Langasek ]
* live-build/ubuntu-cpc/functions: don't call sleep as part of
umount_settle; udevadm settle is synchronous and there's no reason to
sleep after it.
* live-build/ubuntu-cpc/functions: umount_partition: don't call
umount_settle for each submount; just unmount them one by one and
settle at the end.
* Support passing IMAGE_TARGETS in the environment, to limit which images
are output as part of a build; particularly useful for ubuntu-cpc builds
which output multiple image types.
[ 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).
[ Brian Murray ]
* Fix the OVF's metadata to include Ubuntu specific identifiers and
descriptions instead of the generic Linux ones. Thanks to Chris Glass.
(LP: #1656293)
* Add replace_grub_root_with_label function thereby consolidating multiple
uses of the same calls to sed. Thanks to Dan Watkins.
[ Adam Conrad ]
* Set device_tree_address for the new kernel in the RPi bootloader config.txt
Imported using git-ubuntu import.
Changelog parent: 14664922352854a44243d2cd9c81c9c0d62f1c5e
New changelog entries:
* Fix the manifest generation in OVA files so that ovf files don't have
double extensions. Thanks to Chris Glass. (LP: #1627931)
Imported using git-ubuntu import.
Changelog parent: 837997ea02f884b2732ea0270efd14b6ee03e3a8
New changelog entries:
* live-build/auto/config: Don't remove .pyc files any more - we don't care
*that* much about the small space gain these days, and would prefer the
speed win. (LP: #1627190)
Imported using git-ubuntu import.
Changelog parent: b477837c3120d904a5fd724a12e55e0b153826f5
New changelog entries:
[ Robert C Jennings ]
* ubuntu-cpc: Remove redundant copy of grub files.
Imported using git-ubuntu import.
Changelog parent: 77baa7fa7a35db867fca466add82b1cfd85410d1
New changelog entries:
* Update the ubuntu-touch hints to try installing ubuntu-system-settings
instead of ubuntu-system-settings-online-accounts as this makes the dep
resolver more happy on amd64/i386 systems. This should fix the current
image build failure for yakkety i386 images.
Imported using git-ubuntu import.
Changelog parent: 0e395cc4440c40ea9190522ae0760da542afc2d9
New changelog entries:
* Update the 00-uid-gid-fix.chroot_early hook for touch to include the new
known good bootstrap hash values.
Imported using git-ubuntu import.
Changelog parent: f8ca1704756fcc2ef31db7c4fe33b992fd013422
New changelog entries:
* Use the virtual kernel for the arm64 cpc images instead of generic.
Imported using git-ubuntu import.
Changelog parent: 7c2e3247f108b146e20d5dde116097a58f7620d2
New changelog entries:
* Use the virtual kernel for the powerpc64 cpc images (LP: #1625368)
Imported using git-ubuntu import.
Changelog parent: 326e7b0b9714c7f615425951c385fd2b99b9234e
New changelog entries:
[ Łukasz 'sil2100' Zemczak ]
* Temporarily change the 60-install-click.chroot script to pull in clicks for
arm64 builds from a different location for ubuntu-touch.
Imported using git-ubuntu import.
Changelog parent: 8d920803b00bef5b15a0315639a72f2338d6e490
New changelog entries:
[ Michael Vogt ]
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
- do not create "ubuntu" user for ubuntu-core anymore, the
console-conf package will create this user now
* live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot
- dropped
[ Steve Langasek ]
* 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: 5fbc7fdd13f17b6a18d56cf55417ad6a8faca93c
New changelog entries:
* live-build/auto/build: Move NetworkManager configuration to the right
place.
Imported using git-ubuntu import.
Changelog parent: cddd4d301bc956684ff289d448df3690d53941f1
New changelog entries:
* live-build/auto/build: If the image pre-installs network-manager, let it
manage all devices by default by shipping a default netplan policy.
Installing NM on an existing system only manages wifi and wwan, to avoid
interfering with networkd managed devices on existing server/cloud
instances.