diff options
author | David Disseldorp <ddiss@suse.de> | 2025-08-19 13:05:45 +1000 |
---|---|---|
committer | Nathan Chancellor <nathan@kernel.org> | 2025-08-20 16:02:55 -0700 |
commit | ae18b94099b04264b32e33b057114024bc72c993 (patch) | |
tree | 7f6c3d0c4887cdb626b7fd23d37c5cbc173be09f /rust/helpers/err.c | |
parent | 1400227773201918f270dda48f20afcd613d9bc3 (diff) |
gen_init_cpio: support -o <output_file> parameter
This is another preparatory change to allow for reflink-optimized
cpio archives with file data written / cloned via copy_file_range().
The output file is truncated prior to write, so that it maps to
usr/gen_initramfs.sh usage. It may make sense to offer an append option
in future, for easier archive concatenation.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://lore.kernel.org/r/20250819032607.28727-3-ddiss@suse.de
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions