Displaying 8 results from an estimated 8 matches for "cpiofile".
2006 Apr 08
0
[WIP] rebuild initramfs when content changes
...;;
esac
;;
esac
done
[ -z ${input_seen} ] && ${file_list}default_initramfs
[ ! -z ${file_list} ] && exit 0
# If output_file is set we will generate cpio archive and gzip it
if [ ! -z ${output_file} ]; then
if [ -z ${cpio_file} ]; then
cpio_file="$(mktemp /tmp/cpiofile.XXXXXX)"
$(dirname ${prog})/gen_init_cpio ${cpio_list} > ${cpio_file}
fi
cat ${cpio_file} | gzip -f -9 - > ${output_file}
fi
exit 0
2006 Apr 09
1
[PATCH] kbuild: rebuild initramfs if included files changes
...input_file "$arg" "$#"
+ ;;
+ esac
+ ;;
+ esac
+done
+
+# If output_file is set we will generate cpio archive and gzip it
+# we are carefull to delete tmp files
+if [ ! -z ${output_file} ]; then
+ if [ -z ${cpio_file} ]; then
+ cpio_tfile="$(mktemp ${TMPDIR:-/tmp}/cpiofile.XXXXXX)"
+ $(dirname ${prog})/gen_init_cpio ${cpio_list} > ${cpio_tfile}
+ else
+ cpio_tfile=${cpio_file}
+ fi
+ rm ${cpio_list}
+ cat ${cpio_tfile} | gzip -f -9 - > ${output_file}
+ [ -z ${cpio_file} ] && rm ${cpio_tfile}
+fi
+exit 0
diff --git a/scripts/gen_initramfs_list.sh...
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...shortdesc = "return true if discarded blocks are read as zeroes";
longdesc = "\
@@ -8862,7 +8862,7 @@ read as stale or random data." };
{ defaults with
name = "cpio_out"; added = (1, 27, 9);
- style = RErr, [String "directory"; FileOut "cpiofile"], [OString "format"];
+ style = RErr, [String (PlainString, "directory"); String (FileOut, "cpiofile")], [OString "format"];
cancellable = true;
shortdesc = "pack directory into cpio file";
longdesc = "\
@@ -8898,7 +8898...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator.
Rich.
2017 Feb 21
1
[PATCH] generator: Put all the daemon procedure numbers (proc_nr)
This is a follow-up to the other generator changes in:
https://www.redhat.com/archives/libguestfs/2017-February/msg00217.html
Rich.
2015 Jun 14
2
[PATCH] pod: Use F<> for filenames instead of C<>.
...tale or random data." };
cancellable = true;
shortdesc = "pack directory into cpio file";
longdesc = "\
-This command packs the contents of C<directory> and downloads
+This command packs the contents of F<directory> and downloads
it to local file C<cpiofile>.
The optional C<format> parameter can be used to select the format.
@@ -12627,7 +12627,7 @@ prepared disk image, see L</PREPARED DISK IMAGES>." };
longdesc = " copy-in local [local ...] /remotedir
C<copy-in> copies local files or directories recursively in...
2017 Feb 18
8
[PATCH 0/6] generator: Split up generator/actions.ml
Split up the huge generator/actions.ml into several smaller files.
Rich.
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of
local disk.
Rich.