search for: tmpefivars

Displaying 3 results from an estimated 3 matches for "tmpefivars".

2017 Jul 10
7
[PATCH 0/5] various improvements for make-template.mk
Hi, this series improves the generation of Debian templates, automating basically almost all the steps needed. Also, it fixes the generation of aarch64 images with NVRAM, which is currently removed too soon, and thus not saved and compressed. Thanks, Pino Toscano (5): builder: templates: update Debian preseed from Stretch builder: templates: generalize debian location builder: templates:
2017 Jul 10
0
[PATCH 5/5] builder: templates: pass empty proxy to d-i when not set
...rtions(+), 1 deletion(-) diff --git a/builder/templates/make-template.ml b/builder/templates/make-template.ml index 164e146..fe9a44f 100755 --- a/builder/templates/make-template.ml +++ b/builder/templates/make-template.ml @@ -726,7 +726,11 @@ and make_virt_install_command os arch ks tmpname tmpout tmpefivars location let proxy = let p = try Some (Sys.getenv "http_proxy") with Not_found -> None in match p with - | None -> "" + | None -> + (match os with + | Fedora _ | RHEL _ | CentOS _ | Ubuntu _ -> "" + | Debian _ -> &quo...
2016 Nov 28
2
[PATCH] builder: Rearrange how template-building scripts work.
...domain. We will + * also have to clean this up after running virt-install. + *) + let tmpname = sprintf "tmp-%s" (random8 ()) in + + (* Choose a random temporary disk name. *) + let tmpout = sprintf "%s.img" tmpname in + + (* Some architectures need EFI boot. *) + let tmpefivars = + match os, arch with + | (Fedora _|RHEL _), Aarch64 -> + let vars = sprintf "%s.vars" tmpname in + let cmd = + sprintf "cp /usr/share/edk2/aarch64/vars-template-pflash.raw %s" + (quote vars) in + if Sys.command cmd <> 0...