ubuntu/yakkety
Ben Howard 9 years ago
parent 2b818e8475
commit 48a08042ed

12
debian/changelog vendored

@ -1,3 +1,15 @@
livecd-rootfs (2.354.0~utlemming33) xenial; urgency=medium
* Test build
-- Ben Howard <ben.howard@ubuntu.com> Thu, 12 Nov 2015 17:56:31 -0700
livecd-rootfs (2.354.0~utlemming32) xenial; urgency=medium
* Test build
-- Ben Howard <ben.howard@ubuntu.com> Thu, 12 Nov 2015 17:52:26 -0700
livecd-rootfs (2.354.0~utlemming31) xenial; urgency=medium livecd-rootfs (2.354.0~utlemming31) xenial; urgency=medium
* Test build * Test build

@ -90,18 +90,18 @@ modify_vmdk_header() {
-e 's|# Description file.*|# Disk DescriptorFile|' \ -e 's|# Description file.*|# Disk DescriptorFile|' \
-e '/# Believe.*/d' \ -e '/# Believe.*/d' \
-e '/# Indicates no parent/d' \ -e '/# Indicates no parent/d' \
"${descriptor}" > "${new_descriptor}" "${descriptor}" > "${newdescriptor}"
# The header is cannot be bigger than 1024 # 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; } echo "descriptor is too large, VMDK will be invalid!"; exit 1; }
# Overwrite the vmdk header with our new, modified one # Overwrite the vmdk header with our new, modified one
dd conv=notrunc,nocreat \ dd conv=notrunc,nocreat \
if="${new_descriptor}" of="${vmdk_name}" \ if="${newdescriptor}" of="${vmdk_name}" \
bs=1 seek=512 count=1024 bs=1 seek=512 count=1024
rm ${descriptor} ${new_descriptor} rm ${descriptor} ${newdescriptor}
} }
create_vmdk() { create_vmdk() {

Loading…
Cancel
Save