Commit Graph

16 Commits (5fca228f83785cc9a747f8f8e441aba31bf6c519)

Author SHA1 Message Date
Daniel Watkins 64e90c0cca ubuntu-cpc: Handle a pre-existing /lib/modules in 030-root-tarball.hook (LP: #1797170).
6 years ago
Robert C Jennings 0acda846dd live-build/ubuntu-cpc/functions: Add teardown_mountpoint to reverse setup_mountpoint
8 years ago
Steve Langasek 314a6b95a3 Mount and unmount /dev recursively, to cope with setups where there are
8 years ago
Balint Reczey e25936cc61 Source ubuntu-cpc functions from the right place
8 years ago
Daniel Watkins 6f6fb2834b Refactor ubuntu-cpc hooks to hard-code producing an 'ext4' rootfs, which
9 years ago
Steve Langasek 246d45c839 And one more
9 years ago
Steve Langasek c62743e5f4 ...but if we're going to avoid using umount_partition, we need to actually unmount all the mountpoints mounted by setup_mountpoint
9 years ago
Steve Langasek 93314b5882 and the parent directory isn't a mountpoint, so roll back a change that also causes the script to fail. This still warrants refactoring, but let's refactor it in a way that actually works.
9 years ago
Steve Langasek c53b727a79 But don't try to use the function without declaring the function...
9 years ago
Steve Langasek 7339cb09b3 Remove some code duplication
9 years ago
Steve Langasek 0b279f731b Refactor ubuntu-cpc hooks to always produce a 'plain' rootfs via
9 years ago
Ben Howard 28c10e02db ubuntu-cpc: in hooks/030-root-tarball.binary create /lib/modules to fix
9 years ago
Dimitri John Ledkov 21b502d78c Do not remove linux-base, when purging all the linux-*, in the tarball
9 years ago
Steve Langasek cb58e88614 If a subarch is specified for a cloud image build, don't build rootfs
9 years ago
Ben Howard fdd9a3e716 Remove unneeded packages from the root.tar.{gz,xz} cloud image targets
9 years ago
Daniel Watkins 216762748b Move building of all architecture-specific CPC artifacts in to
9 years ago