1910 Commits

Author SHA1 Message Date
Steve Langasek
12b07ae5af move snap assertion handling into the generic build script (and, in
the process, from the subiquity overlay to the base squashfs).
2017-10-03 15:50:06 -07:00
Steve Langasek
e1ac04f887 ubuntu-server: drop hard-coded test key from the subiquity overlay in
favor of the generic-classic assertion from the store.
2017-10-03 15:33:16 -07:00
Dimitri John Ledkov
35e801f00a Drop obsolete fix-ups of resolv.conf, debootstrap should now result in
correct symlink to resolved without any further fixes.
2017-10-02 14:29:52 +01:00
Steve Langasek
8eea25278d releasing package livecd-rootfs version 2.464 2017-10-01 13:39:22 -07:00
Steve Langasek
1368e2d24c Use /bin/sh, not /bin/bash, for autopkgtest. 2017-10-01 13:39:14 -07:00
Steve Langasek
f17a7e62c3 Ignore failure of new autopkgtest on ppc64el, where it's not a
regression.
2017-10-01 13:38:46 -07:00
Steve Langasek
50eada5bc7 releasing package livecd-rootfs version 2.463 2017-09-29 17:33:08 -04:00
Michael Hudson-Doyle
b5420ebf2e changelog 2017-09-29 17:03:14 -04:00
Steve Langasek
4561f17d35 Merge lp:~rbalint/livecd-rootfs/minimized 2017-09-29 16:41:58 -04:00
Balint Reczey
3d57c2af17 Update changelog 2017-09-29 15:38:59 -04:00
Balint Reczey
2dcf16634b Run autopkgtest for SUBPROJECT=minimized 2017-09-29 15:20:14 -04:00
Balint Reczey
59fe9b1550 Bump needed live-build version which can build images without initrd 2017-09-29 15:16:25 -04:00
Steve Langasek
9b651d77a0 releasing package livecd-rootfs version 2.462 2017-09-29 15:10:50 -04:00
Steve Langasek
894ca9ccfc Fix a reference to an undefined variable in a script that's set -u. 2017-09-29 15:10:45 -04:00
Dimitri John Ledkov
850495d5f9 releasing package livecd-rootfs version 2.461 2017-09-28 13:59:24 -04:00
Steve Langasek
8c4ef15806 releasing package livecd-rootfs version 2.460 2017-09-28 09:24:41 -04:00
Balint Reczey
83c2984556 Update changelog 2017-09-27 18:54:21 -04:00
Steve Langasek
7c58bcecf0 Merge lp:~rbalint/livecd-rootfs/vagrant 2017-09-26 12:19:56 -04:00
Steve Langasek
12b1a5de4d Merge lp:~rbalint/livecd-rootfs/mount-make-rslave 2017-09-26 00:59:56 -04:00
Michael Hudson-Doyle
6d5ab03a14 releasing package livecd-rootfs version 2.459 2017-09-21 11:35:07 +12:00
Steve Langasek
7a6a1a3987 Merge lp:~mwhudson/livecd-rootfs/server-live-disable-console-spam 2017-09-20 16:33:06 -07:00
Gary.Wzl
5355732bc8 * Add GENERATE_ROOTFS_ONLY to support generating a single rootfs.
* Add a test for SUBPROJECT when PROJECT comes to ubuntu-server.
2017-09-20 18:23:35 +08:00
Gary.Wzl
8a8d203743 * Add a test for SUBPROJECT when PROJECT comes to ubuntu-server.
* Use notations "0/1" instead of "false/true" as a value for GENERATE_ROOTFS_ONLY.
2017-09-20 18:15:16 +08:00
Steve Langasek
bcb2bcc1cd Remove spurious call to 'sync'; we don't need to flush all disk caches
on the system to cleanly unmount a partition.
2017-09-19 13:17:26 -07:00
Dimitri John Ledkov
f16f1c4229 Move default netplan config for server-live image to where hook will
pick it up.
2017-09-19 12:07:35 +01:00
Gary.Wzl
8fc8c6dc00 Add a changelog entry. 2017-09-18 09:54:22 +08:00
Michael Hudson-Doyle
233c96a87f add changelog entry 2017-09-18 10:48:36 +12:00
Dimitri John Ledkov
7b85fa69bb releasing package livecd-rootfs version 2.457 2017-09-17 16:29:22 +01:00
Dimitri John Ledkov
9c9dbda327 * Enable systemd-networkd by default.
- Usually, netplan's systemd-generator enables systemd-networkd and
  systemd-networkd-wait-online on boot. But netplan configuration is not
  yet generated at that point by cloud-init. Cloud-init generates in the
  network-pre.target and expects the network.target /
  network-online.target to work. These are already part of the ongoing
  systemd transaction, thus cannot be injected into the boot-sequency by
  cloud-init local mode. Therefore make sure cloud images include
  networkd in the initial boot transaction.
  - src:systemd will shortly not enable networkd unconditionally by
  default.
* Drop ifupdown e-n-i configuration files, no longer used.
2017-09-14 17:17:57 +01:00
Steve Langasek
c479b4aa1e releasing package livecd-rootfs version 2.456 2017-09-13 22:35:05 -07:00
Steve Langasek
2386370666 changelog 2017-09-13 22:31:33 -07:00
Steve Langasek
801aad2f77 * 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.
2017-09-13 13:42:28 -07:00
Steve Langasek
7198b6c0ff releasing package livecd-rootfs version 2.455 2017-09-13 12:50:13 -07:00
Steve Langasek
c9ef91e262 Restore the call to 'umount -R $mountpoint' from umount_partition,
accidentally dropped in previous upload.
2017-09-13 12:50:07 -07:00
Steve Langasek
df7bb19cec releasing package livecd-rootfs version 2.454 2017-09-13 12:04:51 -07:00
Steve Langasek
bacde14e41 Also adjust live-build/ubuntu-server/hooks/032-installer-squashfs.binary
to use teardown_mountpoint.
2017-09-13 12:03:34 -07:00
Steve Langasek
7757c10c2c Merge lp:~rcj/livecd-rootfs/trunk 2017-09-13 12:02:24 -07:00
Robert C Jennings
83b4f5338c live-build/ubuntu-cpc/functions: Add teardown_mountpoint to reverse setup_mountpoint
* 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.
2017-09-13 13:31:12 -05:00
Steve Langasek
8589d3548f live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: call apt-get
update *before* installing packages, not after.
2017-09-12 14:39:04 -07:00
Steve Langasek
a246300940 * 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.
2017-09-12 14:36:50 -07:00
Steve Langasek
ece4c400d4 releasing package livecd-rootfs version 2.453 2017-09-11 11:39:19 -07:00
Steve Langasek
148fa39a8e Merge lp:~cjwatson/livecd-rootfs/recursive-mount-dev 2017-09-11 11:38:37 -07:00
Colin Watson
6a42148b22 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).
2017-09-08 11:48:06 +01:00
Adam Conrad
ee344f1d1a Add changelog entry for previous commit 2017-09-01 10:54:50 -06:00
Steve Langasek
7d0503d212 releasing package livecd-rootfs version 2.452 2017-08-30 08:10:13 -07:00
Balint Reczey
4d72521491 Fix suppressing kpartx error 2017-08-30 16:46:47 +02:00
Balint Reczey
9ecbce203c Start working on next upload 2017-08-29 16:19:04 +02:00
Steve Langasek
5c1b9f5c5c releasing package livecd-rootfs version 2.451 2017-08-25 14:28:47 -07:00
Steve Langasek
62c7528416 add changelog entry 2017-08-25 14:28:41 -07:00
Steve Langasek
a6ef49ccd8 releasing package livecd-rootfs version 2.450 2017-08-23 17:27:58 -07:00