9 Commits

Author SHA1 Message Date
Steve Langasek
bc18c8a992 Import patches-unapplied version 2.482 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: c4cfbef1ee75ffa46af351f74751a032fbf1ef6d

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.
2017-11-10 08:40:42 +00:00
Steve Langasek
efbd6fd1c6 Import patches-unapplied version 2.454 to ubuntu/artful-proposed
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.
2017-09-13 19:48:39 +00:00
Steve Langasek
6e53d32cd8 Import patches-unapplied version 2.453 to ubuntu/artful-proposed
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.
2017-09-11 19:08:56 +00:00
Brian Murray
5eb31aa1c2 Import patches-unapplied version 2.448 to ubuntu/artful-proposed
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)
2017-07-24 18:48:24 +00:00
Mathieu Trudel-Lapierre
0031d747ac Import patches-unapplied version 2.441 to ubuntu/zesty-proposed
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.
2017-04-13 03:33:12 +00:00
Adam Conrad
2ac1eda867 Import patches-unapplied version 2.440 to ubuntu/zesty-proposed
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
2017-03-23 17:53:14 +00:00
Steve Langasek
4109c1c2b3 Import patches-unapplied version 2.419 to ubuntu/yakkety-proposed
Imported using git-ubuntu import.

Changelog parent: eb0cb09a8d5c77853e7f9cba2b79270e12dc6a59

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)
2016-06-28 23:54:13 +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
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