b9 0.5.16 → 0.5.17
raw patch · 2 files changed
+8/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- b9.cabal +2/−2
- src/lib/B9/DiskImageBuilder.hs +6/−1
b9.cabal view
@@ -1,5 +1,5 @@ name: b9-version: 0.5.16+version: 0.5.17 synopsis: A tool and library for building virtual machine images. @@ -45,7 +45,7 @@ maintainer: svh@posteo.de homepage: https://github.com/sheyll/b9-vm-image-builder bug-reports: https://github.com/sheyll/b9-vm-image-builder/issues-copyright: 2015 Sven Heyll <svh@posteo.de>+copyright: 2015, 2016 Sven Heyll <svh@posteo.de> category: Development build-type: Simple extra-source-files: README.md, build_and_test.sh, build_haddock.sh,
src/lib/B9/DiskImageBuilder.hs view
@@ -332,14 +332,19 @@ imgOut) cmd (printf- "qemu-img convert -q -f %s -O %s '%s' '%s'"+ "qemu-img convert -q -f %s -O %s %s '%s' '%s'" (imageFileExtension fmtIn) (imageFileExtension fmtOut)+ (conversionOptions fmtOut) imgIn imgOut) when doMove $ do dbgL (printf "Removing '%s'" imgIn) liftIO (removeFile imgIn)++conversionOptions :: ImageType -> String+conversionOptions Vmdk = " -o adapter_type=lsilogic "+conversionOptions _ = " " toQemuSizeOptVal :: ImageSize -> String toQemuSizeOptVal (ImageSize amount u) = show amount ++ case u of