@ -1,6 +1,6 @@
#!/bin/bash -ex
. /build/config/functions
. config/functions
BOOTPART_START=
BOOTPART_END=
@ -8,7 +8,7 @@ if [ -n "$SUBARCH" ]; then
exit 0
fi
mkdir binary/boot/squashfs.dir
cp -a chroot/* binary/boot/squashfs.dir
@ -9,7 +9,7 @@ case $ARCH in
;;
esac
apt-get -qqy install dosfstools gdisk
@ -7,7 +7,7 @@ case $ARCH in
create_partitions() {
disk_image="$1"
@ -12,7 +12,7 @@ esac
apt-get install -qqy qemu-utils
if [ -f binary/boot/disk-uefi.ext4 ]; then
convert_to_qcow2 binary/boot/disk-uefi.ext4 livecd.ubuntu-cpc.img
exit 0;;
if [ -e binary/boot/disk-uefi.ext4 ]; then
create_vmdk binary/boot/disk-uefi.ext4 livecd.ubuntu-cpc.vmdk
@ -35,7 +35,7 @@ case $ARCH in
# Virtualbox is needed for making a small VMDK
apt-get -qqy install genisoimage qemu-utils
@ -9,7 +9,7 @@ if [ ! -d ${my_dir}/extra ]; then
# Export the common functions to the extras
# Cleaner execution
/bin/run-parts --regex ".*\.binary" "${extra_d}"