21 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
c582c0e637 Import patches-unapplied version 2.488 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: 7e86291397fb7d6c5ef8b431c136362da9471835

New changelog entries:
  * Enable systemd-networkd by default for live-server installs.
2018-01-03 20:38:22 +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
9f966299f1 Import patches-unapplied version 2.478 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: ed2c2791c88812e791cd5462a9d11c7cb9dbb505

New changelog entries:
  [ Michael Hudson-Doyle ]
  * Two last minute server-live fixes:
    - Seed the subiquity snap to track the stable channel (LP: #1724410)
    - Remove snap.subiquity.started from subiquity's After=/Requires= as it
      does not fix the race condition they were intended to address and causes
      subiquity to be killed when snapd refreshes subiquity (LP: #1724411)
2017-10-18 05:18:19 +00:00
Steve Langasek
ed2c2791c8 Import patches-unapplied version 2.477 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 95f6bb3dfc807fe64a25957b2d7ae57a3777c3eb

New changelog entries:
  * Fix server live image to pull subiquity from the stable channel, not
    from edge.
2017-10-15 21:18:34 +00:00
Steve Langasek
95f6bb3dfc Import patches-unapplied version 2.476 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 979261d9275c61c2dc8e7a310bbfe14e73f38786

New changelog entries:
  * snap.subiquity.started.service must be RemainAfterExit=yes to satisfy
    the service dependencies.
2017-10-12 14:03:27 +00:00
Steve Langasek
979261d927 Import patches-unapplied version 2.475 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 00b23f0f6b41c76287d3f62c46983c77bfb0c01f

New changelog entries:
  * Add the SNAP_REEXEC=0 enviroment to the subiquity service as well.
2017-10-12 04:54:04 +00:00
Steve Langasek
00b23f0f6b Import patches-unapplied version 2.474 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 11ad200f2e456379dc328a3b6756d37c421bd7dc

New changelog entries:
  * Fix wrong variable name in systemd unit snippets.
2017-10-11 22:58:52 +00:00
Steve Langasek
11ad200f2e Import patches-unapplied version 2.473 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 5a3ccfef341d527c982edf3af372266b3b1be566

New changelog entries:
  [ Balint Reczey ]
  * Clean up dangling /boot/initrd.img symlink when needed
  * Revert ignoring failure of minimized autopkgtest on ppc64el
  * Use kvm kernel only on amd64
  * Skip installing server task when building minimial images
  [ Steve Langasek ]
  * export SNAP_REEXEC=0 to our snappy systemd units in the livefs overlay,
    to work around apparmor not working reliably against aufs.
2017-10-11 16:58:38 +00:00
Steve Langasek
5a3ccfef34 Import patches-unapplied version 2.472 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 84ef6ff8e3e67562bf44191ec9b0c3da4237b4ff

New changelog entries:
  [ Michael Hudson-Doyle ]
  * Add snap.subiquity.started.service to subiquity.service's Requires=.
2017-10-10 22:58:37 +00:00
Michael Hudson-Doyle
577646d435 Import patches-unapplied version 2.468 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: b05311165170c07d65bc27ea8edf27434c54efca

New changelog entries:
  [ Dimitri John Ledkov ]
  * Drop obsolete fix-ups of resolv.conf, debootstrap should now result in
    correct symlink to resolved without any further fixes.
  [ Michael Hudson-Doyle ]
  * Have subiquity.service order after on a service defined by the subiquity
    snap, which in turn will order after the job that mounts the subiquity
    snap. (LP: #1721414)
2017-10-06 10:23:14 +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
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
Michael Hudson-Doyle
e4b41272e2 Import patches-unapplied version 2.458 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 7fd585146bdd0f08adaf5c9cc0e06c82626266d8

New changelog entries:
  * Move default netplan config for server-live image to where hook will
    pick it up.
2017-09-19 12:04:41 +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
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
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
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