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.
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.
Imported using git-ubuntu import.
Changelog parent: 689e55f031
New changelog entries:
[ Michael Vogt ]
* add meta/kernel.yaml to the kernel snaps
[ Łukasz 'sil2100' Zemczak ]
* Add the new dhcpd user introduced by latest archive changes.
Imported using git-ubuntu import.
Changelog parent: c0750e3a3f
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: a8b139028e
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: dbfd5f49b7
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: 4f2c87a4f1
New changelog entries:
* Follow linux-firmware-raspi2 renaming in the archive for raspi2 images.
Imported using git-ubuntu import.
Changelog parent: 9fff6129dd
New changelog entries:
* Follow up on recent changes from the new network-manager packages and add
the nm-openvpn user to touch. This should essentially fix the image build
failures.
Imported using git-ubuntu import.
Changelog parent: ccf58fecb7
New changelog entries:
* Update the passwd, shadow, group and gshadow bootstrap hashes for touch.
Imported using git-ubuntu import.
Changelog parent: 9fadf2c648
New changelog entries:
* Transition from ubuntu-snappy to ubuntu-core-snapd-units and snapd.
Imported using git-ubuntu import.
Changelog parent: 01521cefe4
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: 15d22caf2c
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: 3061756ecb
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: 93f2a06b3c
New changelog entries:
* create /etc/cloud/cloud.cfg.d/99-snappy-disable-network-config.cfg on
snappy so we do not end up with broken network config after cloud-init
ran (LP: #1563296).
Imported using git-ubuntu import.
Changelog parent: 42e2a00908
New changelog entries:
[ Xavi Garcia ]
* Adding a new hook to change the configuration file for upower.
Imported using git-ubuntu import.
Changelog parent: 43e896d8a8
New changelog entries:
* move mtab link to point to /proc/self/mounts instead of /proc/mounts
(LP: #1547033) in snappy builds
Imported using git-ubuntu import.
Changelog parent: f51f8e92a5
New changelog entries:
* adjust snap versions to only have one dash and use plus chars instead
Imported using git-ubuntu import.
Changelog parent: ce1a28e542
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: 307bc170c2
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: a668d140cc
New changelog entries:
* Move the new touch click apps (unav, dekko, calendar) to the custom
tarball.
Imported using git-ubuntu import.
Changelog parent: 6052273963
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: 24f93cf89e
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: 745856c1d8
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: 5bc52b4876
New changelog entries:
[ Ben Howard ]
* live-build/ubuntu-cpc/hooks/042-vagrant.binary: scope serial device for
Virtualbox only.
[ Łukasz 'sil2100' Zemczak ]
* Update the debootstrap group and gshadow hashes for ubuntu-touch.
Imported using git-ubuntu import.
Changelog parent: 8027f4d9df
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: f2412fdd38
New changelog entries:
* add /var/lib/systemd/rfkill to pre-created dirs to use as writable
mountpoint for bind-mounts in snappy.
Imported using git-ubuntu import.
Changelog parent: 13d50e4fa1
New changelog entries:
* Add net.ifnames=0 to the raspi2 cmdline injected into raspi2 builds.
Imported using git-ubuntu import.
Changelog parent: 0ae1111c55
New changelog entries:
* live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot: Add fake_cloud_init
function to create a nocloud data source for cloud images that aren't
meant to be used on real clouds and use it by default on armhf+raspi2
Imported using git-ubuntu import.
Changelog parent: 80fddc56a2
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: 2ace5b787b
New changelog entries:
[ Steve Langasek ]
* Refactor some non-idiomatic architecture handling in
live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot that also misidentifies
the architecture name for armhf.
[ Ben Howard ]
* ubuntu-cpc: add missing net.ifnames=0 for ppc64el disk images.
Imported using git-ubuntu import.
Changelog parent: b668a9f9f9
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: 63154a9a2f
New changelog entries:
* Set timeout options so ppc64el cloud images don't display a grub boot
menu (matching the behaviour of other cloud images).
* Specify a regex to run-parts so that cloud image extra scripts are found
and executed.
Imported using git-ubuntu import.
Changelog parent: 601e67d484
New changelog entries:
* Install grub in ppc64el cloud images so they are bootable (LP: #1538610)
Imported using git-ubuntu import.
Changelog parent: fafd5d2e07
New changelog entries:
[ Łukasz 'sil2100' Zemczak ]
* Fix the invalid path for the error message in 00-uid-gid-fix.chroot_early
for ubuntu-touch.
[ Michael Vogt ]
* live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
- remove libicu52 hook
[ Daniel Watkins ]
* Enable building of s390x cloud images.
Imported using git-ubuntu import.
Changelog parent: c9470d78b1
New changelog entries:
* ubunut-cpc:
- extendend hooks/functions to support creation of derivative images
including mounting images.
- added the ability to create qcow2 images in hooks/functions
- simplified loop clean-up in hooks/functions
- removed assumption that disk1.img would be built
- switched qcow2 generation to use hooks/functions function
Imported using git-ubuntu import.
Changelog parent: 5e6b71b87b
New changelog entries:
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
make sure the default group is still created when adding the default user
to adm and sudo groups.
Imported using git-ubuntu import.
Changelog parent: 197a5ea751
New changelog entries:
[ Michael Vogt ]
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
- add default ubuntu user to "adm" and "sudo" groups
[ Łukasz 'sil2100' Zemczak ]
* Fix the previous apt list removal hook. This hook needs to
be .binary as otherwise we're still left with apt lists when
the image is published.
Imported using git-ubuntu import.
Changelog parent: fc5a8afdab
New changelog entries:
* ubuntu-cpc:
- add devpts-live to hook builds
- add logic to settle the disks after UEFI builds
Imported using git-ubuntu import.
Changelog parent: 20edede7ea
New changelog entries:
* merge lp:~sil2100/livecd-rootfs/update_hashes to update the passwd db
hashes on ubuntu-touch builds (LP: #1516526)
Imported using git-ubuntu import.
Changelog parent: 3242ef6c59
New changelog entries:
* do not ship assets/dtbs/overlays in raspi2 tarball, it breaks
ubuntu-device-flash
Imported using git-ubuntu import.
Changelog parent: 131941df22
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: 9ac850741c
New changelog entries:
* Move building of all architecture-specific CPC artifacts into Launchpad
(LP: #1513754).
Imported using git-ubuntu import.
Changelog parent: d0bcbdc422
New changelog entries:
* live-build/ubuntu-core/hooks/21-snappy-security-policy-stamp.chroot:
- create a /usr/share/snappy/security-policy-version so that
snappy can re-generate the security profiles if any of the versions
of apparmor or ubuntu-core-security-* changes
Imported using git-ubuntu import.
Changelog parent: 5edb230a21
New changelog entries:
[ Oliver Grawert ]
* bump UID for tss user in snappy, else it matches dnsmasq and bad things
happen
* fix handling of writable files in /etc/default for snappy
[ Ben Howard ]
* Cloud Images: disable new NIC naming convention (LP: #1510345).
Imported using git-ubuntu import.
Changelog parent: 8c606962fa
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: 0682fffca1
New changelog entries:
* limit grub-install diversion on snappy images to x86 architectures
* divert grub-install on snappy images during rootfs build
Imported using git-ubuntu import.
Changelog parent: b9bcbd6aae
New changelog entries:
* merge lp:~sil2100/livecd-rootfs/remove_apt_lists to drop cruft from
/var/lib/apt/lists on phone images
Imported using git-ubuntu import.
Changelog parent: 69a5210a53
New changelog entries:
[ Oliver Grawert ]
* add empty "extrausers" equivalents for subuid and subgid files, else
adduser falls over in interactive mode when trying to write to them.
[ Iain Lane ]
* live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Set up /etc/whoopsie
too. (LP: #1437633)
Imported using git-ubuntu import.
Changelog parent: a96c01b1d4
New changelog entries:
* ubuntu-touch, ubuntu-desktop-next: drop systemd-journal-remote from group
files, update md5sums in 00-uid-gid-fix.chroot_early
Imported using git-ubuntu import.
Changelog parent: 0f5bec4b55
New changelog entries:
[ Michael Vogt ]
* live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
- cleanup further after moving the kernel out of the rootfs
(LP: #1468469)
[ Oliver Grawert ]
* systemd-journal-remote was dropped from /etc/group and /etc/gshadow,
update the files and md5sums in the passwd checks of ubuntu-core
Imported using git-ubuntu import.
Changelog parent: d467c92388
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.
Imported using git-ubuntu import.
Changelog parent: 3dd0e68f99
New changelog entries:
[ Łukasz Zemczak ]
* merge lp:~sil2100/livecd-rootfs/deb-src_for_extra_ppas,
In case of extra PPAs also include the deb-src entry in the sources list.
(LP: #1482703)
[ Oliver Grawert ]
* add the apparmor-super-noise change to get extra detailed info about all
apparmor operations in the ubuntu-touch build logs
Imported using git-ubuntu import.
Changelog parent: f4d2a993b3
New changelog entries:
* make apparmor precompilation more verbose, list the dir contents of
/custom/cache/apparmor to see in the build log what has been created.
Imported using git-ubuntu import.
Changelog parent: 7782a87448
New changelog entries:
* Attempt to build Ubuntu image using metapackages instead of tasks; this
is necessary in order to build a test image out of wily-proposed for the
g++5 transition, but may be reverted later if this doesn't turn out to
be maintainable. (Code taken from the trusty HWE LTS branch of
livecd-rootfs.)
Imported using git-ubuntu import.
Changelog parent: 1a48fd620d
New changelog entries:
* lp:~mvo/livecd-rootfs/snappy-add-fw_env.config:
- add /etc/fw_env.config that points to
/boot/uboot/fw_env.config to make fw_{set,print}env work
Imported using git-ubuntu import.
Changelog parent: 2840dc63ee
New changelog entries:
* merge lp:~sergiusens/livecd-rootfs/eth0Not to not hardcode eth0 anymore on
snappy.
Imported using git-ubuntu import.
Changelog parent: f28c989142
New changelog entries:
[ Łukasz Zemczak ]
* Split out the youtube scope to the custom tarball since some images
can't have it pre-installed (e.g. arale China images).
Imported using git-ubuntu import.
Changelog parent: d61ed6ef41
New changelog entries:
* merge lp:~sergiusens/livecd-rootfs/snappyDevicePart for using versioned
kernel and initrd binaries in snappy
Imported using git-ubuntu import.
Changelog parent: 1dc9986ac9
New changelog entries:
* snappy: install libc6:i386 on amd64 images for multiarch support out of
the box. (LP: #1444049)
Imported using git-ubuntu import.
Changelog parent: fa8d0b1293
New changelog entries:
* live-build/ubuntu-touch/includes.chroot/etc/lightdm/lightdm.conf.d/
90-phablet.conf:
- don't use deprecated "[SeatDefault]" syntax
* live-build/ubuntu-desktop-next/includes.chroot/usr/share/lightdm/
lightdm.conf.d/90-desktop-next-autologin.conf:
- let desktop-next autolog to the ubuntu user session
Imported using git-ubuntu import.
Changelog parent: 2b7fd1f652
New changelog entries:
* live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early:
- updated for the previous group changes
Imported using git-ubuntu import.
Changelog parent: a1743f9558
New changelog entries:
* Copied some touch tweaks (n-m config and user groups) to desktop-next
[ Michael Vogt ]
* snappy/desktop-next:
- add snappypkg user and remove clickpkg user
Imported using git-ubuntu import.
Changelog parent: d286b4fed1
New changelog entries:
* copy set locale hook from core to desktop-next
[ Sergio Schvezov ]
* removing debian packaging artifacts from the image
Imported using git-ubuntu import.
Changelog parent: bc2b9aed67
New changelog entries:
* merge lp:~sergiusens/livecd-rootfs/no-walinuxagent to remove all the
hackery that was initially needed for azure snappy images, this got
properly implemented now.
Imported using git-ubuntu import.
Changelog parent: 2342202959
New changelog entries:
[ Sebastien Bacher ]
* live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot:
- create other needed directories
* live-build/ubuntu-desktop-next/includes.chroot:
- copy ubuntu-core's include for /etc/hosts and resolv.conf config
* live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early:
- copy touch hacks to create needed userdirs (lightdm & usermetrics),
the users are added by the script and not the usual postinst so their
uderdirs are not created as they should
* live-build/ubuntu-desktop-next/hooks/10-remove-documentation.binary:
- don't remove the copyright and manpages on desktop
[ Oliver Grawert ]
* allow install of "multi" click packages in 60-install-click.chroot on
ubuntu-touch