75f812af59
- fix btrfs mount flags for /usr - degrade message about missing tools for stripping Resolves: rhbz#958519 - set environment vars DRACUT_SYSTEMD, NEWROOT in service file Resolves: rhbz#963159 - don't add volatile swap partitions to host_devs - add libssl.so.10 to make kdump work with fips mode - readd selinux dracut module for kdump - url-lib/url-lib.sh: turn off curl globbing Resolves: rhbz#907497 - include btrfs-zero-log in the initramfs Resolves: rhbz#963257 - proper NAME the network interfaces Resolves: rhbz#965842 - install default font latarcyrheb-sun16 Resolves: rhbz#927564 - optionally install /etc/pcmcia/config.opts Resolves: rhbz#920076 - fix ONBOOT for slaves, set TYPE=Bond for bonding Resolves: rhbz#919001 - add nvme kernel module Resolves: rhbz#910734 - add xfs_metadump - selinux: load_policy script fix - add hid-hyperv and hv-vmbus kernel modules - add parameter rd.live.squashimg Resolves: rhbz#789036 rhbz#782108 - wait for all required interfaces if "rd.neednet=1" Resolves: rhbz#801829 - lvm: add tools for thin provisioning Resolves: rhbz#921235 - ifcfg/write-ifcfg.sh: fixed ifcfg file generation - do not wait for mpath* devices Resolves: rhbz#969068
25 lines
989 B
Diff
25 lines
989 B
Diff
From 6a736cc129ed29157a4e5460382d17154f8fc381 Mon Sep 17 00:00:00 2001
|
|
From: Kamil Rytarowski <n54@gmx.com>
|
|
Date: Sat, 11 May 2013 11:39:46 +0200
|
|
Subject: [PATCH] Fix parsing command line arguments
|
|
|
|
Adjust correctly the *optstring argument of getopt_long. Add support
|
|
for a missing option -v|--verbose and drop unknown options -D, -I and -L.
|
|
---
|
|
install/dracut-install.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/install/dracut-install.c b/install/dracut-install.c
|
|
index b4bf681..584a30b 100644
|
|
--- a/install/dracut-install.c
|
|
+++ b/install/dracut-install.c
|
|
@@ -619,7 +619,7 @@ static int parse_argv(int argc, char *argv[])
|
|
{NULL, 0, NULL, 0}
|
|
};
|
|
|
|
- while ((c = getopt_long(argc, argv, "adhloD:DHILR", options, NULL)) != -1) {
|
|
+ while ((c = getopt_long(argc, argv, "adhloD:HR", options, NULL)) != -1) {
|
|
switch (c) {
|
|
case ARG_VERSION:
|
|
puts(PROGRAM_VERSION_STRING);
|