dracut/0204-mkinitrd-fix-monster.patch
Thomas Renninger f04ed6bff4 Accepting request 342653 from home:favogt:branches:Base:System
- Add dracut-rpmlintrc
- Fix permissions of various scripts, as patch does not
    create executable files
- Fix format of patch disablement
- Add 0204-mkinitrd-fix-monster.patch:
    - Implement functionality of -A option
    - Without this patch, -A sets host_only=0,
      but host_only wasn't used
    - Translates into --no-host-only now
- References boo#935993

OBS-URL: https://build.opensuse.org/request/show/342653
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=236
2015-11-06 09:56:00 +00:00

26 lines
747 B
Diff

From: Fabian Vogt <fvogt@suse.com>
Subject: Implement functionality of -A option
References: boo#935993
- Without this patch, -A sets host_only=0,
but host_only wasn't used
- Translates into --no-host-only now
---
mkinitrd-suse.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: dracut-043/mkinitrd-suse.sh
===================================================================
--- dracut-043.orig/mkinitrd-suse.sh
+++ dracut-043/mkinitrd-suse.sh
@@ -263,7 +263,7 @@ while (($# > 0)); do
;;
-M) read_arg map_file "$@" || shift $?
;;
- -A) host_only=0;;
+ -A) dracut_args="${dracut_args} --no-host-only";;
-B) skip_update_bootloader=1;;
-v|--verbose) dracut_args="${dracut_args} -v";;
-L) logfile=;;