9 Commits

Author SHA1 Message Date
CloudBuilder
752e87d549 Imported 2.408.38
No reason for CPC update specified.
2018-10-11 05:51:04 +00:00
Steve Langasek
803cf10633 Import patches-unapplied version 2.408.17 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: d980e7008da283668653a90e6ee574b05dc19d74

New changelog entries:
  [ Robert C Jennings ]
  * live-build/ubuntu-cpc/functions: Add a function, teardown_mountpoint,
    to reverse the work done in setup_mountpoint.  Lack of this function
    has forced users of setup_mountpoint to implement this separately
    and the implementations have diverged. (LP: #1716992)
  * live-build/ubuntu-cpc/functions: Remove umount_settle function.
    The was only used where teardown_mountpoint was lacking.
2017-09-13 19:48:39 +00:00
Steve Langasek
d980e7008d Import patches-unapplied version 2.408.16 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: aee4e79c87bc904e07c71ea30b16055335d55ef7

New changelog entries:
  * live-build/ubuntu-cpc/functions: call apt-get update in the chroot
    after mounting a blank /var/lib/apt, so that further operations work
    as expected; otherwise, 'apt-get purge ^grub-.*' fails on s390x because
    no such packages are known to apt.
  * live-build/ubuntu-cpc/hooks/030-root-tarball.binary: correct a missing
    unmount of /var/{lib,cache}/apt on cleanup, detected via autopkgtests.
2017-09-12 21:43:13 +00:00
Steve Langasek
aee4e79c87 Import patches-unapplied version 2.408.15 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: 2473668b91bf1e0c83f8160377ba7de3364657b0

New changelog entries:
  [ Mathieu Trudel-Lapierre ]
  * Drop preloading of grub modules that are built into the grub signed
    image.  This is functionally a no-op, changed only to clean up the code.
  [ Steve Langasek ]
  * live-build/ubuntu-cpc/functions: mount tmpfs on /var/cache/apt and
    /var/lib/apt, so we don't have to leave empty space in our derivative
    images for packages that have been downloaded/installed/removed.  This
    normally isn't relevant for the installed system, since the root
    filesystem will auto-expand in place on the target disk, but lets us
    ship smaller images.
  * live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: call apt-get
    update *before* installing packages, not after.
  [ Colin Watson ]
  * Mount and unmount /dev recursively, to cope with setups where there are
    interesting bind-mounts under /dev (e.g. loop devices bind-mounted by
    LXD).  LP: #1716465.
  [ Balint Reczey ]
  * Fix suppression of kpartx error.  LP: #1684090.
2017-09-11 22:23:17 +00:00
Steve Langasek
eeac687884 Import patches-unapplied version 2.408.13 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: eea56e02ae121482387ddc2206bc27de53f2627c

New changelog entries:
  [ Balint Reczey ]
  * Source ubuntu-cpc functions from the right place
  * Use all config hooks from the proper place, not from /build/
  * Add basic but configurable autopkgtest (LP: #1690440)
  * sync before calling kpartx to let writing to loop devices finish
  * wrap kpartx and trap spurious errors, to work around kpartx
    unreliability.
2017-06-13 13:58:45 +00:00
Dimitri John Ledkov
5bc52b4876 Import patches-unapplied version 2.380 to ubuntu/xenial-proposed
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).
2016-02-22 19:45:45 +00:00
Steve Langasek
0ae1111c55 Import patches-unapplied version 2.376 to ubuntu/xenial-proposed
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.
2016-02-12 21:43:58 +00:00
utlemming Howard
601e67d484 Import patches-unapplied version 2.371 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: 94300585a3aa8fc6616a610d58528f5ec9db6965

New changelog entries:
  * Remove unneeded packages from the root.tar.{gz,xz} cloud image targets
    (LP: #1534764).
2016-01-19 13:14:14 +00:00
Daniel Watkins
131941df22 Import patches-unapplied version 2.352 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: 9ac850741cb5c111949cb40b971436c3524d495d

New changelog entries:
  * Move building of all architecture-specific CPC artifacts into Launchpad
    (LP: #1513754).
2015-11-06 10:24:18 +00:00