b9 0.5.30 → 0.5.31
raw patch · 4 files changed
+8/−10 lines, 4 filesdep ~b9PVP ok
version bump matches the API change (PVP)
Dependency ranges changed: b9
API changes (from Hackage documentation)
Files
- README.md +1/−3
- b9.cabal +3/−3
- src/lib/B9/LibVirtLXC.hs +4/−4
- stack.yaml +0/−0
README.md view
@@ -1,8 +1,6 @@ # B9 - A Benign VM-Build Tool -[](https://travis-ci.org/sheyll/b9-vm-image-builder)--[](http://hackage.haskell.org/package/b9)+[](https://travis-ci.org/sheyll/b9-vm-image-builder) [](http://hackage.haskell.org/package/b9) [](http://stackage.org/lts/package/b9) [](http://stackage.org/lts-6/package/b9) [](http://stackage.org/lts-5/package/b9) Use B9 to compile your software into a deployable set of Linux-VM- or configuration images, from a set of scripts and input files and templates
b9.cabal view
@@ -1,5 +1,5 @@ name: b9-version: 0.5.30+version: 0.5.31 cabal-version: >=1.22 build-type: Simple license: MIT@@ -133,7 +133,7 @@ ghc-options: -fno-warn-amp main-is: Main.hs build-depends:- b9 >=0.5.30,+ b9 >=0.5.31, base >=4.8 && <5, directory >=1.2.6.2, bytestring >=0.10.8.1,@@ -153,7 +153,7 @@ main-is: Spec.hs build-depends: base >=4.8 && <5,- b9 >=0.5.30,+ b9 >=0.5.31, hspec >=2.2.4, hspec-expectations >=0.7.2, QuickCheck >=2.8.2,
src/lib/B9/LibVirtLXC.hs view
@@ -35,7 +35,10 @@ domainFile = buildBaseDir </> uuid' <.> domainConfig domain = createDomain cfg env buildId uuid' scriptDirHost scriptDirGuest uuid' = printf "%U" uuid- script = Begin [scriptIn, successMarkerCmd scriptDirGuest]+ setupEnv = Begin [ Run "export" ["HOME=/root"]+ , Run "export" ["USER=root"]+ , Run "source" ["/etc/profile"]]+ script = Begin [setupEnv, scriptIn, successMarkerCmd scriptDirGuest] buildDir = buildBaseDir </> uuid' liftIO $ do createDirectoryIfMissing True scriptDirHost@@ -50,9 +53,6 @@ let virsh = virshCommand cfg cmd $ printf "%s create '%s' --console --autodestroy" virsh domainFile -- cmd $ printf "%s console %U" virsh uuid- checkSuccessMarker scriptDirHost-- checkSuccessMarker scriptDirHost = liftIO (doesFileExist $ scriptDirHost </> successMarkerFile) successMarkerFile = "SUCCESS"
stack.yaml view