11 Commits

Author SHA1 Message Date
Steve Langasek
3f5115f8f2 Import patches-unapplied version 2.460 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 060069bc77a7bee5c3258f56ca8c33d900c5d9de

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
2017-09-28 21:58:14 +00:00
Steve Langasek
62cc84825d Import patches-unapplied version 2.456 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 3adf9af2a9d022af3323c328c130ca95842f1181

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
2017-09-14 05:43:43 +00:00
Steve Langasek
3adf9af2a9 Import patches-unapplied version 2.455 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: efbd6fd1c6934cbed5c735704c6091eb2b0c625c

New changelog entries:
  * Restore the call to 'umount -R $mountpoint' from umount_partition,
    accidentally dropped in previous upload.
2017-09-13 20:54:32 +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
Balint Reczey
70a41fd45c Import patches-unapplied version 2.452 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 00f18b8d7251083535e2a01110f5340e05ad6f0f

New changelog entries:
  * Fix suppressing kpartx error
2017-08-30 15:50:00 +00:00
Dimitri John Ledkov
2003d73b1d Import patches-unapplied version 2.449 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 5eb31aa1c26b53af5cdcdbf882f4deeb5b171e29

New changelog entries:
  [ Balint Reczey ]
  * Use VMDKstream in a more future-proof way
  [ Dimitri John Ledkov ]
  * Drop creating upstart jobs for serial getty.
2017-08-14 16:08:12 +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
Steve Langasek
e55a4a7910 Import patches-unapplied version 2.445 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 2d6d50b86f5a69696218101a561a605cc4b2b20d

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.
2017-05-23 22:58:14 +00:00
Steve Langasek
de6bd722ae Import patches-unapplied version 2.442 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 41970327be7f22d59e7a862b01286caad1a95f6a

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
2017-04-28 22:18:15 +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