20 Commits

Author SHA1 Message Date
Steve Langasek
8b47481862 Import patches-unapplied version 2.531 to ubuntu/cosmic-proposed
Imported using git-ubuntu import.

Changelog parent: d9fe4558cfaf48e584d5bdeb949f0f1510e76217

New changelog entries:
  [ Daniel Watkins ]
  * ubuntu-cpc: Use linux-kvm for all amd64 minimized builds (LP: #1775472).
  [ Steve Langasek ]
  * live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: don't manually
    install grub-efi-amd64 since that forces off grub-pc, which is otherwise
    now coinstallable.
2018-06-07 00:38:10 +00:00
Dimitri John Ledkov
718c2fc269 Import patches-unapplied version 2.509 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: 54408aa50613316ff7698fbfcdc86ed23317ca47

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.
2018-03-06 13:13:55 +00:00
Michael Hudson-Doyle
faa28a6472 Import patches-unapplied version 2.485 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: 1db37274ff3418f274464e542c7662fba2d6242a

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
2017-12-03 22:18:21 +00:00
Steve Langasek
7bff7abdf4 Import patches-unapplied version 2.466 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 8168b7c92a3ef263d18cc2654b52b47d27b7f339

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.
2017-10-05 06:43:36 +00:00
Steve Langasek
a02598fe24 Import patches-unapplied version 2.463 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 2da89c90de5e4df541d301cf14819278b3be7df9

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
2017-09-29 21:43:14 +00:00
Steve Langasek
2da89c90de Import patches-unapplied version 2.462 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 3f5115f8f2963d72f56fe6c65666122d462f1369

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.
2017-09-29 19:18:28 +00:00
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
Michael Hudson-Doyle
060069bc77 Import patches-unapplied version 2.459 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: e4b41272e202e6ea178e9752fe4967de9f33a5fb

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
2017-09-21 00:24:15 +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
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
00f18b8d72 Import patches-unapplied version 2.451 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 8eadac557b6f5f0b23b7c109a659f9649884e8e9

New changelog entries:
  * Fix a reference to an undefined variable in the ubuntu-cpc hooks,
    introduced by the previous upload.
2017-08-25 21:33:15 +00:00
Steve Langasek
8eadac557b Import patches-unapplied version 2.450 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 2003d73b1d0bb5ae1cf6f2511db65c0cc14c7b85

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.
2017-08-24 00:43:16 +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
Mathieu Trudel-Lapierre
837997ea02 Import patches-unapplied version 2.436 to ubuntu/zesty-proposed
Imported using git-ubuntu import.

Changelog parent: b477837c3120d904a5fd724a12e55e0b153826f5

New changelog entries:
  [ Robert C Jennings ]
  * ubuntu-cpc: Remove redundant copy of grub files.
2016-10-29 02:03:53 +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