Merge lp:~dave-martin-arm/linaro-image-tools/miscellaneous-fixes into lp:linaro-image-tools/11.11
Proposed by
Dave Martin
Status: | Merged |
---|---|
Merged at revision: | 136 |
Proposed branch: | lp:~dave-martin-arm/linaro-image-tools/miscellaneous-fixes |
Merge into: | lp:linaro-image-tools/11.11 |
Diff against target: |
175 lines (+31/-28) 2 files modified
linaro-hwpack-install (+1/-1) linaro-media-create (+30/-27) |
To merge this branch: | bzr merge lp:~dave-martin-arm/linaro-image-tools/miscellaneous-fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby (community) | quoting | Approve | |
Linaro Maintainers | Pending | ||
Review via email: mp+37950@code.launchpad.net |
Description of the change
Minor fixes:
* make argument quoting a bit more robust so that if the argument to --image_file, --hwpack or --binary contains whitespace or metacharacters, things still work
* add missing ensure_command dependency for qemu-img.
* fix an fdisk -l output parsing issue for partitions with odd sector counts
* fix an off-by-one-sector partition sizing error
To post a comment you must log in.
106 + sudo cp "$LINARO_ HWPACK_ INSTALL" ${chroot}/usr/bin
Might as well quote the second argument too.
121 + sudo rm -f ${chroot} /"$(basename "$HWPACK_FILE")"
I would prefer "${chroot} /$(basename "$HWPACK_FILE")"
I haven't reviewed the functional changes.
Thanks,
James