1 (* This contains lots of configuration specifics which are
2 * unlikely to be useful unless you are me ...
9 let buildtmp = sprintf "%s/tmp/builds" (Sys.getenv "HOME")
12 let fedora_dir = Sys.getenv "HOME" // "d/fedora"
13 let fedora_repo pkg branch = fedora_dir // pkg // branch
14 let fedora_specfile pkg branch =
15 sprintf "%s/%s.spec" (fedora_repo pkg branch) pkg
18 let libguestfs_query_mins = 60
20 let libguestfs_website_repo =
21 sprintf "%s/d/websites/libguestfs" (Sys.getenv "HOME")
23 let libguestfs_localconfigure source =
26 `Git -> "./autogen.sh"
27 | `Tarball -> "./configure" in
32 # NB: --enable-valgrind-daemon is disabled because we
33 # should be checking production builds.
38 --with-default-backend=libvirt \\
46 let libguestfs_localenv supermin =
48 shlines "grep SKIP_ %s" (fedora_specfile "libguestfs" "master") in
50 String.concat "\n" skips ^
53 | Some (supermin, supermin_helper) ->
55 # Needs a modified path to supermin binaries:
57 export SUPERMIN_HELPER=%s
59 " supermin supermin_helper