forked from sheyll/b9-vm-image-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
b9.cabal
213 lines (192 loc) · 7.76 KB
/
b9.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
cabal-version: 2.2
name: b9
version: 0.5.69.0
synopsis: A tool and library for building virtual machine images.
description: Build virtual machine images for vm-deployments; resize,
un-partition, create from scratch or convert disk image
files in a variety of formats; assemble and generate all
associated files from templates and regular files.
VM images can further be modifed through scripts, which are
executed in LXC containers into which the vm-images as well
as arbitrary directories from the host are mounted.
All assembled files can also be accessed by vm build
scripts through a special directory mounted in the build
container, and/or can be written to directories, ISO- or
VFAT-images.
The ISO/VFAT images that B9 creates are compatible to
'cloud-init's 'NoCloud' data source;
B9 is also very well suited for compiling in a
containerized environment. For these applications, the
images can be marked as 'Transient' to indicate no further
interest in the VM-image itself, and B9 will discard them
after the build.
B9 will never over-write source files, not even large
vm-image files - there is no intended way to modify a
source vm-image file 'in-place'.
B9 operates in random build directories, which are
discarded when the build exists.
license: MIT
license-file: LICENSE
author: Sven Heyll <[email protected]>
maintainer: [email protected]
homepage: https://github.com/sheyll/b9-vm-image-builder
bug-reports: https://github.com/sheyll/b9-vm-image-builder/issues
copyright: 2015, 2016, 2017, 2018, 2019 Sven Heyll <[email protected]>
category: Development
build-type: Simple
extra-source-files: README.md
, LICENSE
, Setup.hs
, b9.cabal
, .gitignore
, prepare_release.sh
, stack.yaml
, .travis.yml
, CONTRIBUTORS
, CONTRIBUTING.md
, CODE_OF_CONDUCT.md
, CHANGELOG.md
common b9Deps
build-depends: base >= 4.10 && < 5
, bytestring >= 0.10.8
, directory >= 1.3
, extensible-effects >= 5 && < 6
, hspec
, hspec-expectations
, lens >= 4
, text >= 1.2
common b9Extensions
default-extensions: ConstraintKinds
, CPP
, DataKinds
, DeriveDataTypeable
, DeriveFunctor
, DeriveGeneric
, ExplicitNamespaces
, FlexibleContexts
, GADTs
, GeneralizedNewtypeDeriving
, KindSignatures
, MonoLocalBinds
, MultiParamTypeClasses
, RankNTypes
, ScopedTypeVariables
, StandaloneDeriving
, TemplateHaskell
, TupleSections
, TypeFamilies
, TypeOperators
default-language: Haskell2010
ghc-options: -Wall
-fwarn-unused-binds -fno-warn-unused-do-bind
source-repository head
type: git
location: git://github.com/sheyll/b9-vm-image-builder.git
library
import: b9Extensions, b9Deps
hs-source-dirs: src/lib
exposed-modules: B9
, B9.Artifact
, B9.Artifact.Content
, B9.Artifact.Content.AST
, B9.Artifact.Content.CloudConfigYaml
, B9.Artifact.Content.ErlangPropList
, B9.Artifact.Content.ErlTerms
, B9.Artifact.Content.Readable
, B9.Artifact.Content.StringTemplate
, B9.Artifact.Content.YamlObject
, B9.Artifact.Readable
, B9.Artifact.Readable.Interpreter
, B9.Artifact.Readable.Source
, B9.BuildInfo
, B9.B9Config
, B9.B9Config.LibVirtLXC
, B9.B9Config.Repository
, B9.B9Error
, B9.B9Logging
, B9.B9Exec
, B9.B9Monad
, B9.DiskImageBuilder
, B9.DiskImages
, B9.Environment
, B9.ExecEnv
, B9.Text
, B9.LibVirtLXC
, B9.MBR
, B9.PartitionTable
, B9.QCUtil
, B9.Repository
, B9.RepositoryIO
, B9.Shake
, B9.Shake.Actions
, B9.Shake.SharedImageRules
, B9.ShellScript
, B9.Vm
, B9.VmBuilder
, Data.ConfigFile.B9Extras
, System.IO.B9Extras
other-modules: Paths_b9
autogen-modules: Paths_b9
build-depends: ConfigFile >= 1.1.4
, QuickCheck >= 2.5
, aeson >= 1.0
, async >= 2.1
, base64-bytestring
, binary >= 0.8.3
, conduit >= 1.2
, conduit-extra >= 1.1
, exceptions >= 0.10
, filepath >= 1.4
, hashable >= 1.2
, monad-control >= 1.0 && < 1.1
, mtl >= 2.2
, time >= 1.6
, parallel >= 3.2
, parsec >= 3.1
, pretty-show >= 1.6
, pretty >= 1.1
, process >= 1.4
, random >= 1.1
, shake >= 0.17.6 && < 0.19
, syb >= 0.6
, tagged >= 0.8 && < 0.9
, template >= 0.2
, transformers >= 0.5
, unordered-containers >= 0.2.8
, vector >= 0.11
, yaml >= 0.8
, bifunctors >= 5.4
, free >= 4.12
, boxes >= 0.1.4
executable b9c
import: b9Extensions, b9Deps
main-is: Main.hs
other-modules: Paths_b9
autogen-modules: Paths_b9
build-depends: b9
, extensible-effects >= 5 && < 6
, optparse-applicative >= 0.13
hs-source-dirs: src/cli
test-suite spec
import: b9Extensions, b9Deps
type: exitcode-stdio-1.0
ghc-options: -Wall
hs-source-dirs: src/tests
main-is: Spec.hs
autogen-modules: Paths_b9
other-modules: B9.Content.ErlTermsSpec
, B9.Content.ErlangPropListSpec
, B9.Content.YamlObjectSpec
, B9.ArtifactGeneratorImplSpec
, B9.DiskImagesSpec
, B9.EnvironmentSpec
, Paths_b9
build-depends: b9
, binary >= 0.8 && < 0.9
, hspec
, hspec-expectations
, QuickCheck >= 2.5
, aeson >= 1.0
, yaml >= 0.8
, vector >= 0.11
, unordered-containers >= 0.2