diff options
author | Richard Jones <rjones@redhat.com> | 2010-08-19 15:21:17 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-08-24 13:17:41 +0100 |
commit | f0893a62d46605305ae14baba6cae3eebffc6005 (patch) | |
tree | 5e641cfc63f7dc04d61ab0a93f8faafb6359293e /helper/cpio.c | |
parent | 5b45043e8cc72285f5f7077ae65e0ac98f40ec58 (diff) | |
download | febootstrap-f0893a62d46605305ae14baba6cae3eebffc6005.tar.gz febootstrap-f0893a62d46605305ae14baba6cae3eebffc6005.tar.xz febootstrap-f0893a62d46605305ae14baba6cae3eebffc6005.zip |
Add -f ext2 option.
This option doesn't work yet. The commit is just for adding the
capability to pass the extra kernel/initrd/appliance parameters
through 'main.c' and 'appliance.c'.
Diffstat (limited to 'helper/cpio.c')
-rw-r--r-- | helper/cpio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helper/cpio.c b/helper/cpio.c index f9ffc3f..1dd22b0 100644 --- a/helper/cpio.c +++ b/helper/cpio.c @@ -250,7 +250,8 @@ write_padding (size_t len) } static void -cpio_start (const char *appliance) +cpio_start (const char *appliance, + const char *modpath, const char *initrd) { out_fd = open (appliance, O_WRONLY | O_CREAT | O_TRUNC | O_NOCTTY, 0644); if (out_fd == -1) |