e4cc23de29
- actually build ppc64 binaries (bug 203407) - correct usage output - avoid segfault in command-line parsing - install kexec man page - use regulation Fedora BuildRoot
28 lines
876 B
Diff
28 lines
876 B
Diff
--- a/kexec/arch/ppc64/kexec-elf-ppc64.c
|
|
+++ b/kexec/arch/ppc64/kexec-elf-ppc64.c
|
|
@@ -93,6 +93,7 @@ int elf_ppc64_load(int argc, char **argv
|
|
#define OPT_APPEND (OPT_ARCH_MAX+0)
|
|
#define OPT_RAMDISK (OPT_ARCH_MAX+1)
|
|
#define OPT_DEVICETREEBLOB (OPT_ARCH_MAX+2)
|
|
+#define OPT_ARGS_IGNORE (OPT_ARCH_MAX+3)
|
|
|
|
static const struct option options[] = {
|
|
KEXEC_ARCH_OPTIONS
|
|
@@ -101,6 +102,7 @@ int elf_ppc64_load(int argc, char **argv
|
|
{ "ramdisk", 1, NULL, OPT_RAMDISK },
|
|
{ "initrd", 1, NULL, OPT_RAMDISK },
|
|
{ "devicetreeblob", 1, NULL, OPT_DEVICETREEBLOB },
|
|
+ { "args-linux", 0, NULL, OPT_ARGS_IGNORE },
|
|
{ 0, 0, NULL, 0 },
|
|
};
|
|
|
|
@@ -134,6 +136,8 @@ int elf_ppc64_load(int argc, char **argv
|
|
case OPT_DEVICETREEBLOB:
|
|
devicetreeblob = optarg;
|
|
break;
|
|
+ case OPT_ARGS_IGNORE:
|
|
+ break;
|
|
}
|
|
}
|
|
|