Displaying 5 results from an estimated 5 matches for "f7ec3f2".
2015 Mar 05
1
[PATCH] add --truncate to virt-customize
Fixes RHBZ#119673.
Maros Zatko (1):
customize: add --truncate option (RHBZ#119673)
builder/cmdline.ml | 2 +-
customize/customize_run.ml | 4 ++++
generator/customize.ml | 9 +++++++++
3 files changed, 14 insertions(+), 1 deletion(-)
--
1.9.3
2015 Mar 05
0
[PATCH] customize: add --truncate-recursive option
...g#is_file (path ^ f)) maybefiles in
+ List.iter (fun f -> g#truncate (path ^ f)) files;
+
| `Timezone tz ->
msg (f_"Setting the timezone: %s") tz;
if not (Timezone.set_timezone g root tz) then
diff --git a/generator/customize.ml b/generator/customize.ml
index f7ec3f2..bfb37f7 100644
--- a/generator/customize.ml
+++ b/generator/customize.ml
@@ -326,6 +326,14 @@ This command truncates \"path\" to a zero-length file. The file must exist
already.";
};
+ { op_name = "truncate-recursive";
+ op_type = String "PATH";
+ op...
2015 Mar 05
2
[PATCH] customize: add --truncate-recursive option
Allows user to recursively truncate all files in a directory.
Related to RHBZ#119673
Maros Zatko (1):
customize: add --truncate-recursive option
builder/cmdline.ml | 3 ++-
customize/customize_run.ml | 6 ++++++
generator/customize.ml | 8 ++++++++
3 files changed, 16 insertions(+), 1 deletion(-)
--
1.9.3
2015 Mar 05
0
[PATCH v2] customize: add --truncate-recursive option
...t;
+ msg (f_"Recursively truncating: %s") path;
+ truncate_recursive g path
+
| `Timezone tz ->
msg (f_"Setting the timezone: %s") tz;
if not (Timezone.set_timezone g root tz) then
diff --git a/generator/customize.ml b/generator/customize.ml
index f7ec3f2..bfb37f7 100644
--- a/generator/customize.ml
+++ b/generator/customize.ml
@@ -326,6 +326,14 @@ This command truncates \"path\" to a zero-length file. The file must exist
already.";
};
+ { op_name = "truncate-recursive";
+ op_type = String "PATH";
+ op...
2015 Mar 05
2
[PATCH v2] customize: add --truncate-recursive option
Allows user to recursively truncate all files in a directory.
Related to RHBZ#119673
Maros Zatko (1):
customize: add --truncate-recursive option
builder/cmdline.ml | 3 ++-
customize/customize_run.ml | 4 ++++
generator/customize.ml | 8 ++++++++
mllib/common_utils.ml | 8 ++++++++
mllib/common_utils.mli | 2 ++
5 files changed, 24 insertions(+), 1 deletion(-)
--
1.9.3