mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-10 02:41:15 +00:00
* ubunutu-cpc: - extended hooks/functions to support creation of derivative images including mounting images. - added the ability to create qcow2 images in hooks/functions - simplified loop clean-up in hooks/functions - removed assumption that disk1.img would be built - switched qcow2 generation to use hooks/functions function
14 lines
312 B
Bash
14 lines
312 B
Bash
#!/bin/bash -ex
|
|
|
|
apt-get install -qqy qemu-utils
|
|
|
|
. /build/config/functions
|
|
|
|
if [ -f binary/boot/disk.ext4 ]; then
|
|
convert_to_qcow2 binary/boot/disk.ext4 livecd.ubuntu-cpc.disk1.img
|
|
fi
|
|
|
|
if [ -f binary/boot/disk-uefi.ext4 ]; then
|
|
convert_to_qcow2 binary/boot/disk-uefi.ext4 livecd.ubuntu-cpc.uefi1.img
|
|
fi
|