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.
Imported using git-ubuntu import.
Changelog parent: de6bd722ae
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: 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: 170a7577de
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: 0031d747ac
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: 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.
Imported using git-ubuntu import.
Changelog parent: 26909642e9
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: 1466492235
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: 837997ea02
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: b477837c31
New changelog entries:
[ Robert C Jennings ]
* ubuntu-cpc: Remove redundant copy of grub files.
Imported using git-ubuntu import.
Changelog parent: 77baa7fa7a
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: 0e395cc444
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: f8ca170475
New changelog entries:
* Use the virtual kernel for the arm64 cpc images instead of generic.
Imported using git-ubuntu import.
Changelog parent: 7c2e3247f1
New changelog entries:
* Use the virtual kernel for the powerpc64 cpc images (LP: #1625368)
Imported using git-ubuntu import.
Changelog parent: 326e7b0b97
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: 8d920803b0
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: 5fbc7fdd13
New changelog entries:
* live-build/auto/build: Move NetworkManager configuration to the right
place.
Imported using git-ubuntu import.
Changelog parent: cddd4d301b
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.
Imported using git-ubuntu import.
Changelog parent: 6ebeaf88c0
New changelog entries:
* live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary
- use echo to display the error, thanks ogra for pointing that out,
update the string also to use the new snappy command naming
Imported using git-ubuntu import.
Changelog parent: a23a770ff4
New changelog entries:
* live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary,
500-create-xdg-wrapper.binary, 700-classic-dir.binary:
- Correct some syntax errors in the ubuntu-core snap hooks.
- Create a desktop entry and some mimetype associations for xdg-open in
ubuntu-core. That way interacting with web, email and documentations
urls in a snap should do the right thing.
Imported using git-ubuntu import.
Changelog parent: 74124543e3
New changelog entries:
* live-build/ubuntu-touch/includes.chroot/etc/lightdm/
lightdm.conf.d/90-phablet.conf:
- Don't have Touch greeters show a guest session. Touch isn't ready
for non-phablet users yet nor a multi-user greeter.
Imported using git-ubuntu import.
Changelog parent: 4109c1c2b3
New changelog entries:
[ Łukasz 'sil2100' Zemczak ]
* Remove the ubuntu-pd project from the scripts
* Add instead an ubuntu-touch-custom project for custom re-builds of
ubuntu-touch
[ Oliver Grawert ]
* sanitize the version number of the ubuntu-core snap
* sanitize the version number of the kernel snap
Imported using git-ubuntu import.
Changelog parent: eb0cb09a8d
New changelog entries:
[ Daniel Watkins ]
* Consolidate cloud images
- Remove .tar.gz and .tar.xz (removed in favour of the squashfs).
- Remove the MBR-only disk image in favour of the shared GPT/MBR UEFI
image.
- Remove '-disk1' from bootable image names.
[ Phil Roche ]
* Removed HWCLOCKACCESS=no from /etc/default/rcS (LP: #1581044)
Imported using git-ubuntu import.
Changelog parent: 2fcba79a9b
New changelog entries:
* Ubuntu-MATE now does follow Recommends; adjust the configuration for it
to not pass --no-install-recommends.
Imported using git-ubuntu import.
Changelog parent: ec4b354469
New changelog entries:
[ Michael Vogt ]
* add var/lib/snapd/classic in ubuntu-core
[ 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).
Imported using git-ubuntu import.
Changelog parent: 41e1ae746c
New changelog entries:
* name switch from ubuntu-core to just core was postponed ... temporarily
revert this bit til we have the necessary snapd bits in place.
Imported using git-ubuntu import.
Changelog parent: 7570a3c606
New changelog entries:
* rename the ubuntu-core snap to simply be "core", update the package
summary too
Imported using git-ubuntu import.
Changelog parent: aca40d6ebf
New changelog entries:
[ Michael Vogt ]
* update kernel snap building to match the new kernel policy
* system-image: add /usr/local/bin/xdg-open dbus helper
[ Oliver Grawert ]
* add u-boot-tools to all snappy arches
* drop flash-kernel from snappy, it is useless there
* create /boot/uboot dir on all arches and configure /etc/fw_env.config
everywhere
* adjust motd message on snappy (capitalize "Snappy Ubuntu Core" and replace
the "snappy --help" with "snap --help"
[ Adam Conrad ]
* Stop explicitly removing systemd-sysv for touch.
* Move touch resolution hints to a HINTS variable, and adjust for use
on dual-stack gl/gles arches where things don't quite work right.
Imported using git-ubuntu import.
Changelog parent: ad693abb51
New changelog entries:
* Rename old ubuntu-core tarballs to ubuntu-base to avoid confusion.
* Drop special-casing of ubuntu-core:system-image in places, now that
ubuntu-core unambiguously refers to the snappy Ubuntu Core image.