Merge lp:~tribaal/livecd-rootfs/fix-ubuntu-ovf-attributes into lp:livecd-rootfs
| Status: | Merged |
|---|---|
| Merged at revision: | 1459 |
| Proposed branch: | lp:~tribaal/livecd-rootfs/fix-ubuntu-ovf-attributes |
| Merge into: | lp:livecd-rootfs |
| Diff against target: |
115 lines (+42/-11) 4 files modified
live-build/ubuntu-cpc/hooks/041-vmdk-ova-image.binary (+20/-4) live-build/ubuntu-cpc/hooks/042-vagrant.binary (+18/-5) live-build/ubuntu-cpc/hooks/ovf/ubuntu-ova-v1-cloudcfg-vmdk.tmpl (+2/-1) live-build/ubuntu-cpc/hooks/ovf/ubuntu-ova-v1-vmdk.tmpl (+2/-1) |
| To merge this branch: | bzr merge lp:~tribaal/livecd-rootfs/fix-ubuntu-ovf-attributes |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Brian Murray | 2017-01-13 | Needs Information on 2017-02-15 | |
| Dan Watkins (community) | Approve on 2017-01-19 | ||
| Robert C Jennings (community) | Approve on 2017-01-17 | ||
| Philip Roche (community) | Approve on 2017-01-13 | ||
|
Review via email:
|
|||
Commit Message
This branch fixes the OVF's metadata to include Ubuntu-specific identifiers and descriptions instead of the generic linux ones (lp:1656293).
This applies to both the general image and the vagrant-specific one.
Description of the Change
This branch fixes the OVF creation attributes, using the OVF-specified ID and descriptions for Ubuntu 32 and 64 bits depending on the currently-built architecture.
| Robert C Jennings (rcj) wrote : | # |
+1 on the code changes. For the commit message I would like to see vmdk/ova mentioned, not just vagrant, plus the bug number.
- 1455. By Chris Glass on 2017-01-16
-
This branch fixes the OVF's metadata to include Ubuntu-specific identifiers and
descriptions instead of the generic linux ones (lp:1656293).This applies to both the general image and the vagrant-specific one.
| Chris Glass (tribaal) wrote : | # |
Change commit message.
| Robert C Jennings (rcj) wrote : | # |
Chris, thanks for the commit msg change. I'm +1 once Dan's 'need info' comments are addressed.
- 1456. By Chris Glass on 2017-01-17
-
Roll both switches on $ARCH into one, as suggested at review.
| Brian Murray (brian-murray) wrote : | # |
The changes to "041-vmdk-
- 1457. By Chris Glass on 2017-02-16
-
Rool both switches into one for all affected files (the vagrant file was still
doing two switches on $ARCH).
| Chris Glass (tribaal) wrote : | # |
> The changes to "041-vmdk-
> message) for arches other than amd64 or i386 but "042-vagrant.
> not. Was not adding an error message to 042-vagrant.binary deliberate?
Ah, good catch - I did collapse both switches on $ARCH into one for the vmdk hook, but forgot to do the same for the vagrant file (the same warning message was already in the file - just not in the diff).
It's functionally the same, but it's nicer now.
- 1458. By Chris Glass on 2017-02-16
-
Fixed template omission (found wile running a build withthis branch).

LGTM