12 Commits

Author SHA1 Message Date
CloudBuilder
b8f5448bce Imported 2.408.42
No reason for CPC update specified.
2019-01-17 13:50:15 +00:00
Robert C Jennings
bc3a52a929 Import patches-unapplied version 2.408.32 to ubuntu/xenial-proposed
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
2018-06-08 05:13:16 +00:00
Balint Reczey
6be108d847 Import patches-unapplied version 2.408.25 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: 4c3694d4a2b50dd2faa9ee66575645d5b3315179

New changelog entries:
  * Sort and list dependencies nicely
  * Depend on packages instead of installing them at run time
  * Use xz -T4 instead of pxz.
    Supported xz versions before 5.2 accept the -T4 option but ignore it.
    Also depend on xz-utils instead of downloading pxz. (LP: #1701132)
2017-12-07 21:00:00 +00:00
Dimitri John Ledkov
8cc7060c24 Import patches-unapplied version 2.408.20 to ubuntu/xenial-proposed
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 ""
2017-10-19 23:03:14 +00:00
Steve Langasek
d59199fe59 Import patches-unapplied version 2.408.18 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: 803cf10633714ca2289646de61a9952a420232e0

New changelog entries:
  [ Robert C Jennings ]
  * Install udev before calls to udevadm
2017-09-14 05:43:43 +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
Robert C Jennings
6227a6abfb Import patches-unapplied version 2.408.9 to ubuntu/xenial-proposed
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)
2017-03-23 20:18:25 +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
Ben Howard
197a5ea751 Import patches-unapplied version 2.359 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: fc5a8afdab08a12e9b45b1d26b83b3d20f1684a9

New changelog entries:
  * ubuntu-cpc:
    - add devpts-live to hook builds
    - add logic to settle the disks after UEFI builds
2015-11-23 18:24:42 +00:00
Oliver Grawert
1bffb76250 Import patches-unapplied version 2.357 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: 7ff03ccdbb51cad4157fd101150690249d2ac60b

New changelog entries:
  * merge lp:~utlemming/livecd-rootfs/additional-cloud-targets:
  * added additional CPC build targets:
    - added manifest generation for squashfs and root.tar.gz
    - added VMDK generation
    - added OVA generation from VMDK's
    - added generic Vagrant image generation
2015-11-16 15:04:00 +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