mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-14 14:48:25 +00:00
Imported using git-ubuntu import. Changelog parent: eb0cb09a8d5c77853e7f9cba2b79270e12dc6a59 New changelog entries: [ Daniel Watkins ] * 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. - Remove '-disk1' from bootable image names. [ Phil Roche ] * Removed HWCLOCKACCESS=no from /etc/default/rcS (LP: #1581044)
19 lines
451 B
Bash
Executable File
19 lines
451 B
Bash
Executable File
#!/bin/bash -eux
|
|
# vi: ts=4 expandtab
|
|
#
|
|
# Generate VMDK files
|
|
|
|
case $ARCH in
|
|
i386|amd64) ;;
|
|
*) echo "VMDK images are not supported for $ARCH yet.";
|
|
exit 0;;
|
|
esac
|
|
|
|
. /build/config/functions
|
|
|
|
if [ -e binary/boot/disk-uefi.ext4 ]; then
|
|
create_vmdk binary/boot/disk-uefi.ext4 livecd.ubuntu-cpc.vmdk
|
|
elif [ -f binary/boot/disk.ext4 ]; then
|
|
create_vmdk binary/boot/disk.ext4 livecd.ubuntu-cpc.vmdk
|
|
fi
|