search for: output_is_block_dev

Displaying 7 results from an estimated 7 matches for "output_is_block_dev".

2017 Nov 21
0
[PATCH] builder: planner: Don't add some impossible transitions.
...rmat then + tr `Copy ((`Filename, output_filename) :: remove `Template itags); tr `Copy ((`Filename, tempfile) :: remove `Template itags); (* We can rename a file instead of copying, but don't rename the * cache copy! *) if is_not `Template then ( - if not output_is_block_dev then + if not output_is_block_dev && infile <> output_filename then tr `Move ((`Filename, output_filename) :: itags); tr `Move ((`Filename, tempfile) :: itags) ); @@ -490,7 +492,7 @@ let main () = (* If the input is XZ-compressed, then we can run xzcat...
2017 Nov 21
1
[PATCH v2] builder: planner: Don't add some impossible transitions.
Previous patch contained a typo. Changed output_format -> output_filename. Rich.
2015 Nov 11
0
[PATCH] builder: Make the interface between cmdline.ml and builder.ml explicit.
...rmat @@ -353,7 +350,7 @@ let main () = let { Index.size = original_image_size } = entry in let size = - match size with + match cmdline.size with | Some size -> size (* --size parameter missing, output to file: use original image size *) | None when not output_is_block_dev -> original_image_size @@ -526,7 +523,7 @@ let main () = * if it's block device, or if --no-delete-on-failure is set. *) let delete_output_file = - ref (delete_on_failure && not output_is_block_dev) in + ref (cmdline.delete_on_failure && not output_is_block_d...
2017 Oct 03
0
[PATCH v2 2/2] builder: Choose better weights in the planner.
...tr `Copy ((`Filename, tempfile) :: remove `Template itags); (* We can rename a file instead of copying, but don't rename the - * cache copy! (XXX Also this is not free if copying across - * filesystems) + * cache copy! *) if is_not `Template then ( if not output_is_block_dev then - tr `Rename 0 ((`Filename, output_filename) :: itags); - tr `Rename 0 ((`Filename, tempfile) :: itags); + tr `Move ((`Filename, output_filename) :: itags); + tr `Move ((`Filename, tempfile) :: itags) ); if is `XZ then ( @@ -449,9 +495,9 @@ let main () =...
2017 Oct 04
2
[PATCH v3 0/2] builder: Choose better weights in the planner.
v2 -> v3: - Drop gnulib fallback.
2017 Oct 02
3
[PATCH 0/2] builder: Choose better weights in the planner.
It started out as "this'll be just a simple fix ..." and turned into something a bit over-engineered in the end. Here it is anyway. Rich.
2017 Oct 03
4
[PATCH v2 0/2] builder: Choose better weights in the planner.
v1 -> v2: - Removed the f_type field from StatVFS.statvfs structure. - New function StatVFS.filesystem_is_remote, written in C. [Thinking about it, this should probably be called ?is_network_filesystem?, but I can change that before pushing]. - Use statvfs instead of fstatvfs, and statfs instead of fstatfs. - Rejigged the comments in builder/builder.ml to make them simpler