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
This commit is contained in:
Thomas Renninger 2015-11-06 09:56:00 +00:00 committed by Git OBS Bridge
parent 308f04f080
commit f04ed6bff4
4 changed files with 60 additions and 4 deletions

View File

@ -0,0 +1,25 @@
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=;;

3
dracut-rpmlintrc Normal file
View File

@ -0,0 +1,3 @@
addFilter("suse-missing-rclink")
addFilter("explicit-lib-dependency")
addFilter("systemd-service-without-service_*_*")

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Wed Nov 4 16:45:37 UTC 2015 - fvogt@suse.com
- Add dracut-rpmlintrc
- Fix permissions of various scripts, as patch does not
create executable files
-------------------------------------------------------------------
Wed Nov 4 16:07:07 UTC 2015 - fvogt@suse.com
- Fix format of patch disablement
-------------------------------------------------------------------
Wed Nov 4 16:05:31 UTC 2015 - fvogt@suse.com
- 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
-------------------------------------------------------------------
Tue Nov 3 16:12:44 UTC 2015 - fvogt@suse.com

View File

@ -26,6 +26,7 @@ License: GPL-2.0+ and LGPL-2.1+
Group: System/Base
Url: https://dracut.wiki.kernel.org/
Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{version}.tar.xz
Source1: dracut-rpmlintrc
Source3: mkinitrd_setup_dummy
Source4: purge-kernels
Source5: purge-kernels.service
@ -119,6 +120,7 @@ Patch200: dracut_fix_multipath_without_config.patch
Patch201: fix_nfs_with_ip_instead_of_hostname.patch
Patch202: dracut_dmraid_use_udev.patch
Patch203: 0203-no-fail-builtin-module.patch
Patch204: 0204-mkinitrd-fix-monster.patch
## fix for SUSE systems which have dpkg installed anyway
Patch300: dracut_dont_use_dpkg_defaults_on_SUSE.patch
@ -186,6 +188,7 @@ and its cryptography during startup.
%patch16 -p1
%patch17 -p1
%patch20 -p1
chmod a+x modules.d/00warpclock/module-setup.sh
%patch21 -p1
%patch48 -p1
%patch53 -p1
@ -194,6 +197,7 @@ and its cryptography during startup.
%patch58 -p1
%patch59 -p1
%patch60 -p1
chmod a+x modules.d/45ifcfg/write-ifcfg-suse.sh
%patch61 -p1
%patch75 -p1
%patch76 -p1
@ -205,6 +209,7 @@ and its cryptography during startup.
%patch86 -p1
%patch87 -p1
%patch88 -p1
chmod a+x modules.d/91zipl/install_zipl_cmdline.sh
%patch89 -p1
%patch90 -p1
%patch91 -p1
@ -232,10 +237,10 @@ and its cryptography during startup.
%patch132 -p1
# Still needed!
#%patch133 -p1
#%patch134 -p1
#%patch145 -p1
#%patch162 -p1
#patch133 -p1
#patch134 -p1
#patch145 -p1
#patch162 -p1
%patch137 -p1
%patch138 -p1
@ -261,6 +266,7 @@ and its cryptography during startup.
%patch201 -p1
%patch202 -p1
%patch203 -p1
%patch204 -p1
%patch300 -p1