1463 Commits

Author SHA1 Message Date
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
Steve Langasek
33918809c9 add changelog entry 2017-08-23 17:27:52 -07:00
Dimitri John Ledkov
bec201601d Set a default locale of C.UTF-8 in the cloud images. 2017-08-18 09:12:22 +01:00
Steve Langasek
8aadf2c73d Set a default locale of C.UTF-8 in the cloud images. 2017-08-16 16:32:27 -07:00
Dimitri John Ledkov
e94b04b0e0 releasing package livecd-rootfs version 2.449 2017-08-14 17:03:02 +01:00
Dimitri John Ledkov
55508d96f7 Drop creating upstart jobs for serial getty. 2017-08-14 17:02:01 +01:00
Balint Reczey
3b37842219 Use VMDKstream in a more future-proof way 2017-07-24 20:46:51 +02:00
Brian Murray
c1bc88e7ce releasing package livecd-rootfs version 2.448 2017-07-24 11:34:10 -07:00
Robert C Jennings
f05a8a238f live-build/functions: Update path for VMDKstream.py
LP: #1706116
2017-07-24 19:20:21 +02:00
Balint Reczey
cfda7d20bd Use xz -T4 -0 instead of pxz
Test showed very little difference in file-size between -0 and -9 while
both compression and decompression need much less memory and compression
needs less CPU time for -0.

Supported xz versions before 5.2 also accept the -T4 option but ignore it.

Also depend on xz-utils instead of on pxz.

LP: #1701132
2017-06-30 12:22:29 +02:00
Mathieu Trudel-Lapierre
726e6192e0 auto/config: enable Debug::pkgDepCache::AutoInstall so tracking down
dependency bugs in the livefs is a little clearer.
2017-06-23 14:23:53 -04:00
Steve Langasek
926b22a834 Merge lp:~rbalint/livecd-rootfs/deps 2017-06-15 23:46:40 -07:00
Steve Langasek
9900a84214 releasing package livecd-rootfs version 2.447 2017-06-15 23:36:46 -07:00
Steve Langasek
23d9db863e Add cm3 as a known ubuntu-core image type. LP: #1698223. 2017-06-15 23:36:42 -07:00
Balint Reczey
0bee1ec424 Update changelog 2017-06-14 18:26:22 +02:00
Didier Roche
1ce405bb8c releasing package livecd-rootfs version 2.446 2017-06-06 09:15:32 +02:00
Didier Roche
414c3ba23f Update changelog 2017-06-06 09:15:05 +02:00
Steve Langasek
8a1ad92cf3 releasing package livecd-rootfs version 2.445 2017-05-23 15:56:56 -07:00
Steve Langasek
fc5bce13fc Add changelog entries 2017-05-23 15:56:50 -07:00
Steve Langasek
f75be1c606 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.
2017-04-28 20:44:09 -07:00
Steve Langasek
a96a371101 releasing package livecd-rootfs version 2.444 2017-04-28 18:22:49 -07:00
Steve Langasek
dbba32fae6 For now, make sure all automated image builds are on the edge channel.
Eventually we will want to pass the channel as build metadata instead.
2017-04-28 18:02:16 -07:00
Steve Langasek
6aad636452 releasing package livecd-rootfs version 2.443 2017-04-28 17:50:10 -07:00
Steve Langasek
4f2c623e27 Use xz to compress ubuntu-image .img files before transfer, so that we
have smaller downloads and retain file sparseness everywhere.
2017-04-28 17:50:02 -07:00
Steve Langasek
c9b65e13bd Mark autopkgtests isolation-machine since debootstrap won't work in a
container.
2017-04-28 17:41:23 -07:00
Steve Langasek
13ac4328fb releasing package livecd-rootfs version 2.442 2017-04-28 15:15:16 -07:00
Mathieu Trudel-Lapierre
d463581569 Merge in lp:~ubuntu-core-dev/livecd-rootfs/zesty-proposed for the changes that landed in zesty but previously missing in livecd-rootfs trunk. 2017-04-28 17:48:46 -04:00
Mathieu Trudel-Lapierre
0da6b23075 releasing package livecd-rootfs version 2.441.2 2017-04-28 17:44:10 -04:00
Mathieu Trudel-Lapierre
2e21d6d6b1 The ubuntu-server:live should use a casper-based initramfs to work
correctly. (LP: #1682460)
2017-04-28 17:43:58 -04:00
Mathieu Trudel-Lapierre
608e738d38 releasing package livecd-rootfs version 2.441.1 2017-04-28 17:43:15 -04:00
Mathieu Trudel-Lapierre
03c991faef Setup kernel properly for ubuntu-server:live; we *do* want to build
kernel-generic and initrd-generic for this image. (LP: #1682460)
2017-04-28 17:43:04 -04:00
Balint Reczey
63188748c0 Update changelog 2017-04-28 22:30:22 +02:00