diff options
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | 2011-09-07 10:42:50 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-09-07 17:48:14 +0900 |
commit | 3ca990e0906349623cbdd969ff12032199721097 (patch) | |
tree | 92ff3c2da3e8d9b42df466a86415834bf83de123 /kexec/arch/s390/kexec-image.c | |
parent | 0ee3b4c136ccf7e9b66f2610a6d7f3ac4c135d14 (diff) |
kexec-tools: Add --append option for s390
Hello Simon,
From: Michael Holzheu <holzheu@linux.vnet.ibm.com>
All architectures define the "--append" option together with the
"--command-line" option to specify kernel parameters. This option
is also used by kdump init scripts. In order to be compatible this
patch introduces the "--append" option also for s390. In addition
to that the help text is adjusted so that it is now the same as on
all other architectures.
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/s390/kexec-image.c')
-rw-r--r-- | kexec/arch/s390/kexec-image.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kexec/arch/s390/kexec-image.c b/kexec/arch/s390/kexec-image.c index bed67cd..3d57b7d 100644 --- a/kexec/arch/s390/kexec-image.c +++ b/kexec/arch/s390/kexec-image.c @@ -61,6 +61,7 @@ image_s390_load(int argc, char **argv, const char *kernel_buf, { KEXEC_OPTIONS {"command-line", 1, 0, OPT_APPEND}, + {"append", 1, 0, OPT_APPEND}, {"initrd", 1, 0, OPT_RAMDISK}, {0, 0, 0, 0}, }; @@ -160,7 +161,8 @@ image_s390_probe(const char *UNUSED(kernel_buf), off_t UNUSED(kernel_size)) void image_s390_usage(void) { - printf("--command-line=STRING Pass a custom command line STRING to the kernel.\n" + printf("--command-line=STRING Set the kernel command line to STRING.\n" + "--append=STRING Set the kernel command line to STRING.\n" "--initrd=FILENAME Use the file FILENAME as a ramdisk.\n" ); } |