10 Commits

Author SHA1 Message Date
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
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
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
Balint Reczey
aa54a130c3 Depend on packages in main instead of installing them at runtime 2017-06-14 18:25:11 +02:00
Balint Reczey
7cae48fd12 Source ubuntu-cpc functions from the right place 2017-03-31 15:16:36 +00:00
Steve Langasek
60da7e7c43 Also make squashfs skippable with $IMAGE_TARGETS 2017-02-08 15:18:22 -08:00
Daniel Watkins
1fd54c49ee * Consolidate cloud images
- Remove .tar.gz and .tar.xz (removed in favour of the squashfs).
  - Remove the MBR-only disk image in favour of the shared GPT/MBR UEFI
    image.
2016-06-09 10:47:25 +01:00
Steve Langasek
90fc765551 set -u damage 2016-02-06 23:31:54 -08:00
Steve Langasek
cb58e88614 If a subarch is specified for a cloud image build, don't build rootfs
artifacts; these should come from the 'generic' build.
2016-02-05 11:08:26 -08:00
Ben Howard
bc5dbaaca5 ubuntu-cpc: generate squashfs based on the rootfs tarball 2015-11-12 14:48:01 -07:00