From 48a08042edd1df4082129a790a1677e1f267b391 Mon Sep 17 00:00:00 2001 From: Ben Howard Date: Thu, 12 Nov 2015 18:52:33 -0700 Subject: [PATCH] Fix --- debian/changelog | 12 ++++++++++++ live-build/ubuntu-cpc/functions | 8 ++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index c055287c..3963ff92 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +livecd-rootfs (2.354.0~utlemming33) xenial; urgency=medium + + * Test build + + -- Ben Howard Thu, 12 Nov 2015 17:56:31 -0700 + +livecd-rootfs (2.354.0~utlemming32) xenial; urgency=medium + + * Test build + + -- Ben Howard Thu, 12 Nov 2015 17:52:26 -0700 + livecd-rootfs (2.354.0~utlemming31) xenial; urgency=medium * Test build diff --git a/live-build/ubuntu-cpc/functions b/live-build/ubuntu-cpc/functions index 4847867f..31645633 100644 --- a/live-build/ubuntu-cpc/functions +++ b/live-build/ubuntu-cpc/functions @@ -90,18 +90,18 @@ modify_vmdk_header() { -e 's|# Description file.*|# Disk DescriptorFile|' \ -e '/# Believe.*/d' \ -e '/# Indicates no parent/d' \ - "${descriptor}" > "${new_descriptor}" + "${descriptor}" > "${newdescriptor}" # The header is cannot be bigger than 1024 - expr $(stat --format=%s ${new_descriptor}) \< 1024 || { + expr $(stat --format=%s ${newdescriptor}) \< 1024 || { echo "descriptor is too large, VMDK will be invalid!"; exit 1; } # Overwrite the vmdk header with our new, modified one dd conv=notrunc,nocreat \ - if="${new_descriptor}" of="${vmdk_name}" \ + if="${newdescriptor}" of="${vmdk_name}" \ bs=1 seek=512 count=1024 - rm ${descriptor} ${new_descriptor} + rm ${descriptor} ${newdescriptor} } create_vmdk() {