Summary: | release/scripts/mk-vmimage.sh producing incorrect vmdk format vm-images | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Jeremy Norris <ishmaeljx> | ||||
Component: | bin | Assignee: | FreeBSD Release Engineering <re> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | Keywords: | patch | ||||
Priority: | --- | ||||||
Version: | CURRENT | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: gjb Date: Mon May 11 14:53:08 UTC 2015 New revision: 282772 URL: https://svnweb.freebsd.org/changeset/base/282772 Log: Fix virtual machine disk format creating by passing VMFORMAT to mkimg(1) PR: 200068 Submitted by: Jeremy Norris MFC after: 3 days Sponsored by: The FreeBSD Foundation Changes: head/release/tools/vmimage.subr Fixed in r282772. Thank you for the submission and the fix. A commit references this bug: Author: gjb Date: Thu May 14 04:21:05 UTC 2015 New revision: 282877 URL: https://svnweb.freebsd.org/changeset/base/282877 Log: MFC r282772: Fix virtual machine disk format creating by passing VMFORMAT to mkimg(1) PR: 200068 Sponsored by: The FreeBSD Foundation Changes: stable/10/release/tools/vmimage.subr |
Created attachment 156554 [details] Possible fix to mkimg invocation amd64 vmdk images for 10.1-STABLE and 11.0-CURRENT as found on ftp.freebsd.org are not actually vmdk format files, but instead appear to be miscreated raw image files. Examining release/tools/vmimage.subr for both -head and -stable svn branches, it appears that the mkimg invocation lost the passing of the -f argument during a rewrite a few months ago. Probably need to change all the mkimg invocations in vmimage.subr to include a "-f ${VMFORMAT}" argument (see attached for possible fix).