mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-14 22:58:23 +00:00
Imported using git-ubuntu import. Changelog parent: c9470d78b1f5a1d37001234373d905f5c627c264 New changelog entries: * ubunut-cpc: - extendend 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
Executable File
14 lines
312 B
Bash
Executable File
#!/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
|