mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-01 21:21:42 +00:00
Remove '-disk1' from bootable image names.
This commit is contained in:
parent
1fd54c49ee
commit
0a8a704b0b
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -4,6 +4,7 @@ livecd-rootfs (2.416) UNRELEASED; urgency=medium
|
|||||||
- Remove .tar.gz and .tar.xz (removed in favour of the squashfs).
|
- 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
|
- Remove the MBR-only disk image in favour of the shared GPT/MBR UEFI
|
||||||
image.
|
image.
|
||||||
|
- Remove '-disk1' from bootable image names.
|
||||||
|
|
||||||
-- Daniel Watkins <daniel.watkins@canonical.com> Thu, 09 Jun 2016 10:34:13 +0100
|
-- Daniel Watkins <daniel.watkins@canonical.com> Thu, 09 Jun 2016 10:34:13 +0100
|
||||||
|
|
||||||
|
@ -15,5 +15,5 @@ apt-get install -qqy qemu-utils
|
|||||||
. /build/config/functions
|
. /build/config/functions
|
||||||
|
|
||||||
if [ -f binary/boot/disk-uefi.ext4 ]; then
|
if [ -f binary/boot/disk-uefi.ext4 ]; then
|
||||||
convert_to_qcow2 binary/boot/disk-uefi.ext4 livecd.ubuntu-cpc.disk1.img
|
convert_to_qcow2 binary/boot/disk-uefi.ext4 livecd.ubuntu-cpc.img
|
||||||
fi
|
fi
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
#
|
#
|
||||||
# Generate VMDK files
|
# Generate VMDK files
|
||||||
|
|
||||||
extension="disk1.vmdk"
|
|
||||||
|
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
i386|amd64) ;;
|
i386|amd64) ;;
|
||||||
*) echo "VMDK images are not supported for $ARCH yet.";
|
*) echo "VMDK images are not supported for $ARCH yet.";
|
||||||
@ -13,10 +11,6 @@ esac
|
|||||||
|
|
||||||
. /build/config/functions
|
. /build/config/functions
|
||||||
|
|
||||||
if [ -e binary/boot/disk.ext4 ]; then
|
|
||||||
create_vmdk binary/boot/disk.ext4 livecd.ubuntu-cpc.disk1.vmdk
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -e binary/boot/disk-uefi.ext4 ]; then
|
if [ -e binary/boot/disk-uefi.ext4 ]; then
|
||||||
create_vmdk binary/boot/disk-uefi.ext4 livecd.ubuntu-cpc.uefi.vmdk
|
create_vmdk binary/boot/disk-uefi.ext4 livecd.ubuntu-cpc.vmdk
|
||||||
fi
|
fi
|
||||||
|
@ -17,9 +17,9 @@ esac
|
|||||||
cur_d=${PWD}
|
cur_d=${PWD}
|
||||||
my_d=$(dirname $(readlink -f ${0}))
|
my_d=$(dirname $(readlink -f ${0}))
|
||||||
|
|
||||||
base_vmdk="livecd.ubuntu-cpc.disk1.vmdk"
|
base_vmdk="livecd.ubuntu-cpc.vmdk"
|
||||||
if [ "$ARCH" = "amd64" ]; then
|
if [ "$ARCH" = "amd64" ]; then
|
||||||
base_vmdk="livecd.ubuntu-cpc.uefi.vmdk"
|
base_vmdk="livecd.ubuntu-cpc.vmdk"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e ${base_vmdk} ]; then
|
if [ ! -e ${base_vmdk} ]; then
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
cur_d=${PWD}
|
cur_d=${PWD}
|
||||||
my_d=$(dirname $(readlink -f ${0}))
|
my_d=$(dirname $(readlink -f ${0}))
|
||||||
|
|
||||||
base_vmdk="livecd.ubuntu-cpc.disk1.vmdk"
|
base_vmdk="livecd.ubuntu-cpc.vmdk"
|
||||||
|
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
amd64|i386) ;;
|
amd64|i386) ;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user