Hello community,
here is the log from the commit of package dracut for openSUSE:Factory checked in at 2014-04-11 14:40:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dracut (Old)
and /work/SRC/openSUSE:Factory/.dracut.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dracut"
Changes:
--------
--- /work/SRC/openSUSE:Factory/dracut/dracut.changes 2014-04-01 06:46:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.dracut.new/dracut.changes 2014-04-11 14:40:42.000000000 +0200
@@ -1,0 +2,68 @@
+Thu Apr 10 14:49:23 UTC 2014 - trenn@suse.de
+
+- Do not always try to add iscsi module, let its check function decide
+- Copmress initrd with xz --check=crc32 -6 by default
+
+-------------------------------------------------------------------
+Wed Apr 9 16:47:27 UTC 2014 - crrodriguez@opensuse.org
+
+- Remove the bootchart module, note that we still keep
+ the systemd-bootchart one which provides similar functionality.
+
+-------------------------------------------------------------------
+Wed Apr 9 16:42:49 UTC 2014 - crrodriguez@opensuse.org
+
+- Remove the busybox module we have all basic tools already
+ in the initrd
+- _unitdir is always defined nowadays, remove the conditionals.
+
+-------------------------------------------------------------------
+Wed Apr 9 14:48:12 UTC 2014 - sfalken@opensuse.org
+
+- Replaced dracut tarball with proper upstream tarball
+ Add: dracut-037.tar.xz
+
+-------------------------------------------------------------------
+Tue Apr 8 10:16:16 CEST 2014 - hare@suse.de
+
+- Update dracut to 037
+ * Add --hostonly_cmdline switch
+ * Update --mount syntax
+ * Include modules from /updates directory
+ * Fixes for network setup
+ * Some small fixes
+- Rediff patches
+- Include iscsiuio again (bnc#872474)
+ Remove: remove-iscsiuio.patch
+- Install 59-scsi-sg_utils.rules (bnc#872478)
+ Add: 0015-95udev-rules-Add-59-scsi-sg_utils.rules.patch
+- Install 67-kpartx-compat.rules (bnc#872662)
+ Add: 0016-90multipath-add-67-kpartx-compat.rules.patch
+- Install separate multipath service file (bnc#871610)
+ Add: 0017-90multipath-install-dracut-specific-service-file.patch
+- Do not fsck and mount from fstab if systemd is used (bnc#
+ Add: 0018-fstab-do-not-mount-and-fsck-from-fstab-if-using-syst.patch
+- Fixup initqueue for remote-fs
+ Add: 0019-dracut-initqueue-service-runs-before-remote-fs-pre.t.patch
+
+-------------------------------------------------------------------
+Thu Apr 3 23:59:31 UTC 2014 - crrodriguez@opensuse.org
+
+- revert last change, ucode-intel is not mandatory and
+ will get installed by default anyway, either via patterns
+ or by modalias dependencies in the package itself.
+
+-------------------------------------------------------------------
+Thu Apr 3 19:07:30 UTC 2014 - crrodriguez@opensuse.org
+
+- Require package ucode-intel in x86*
+
+-------------------------------------------------------------------
+Tue Apr 1 06:23:28 UTC 2014 - nfbrown@suse.com
+
+- mdraid-setup.patch
+ Make mdraid scripts work with latest mdadm.
+ Without this, boot from DDF or IMSM array fails if
+ one device is missing (bnc#866660)
+
+-------------------------------------------------------------------
@@ -8,0 +77 @@
+
Old:
----
dracut-036.tar.xz
remove-iscsiuio.patch
New:
----
0015-95udev-rules-Add-59-scsi-sg_utils.rules.patch
0016-90multipath-add-67-kpartx-compat.rules.patch
0017-90multipath-install-dracut-specific-service-file.patch
0018-fstab-do-not-mount-and-fsck-from-fstab-if-using-syst.patch
0019-dracut-initqueue-service-runs-before-remote-fs-pre.t.patch
dracut-037.tar.xz
mdraid-setup.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dracut.spec ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -19,7 +19,7 @@
%define dracutlibdir %{_libexecdir}/dracut
Name: dracut
-Version: 036
+Version: 037
Release: 0
Summary: Initramfs generator using udev
License: GPL-2.0+ and LGPL-2.1+
@@ -41,7 +41,6 @@
Patch14: suse_grub_manpage.patch
Patch15: replace_dhclient_with_wickedd_dhcp_supplicants.patch
Patch16: fix-iscsi-firmware.patch
-Patch17: remove-iscsiuio.patch
Patch18: 0015-add-new-s390x-specific-rule-files.patch
Patch19: change_write_ifcfg_to_suse.patch
Patch20: dracut-fix-whitespace-add-drivers_call.patch
@@ -50,6 +49,12 @@
Patch23: s390-dcssblk.patch
Patch24: dracut-install-persistent-rule.patch
Patch25: dracut-really-always-add-autofs4.patch
+Patch26: mdraid-setup.patch
+Patch27: 0015-95udev-rules-Add-59-scsi-sg_utils.rules.patch
+Patch28: 0016-90multipath-add-67-kpartx-compat.rules.patch
+Patch29: 0017-90multipath-install-dracut-specific-service-file.patch
+Patch30: 0018-fstab-do-not-mount-and-fsck-from-fstab-if-using-syst.patch
+Patch31: 0019-dracut-initqueue-service-runs-before-remote-fs-pre.t.patch
BuildRequires: asciidoc
BuildRequires: bash
BuildRequires: docbook-xsl-stylesheets
@@ -95,7 +100,6 @@
%patch14 -p1
%patch15 -p1
%patch16 -p1
-%patch17 -p1
%patch18 -p1
%patch19 -p1
%patch20 -p1
@@ -104,6 +108,12 @@
%patch23 -p1
%patch24 -p1
%patch25 -p1
+%patch26 -p1
+%patch27 -p1
+%patch28 -p1
+%patch29 -p1
+%patch30 -p1
+%patch31 -p1
%build
%configure\
@@ -122,7 +132,8 @@
# we do not support dash in the initramfs
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/00dash
-
+rm -fr %{buildroot}/%{dracutlibdir}/modules.d/05busybox
+rm -fr %{buildroot}/%{dracutlibdir}/modules.d/00bootchart
# add suse cmline conversion
mkdir -p %{buildroot}%{dracutlibdir}/modules.d/99suse
install -m 0755 %{SOURCE1} %{buildroot}%{dracutlibdir}/modules.d/99suse/module-setup.sh
@@ -131,13 +142,11 @@
# remove gentoo specific modules
rm -fr %{buildroot}%{dracutlibdir}/modules.d/50gensplash
-%if %{defined _unitdir}
# with systemd IMA and selinux modules do not make sense
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/96securityfs
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/97masterkey
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/98integrity
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/98selinux
-%endif
mkdir -p %{buildroot}/boot/dracut
mkdir -p %{buildroot}%{_localstatedir}/lib/dracut/overlay
@@ -145,7 +154,8 @@
touch %{buildroot}%{_localstatedir}/log/dracut.log
install -m 0644 dracut.conf.d/suse.conf.example %{buildroot}%{_sysconfdir}/dracut.conf.d/01-dist.conf
-echo 'add_dracutmodules+="network iscsi"' >> %{buildroot}%{_sysconfdir}/dracut.conf.d/01-dist.conf
+echo 'add_dracutmodules+="network"' >> %{buildroot}%{_sysconfdir}/dracut.conf.d/01-dist.conf
+echo 'compress="xz --check=crc32 -6"' >> %{buildroot}%{_sysconfdir}/dracut.conf.d/01-dist.conf
%ifarch %ix86 x86_64
echo 'early_microcode="yes"' > %{buildroot}%{_sysconfdir}/dracut.conf.d/02-early-microcode.conf
@@ -230,13 +240,11 @@
%dir %{dracutlibdir}/modules.d/03rescue
%{dracutlibdir}/modules.d/00bash
%{dracutlibdir}/modules.d/00systemd-bootchart/module-setup.sh
-%{dracutlibdir}/modules.d/00bootchart
%{dracutlibdir}/modules.d/00warpclock
%{dracutlibdir}/modules.d/02caps
%{dracutlibdir}/modules.d/03modsign
%{dracutlibdir}/modules.d/03rescue/module-setup.sh
%{dracutlibdir}/modules.d/04watchdog
-%{dracutlibdir}/modules.d/05busybox
%{dracutlibdir}/modules.d/10i18n
%{dracutlibdir}/modules.d/30convertfs
%{dracutlibdir}/modules.d/40network
@@ -280,12 +288,6 @@
%{dracutlibdir}/modules.d/95terminfo
%{dracutlibdir}/modules.d/95udev-rules
%{dracutlibdir}/modules.d/95virtfs
-%if %{undefined _unitdir}
-%{dracutlibdir}/modules.d/96securityfs
-%{dracutlibdir}/modules.d/97masterkey
-%{dracutlibdir}/modules.d/98selinux
-%{dracutlibdir}/modules.d/98integrity
-%endif
%{dracutlibdir}/modules.d/97biosdevname
%{dracutlibdir}/modules.d/98ecryptfs
%{dracutlibdir}/modules.d/98pollcdrom
++++++ 0006-Install-bin-mount.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,4 +1,4 @@
-From 9e87dcb25f82122be3ee16ca8f3c198dd3d02d77 Mon Sep 17 00:00:00 2001
+From e147bd71656fb48c10520cad98b56f6355270afd Mon Sep 17 00:00:00 2001
From: Hannes Reinecke
Date: Wed, 27 Nov 2013 14:35:19 +0100
Subject: [PATCH] Install /bin/mount
++++++ 0013-Correct-paths-for-openSUSE.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,4 +1,4 @@
-From 16b73ffc6f9c67800811f39641c484123d2a159a Mon Sep 17 00:00:00 2001
+From 5887b84912c9eb3df2e40489ae66e1eca749ebb8 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke
Date: Thu, 28 Nov 2013 10:07:59 +0100
Subject: [PATCH] Correct paths for openSUSE
@@ -14,11 +14,11 @@
modules.d/98systemd/rescue.service | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
-Index: dracut-034/dracut.sh
-===================================================================
---- dracut-034.orig/dracut.sh
-+++ dracut-034/dracut.sh
-@@ -683,7 +683,7 @@ stdloglvl=$((stdloglvl + verbosity_mod_l
+diff --git a/dracut.sh b/dracut.sh
+index c1ef474..dddb488 100755
+--- a/dracut.sh
++++ b/dracut.sh
+@@ -774,7 +774,7 @@ stdloglvl=$((stdloglvl + verbosity_mod_l))
[[ $mdadmconf_l ]] && mdadmconf=$mdadmconf_l
[[ $lvmconf_l ]] && lvmconf=$lvmconf_l
[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut
@@ -27,11 +27,11 @@
[[ $tmpdir_l ]] && tmpdir="$tmpdir_l"
[[ $tmpdir ]] || tmpdir=/var/tmp
[[ $INITRD_COMPRESS ]] && compress=$INITRD_COMPRESS
-Index: dracut-034/modules.d/10i18n/module-setup.sh
-===================================================================
---- dracut-034.orig/modules.d/10i18n/module-setup.sh
-+++ dracut-034/modules.d/10i18n/module-setup.sh
-@@ -98,6 +98,8 @@ install() {
+diff --git a/modules.d/10i18n/module-setup.sh b/modules.d/10i18n/module-setup.sh
+index a091f89..92b2fa3 100755
+--- a/modules.d/10i18n/module-setup.sh
++++ b/modules.d/10i18n/module-setup.sh
+@@ -96,6 +96,8 @@ install() {
install_base() {
inst_multiple setfont loadkeys kbd_mode stty
@@ -40,10 +40,10 @@
if ! dracut_module_included "systemd"; then
inst ${moddir}/console_init.sh /lib/udev/console_init
-Index: dracut-034/modules.d/98systemd/rescue.service
-===================================================================
---- dracut-034.orig/modules.d/98systemd/rescue.service
-+++ dracut-034/modules.d/98systemd/rescue.service
+diff --git a/modules.d/98systemd/rescue.service b/modules.d/98systemd/rescue.service
+index edc2461..d80900f 100644
+--- a/modules.d/98systemd/rescue.service
++++ b/modules.d/98systemd/rescue.service
@@ -16,7 +16,7 @@ Environment=HOME=/
Environment=DRACUT_SYSTEMD=1
Environment=NEWROOT=/sysroot
@@ -53,3 +53,6 @@
ExecStart=-/bin/sh -i -l
ExecStopPost=-/bin/rm -f -- /.console_lock
ExecStopPost=-/usr/bin/systemctl --fail --no-block default
+--
+1.8.1.4
+
++++++ 0014-Check-for-plymouth-lib-directories.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,4 +1,4 @@
-From cc0ec0cdcef806efe2315931ba4705fb35b82c6a Mon Sep 17 00:00:00 2001
+From ab0a60b5a9c7c747400f458ae4a632b2d88fe2e1 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke
Date: Wed, 27 Nov 2013 15:54:00 +0100
Subject: [PATCH] Check for plymouth lib directories
@@ -12,7 +12,7 @@
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/modules.d/50plymouth/module-setup.sh b/modules.d/50plymouth/module-setup.sh
-index 1360924..7ccf9e4 100755
+index b818324..86a68fe 100755
--- a/modules.d/50plymouth/module-setup.sh
+++ b/modules.d/50plymouth/module-setup.sh
@@ -15,12 +15,19 @@ depends() {
++++++ 0015-95udev-rules-Add-59-scsi-sg_utils.rules.patch ++++++
From 21705c28104c5c8153b6e992908cf999d4cf0983 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke
Date: Tue, 8 Apr 2014 09:51:14 +0200
Subject: [PATCH] 95udev-rules: Add 59-scsi-sg_utils.rules
Add udev rules from sg3_utils to provide persistent device links.
References: bnc#872478
Signed-off-by: Hannes Reinecke
---
modules.d/95udev-rules/module-setup.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules.d/95udev-rules/module-setup.sh b/modules.d/95udev-rules/module-setup.sh
index f02b59e..d63066f 100755
--- a/modules.d/95udev-rules/module-setup.sh
+++ b/modules.d/95udev-rules/module-setup.sh
@@ -27,7 +27,8 @@ install() {
exit 1
fi
- inst_rules 50-udev-default.rules 60-persistent-storage.rules \
+ inst_rules 50-udev-default.rules 59-scsi-sg3_utils.rules \
+ 60-persistent-storage.rules \
61-persistent-storage-edd.rules 80-drivers.rules 95-udev-late.rules \
60-pcmcia.rules \
50-udev.rules 95-late.rules \
--
1.8.1.4
++++++ 0015-add-new-s390x-specific-rule-files.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,4 +1,4 @@
-From 9b76077d6e70d1ae37273a587277ccef467e698b Mon Sep 17 00:00:00 2001
+From 7995f23a106e28afa0204b5eca68671cb514b1d9 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke
Date: Tue, 21 Jan 2014 14:32:09 +0100
Subject: [PATCH] Add new s390x-specific rule files
@@ -10,20 +10,25 @@
References: bnc#856585
Signed-off-by: Hannes Reinecke
+---
+ modules.d/95dasd_rules/module-setup.sh | 4 ++--
+ modules.d/95zfcp_rules/module-setup.sh | 1 +
+ 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules.d/95dasd_rules/module-setup.sh b/modules.d/95dasd_rules/module-setup.sh
-index d313171..78ab2d0 100755
+index 51c315d..451fc25 100755
--- a/modules.d/95dasd_rules/module-setup.sh
+++ b/modules.d/95dasd_rules/module-setup.sh
-@@ -5,7 +5,6 @@
- # called by dracut
+@@ -6,7 +6,7 @@
check() {
local _arch=$(uname -m)
-- [ -x /sbin/dasd_configure ] || return 1
[ "$_arch" = "s390" -o "$_arch" = "s390x" ] || return 1
+- require_binaries dasd_configure /usr/lib/udev/collect || return 1
++ require_binaries /usr/lib/udev/collect || return 1
return 0
}
-@@ -18,10 +17,10 @@ depends() {
+
+@@ -18,10 +18,10 @@ depends() {
# called by dracut
install() {
@@ -36,7 +41,7 @@
inst_rules 59-dasd.rules
}
diff --git a/modules.d/95zfcp_rules/module-setup.sh b/modules.d/95zfcp_rules/module-setup.sh
-index 9a1ab20..40c62a1 100755
+index d9879cb..849645c 100755
--- a/modules.d/95zfcp_rules/module-setup.sh
+++ b/modules.d/95zfcp_rules/module-setup.sh
@@ -21,5 +21,6 @@ install() {
@@ -46,3 +51,6 @@
+ inst_rules_wildcard 41-s390x-zfcp-*.rules
fi
}
+--
+1.8.1.4
+
++++++ 0016-90multipath-add-67-kpartx-compat.rules.patch ++++++
From 8b76d2e8d7f2dbc6e6020c5f030a697d8f9005f9 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke
Date: Wed, 9 Apr 2014 08:07:39 +0200
Subject: [PATCH] 90multipath: add 67-kpartx-compat.rules
Dracut needs to install the kpartx compability rules, otherwise
random failures might occur during boot.
References: bnc#872662
Signed-off-by: Hannes Reinecke
---
modules.d/90multipath/module-setup.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules.d/90multipath/module-setup.sh b/modules.d/90multipath/module-setup.sh
index b60cc60..c2bbdb4 100755
--- a/modules.d/90multipath/module-setup.sh
+++ b/modules.d/90multipath/module-setup.sh
@@ -102,6 +102,7 @@ install() {
inst_hook cleanup 80 "$moddir/multipathd-needshutdown.sh"
- inst_rules 40-multipath.rules 62-multipath.rules 65-multipath.rules 66-kpartx.rules
+ inst_rules 40-multipath.rules 62-multipath.rules 65-multipath.rules \
+ 66-kpartx.rules 67-kpartx-compat.rules
}
--
1.8.1.4
++++++ 0017-90multipath-install-dracut-specific-service-file.patch ++++++
From 985b280a49b90f0daa3e7b0a142099ae829efe12 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke
Date: Tue, 8 Apr 2014 10:04:41 +0200
Subject: [PATCH] 90multipath: install dracut-specific service file
The multipathd package might install a service and a socket
file. Using the original service file from the installed
system without the socket file triggers a bug in systemd,
causing systemd to crash.
As we don't actually need to socket file in the initrd we
should be installing our own service file which does not
reference the socket file at all.
References: bnc#871610
Signed-off-by: Hannes Reinecke
---
modules.d/90multipath/module-setup.sh | 3 +--
modules.d/90multipath/multipathd.service | 15 +++++++++++++++
2 files changed, 16 insertions(+), 2 deletions(-)
create mode 100644 modules.d/90multipath/multipathd.service
diff --git a/modules.d/90multipath/module-setup.sh b/modules.d/90multipath/module-setup.sh
index c2bbdb4..9715851 100755
--- a/modules.d/90multipath/module-setup.sh
+++ b/modules.d/90multipath/module-setup.sh
@@ -91,8 +91,7 @@ install() {
inst_libdir_file "libmultipath*" "multipath/*"
if dracut_module_included "systemd"; then
- inst_multiple \
- $systemdsystemunitdir/multipathd.service
+ inst_simple "${moddir}/multipathd.service" "${systemdsystemunitdir}/multipathd.service"
mkdir -p "${initdir}${systemdsystemconfdir}/sysinit.target.wants"
ln -rfs "${initdir}${systemdsystemunitdir}/multipathd.service" "${initdir}${systemdsystemconfdir}/sysinit.target.wants/multipathd.service"
else
diff --git a/modules.d/90multipath/multipathd.service b/modules.d/90multipath/multipathd.service
new file mode 100644
index 0000000..01e497c
--- /dev/null
+++ b/modules.d/90multipath/multipathd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Device-Mapper Multipath Device Controller
+Before=iscsi.service iscsid.service lvm2-activation-early.service
+DefaultDependencies=no
+Conflicts=shutdown.target
+
+[Service]
+Type=forking
+ExecStartPre=/sbin/modprobe dm-multipath
+ExecStart=/sbin/multipathd
+ExecReload=/sbin/multipathd reconfigure
+ExecStop=/sbin/multipathd shutdown
+
+[Install]
+WantedBy=sysinit.target
--
1.8.1.4
++++++ 0018-fstab-do-not-mount-and-fsck-from-fstab-if-using-syst.patch ++++++
From 88ed5bf13a56f9397cc50eb329785553eb82c210 Mon Sep 17 00:00:00 2001
From: WANG Chao
Date: Tue, 1 Apr 2014 15:20:49 +0800
Subject: [PATCH] fstab: do not mount and fsck from fstab if using systemd
If using systemd in initramfs, we could run into a race condition when
dracut and systemd both are trying to mount and run fsck for the same
filesystem, and mount or fsck could be a failure.
To fix such failure, we should use systemd to mount/fsck from /etc/fstab
only.
v2: check $DRACUT_SYSTEMD suggested by Alexander Tsoy
Signed-off-by: WANG Chao
---
modules.d/95fstab-sys/mount-sys.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules.d/95fstab-sys/mount-sys.sh b/modules.d/95fstab-sys/mount-sys.sh
index 12711a0..a237810 100755
--- a/modules.d/95fstab-sys/mount-sys.sh
+++ b/modules.d/95fstab-sys/mount-sys.sh
@@ -27,7 +27,11 @@ fstab_mount() {
return 0
}
-[ -f /etc/fstab ] && fstab_mount /etc/fstab
+# systemd will mount and run fsck from /etc/fstab and we don't want to
+# run into a race condition.
+if [ -z "$DRACUT_SYSTEMD" ]; then
+ [ -f /etc/fstab ] && fstab_mount /etc/fstab
+fi
# prefer $NEWROOT/etc/fstab.sys over local /etc/fstab.sys
if [ -f $NEWROOT/etc/fstab.sys ]; then
--
1.8.1.4
++++++ 0019-dracut-initqueue-service-runs-before-remote-fs-pre.t.patch ++++++
From c0bd4752731644ac799a7aa3d6e20069f94875bd Mon Sep 17 00:00:00 2001
From: WANG Chao
Date: Thu, 3 Apr 2014 15:49:26 +0800
Subject: [PATCH] dracut-initqueue service runs before remote-fs-pre.target
With the following commit, dracut doesn't mount anything from /etc/fstab
commit e920bfb
Author: WANG Chao
Date: Tue Apr 1 15:20:49 2014 +0800
fstab: do not mount and fsck from fstab if using systemd
But systemd doesn't mount nfs at all, because no unit is pulling in
remote-fs.target.
dracut must pull in these remote fs mount and all these remote mounts
should start only after network is up (ie. after dracut-initqueue).
Signed-off-by: WANG Chao
---
modules.d/98systemd/dracut-initqueue.service | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules.d/98systemd/dracut-initqueue.service b/modules.d/98systemd/dracut-initqueue.service
index 03dcc4e..1b9e701 100644
--- a/modules.d/98systemd/dracut-initqueue.service
+++ b/modules.d/98systemd/dracut-initqueue.service
@@ -11,6 +11,8 @@
Description=dracut initqueue hook
Documentation=man:dracut-initqueue.service(8)
DefaultDependencies=no
+Before=remote-fs-pre.target
+Wants=remote-fs-pre.target
After=systemd-udev-trigger.service
Wants=systemd-udev-trigger.service
ConditionPathExists=/etc/initrd-release
--
1.8.1.4
++++++ change_write_ifcfg_to_suse.patch ++++++
++++ 704 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/dracut/change_write_ifcfg_to_suse.patch
++++ and /work/SRC/openSUSE:Factory/.dracut.new/change_write_ifcfg_to_suse.patch
++++++ dracut-036.tar.xz -> dracut-037.tar.xz ++++++
++++ 2817 lines of diff (skipped)
++++++ dracut-fix-whitespace-add-drivers_call.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,7 +1,17 @@
-Index: dracut-036/mkinitrd-suse.sh
-===================================================================
---- dracut-036.orig/mkinitrd-suse.sh
-+++ dracut-036/mkinitrd-suse.sh
+From 942274be37437eefad4ebebae40af43d7bd336b6 Mon Sep 17 00:00:00 2001
+From: Hannes Reinecke
+Date: Tue, 8 Apr 2014 08:49:53 +0200
+Subject: [PATCH] mkinitrd-suse: Fix whitespaces when adding drivers
+
+Signed-off-by: Hannes Reinecke
+---
+ mkinitrd-suse.sh | 49 +++++++++++++++++++++++++------------------------
+ 1 file changed, 25 insertions(+), 24 deletions(-)
+
+diff --git a/mkinitrd-suse.sh b/mkinitrd-suse.sh
+index b31ea36..1c2634f 100755
+--- a/mkinitrd-suse.sh
++++ b/mkinitrd-suse.sh
@@ -70,10 +70,7 @@ usage () {
$cmd " -j device Journal device"
$cmd " -D interface Run dhcp on the specified interface."
@@ -28,7 +38,7 @@
for ((i=0 ; $i<${#targets[@]} ; i++)); do
if [[ $img_vers ]];then
-@@ -324,28 +320,33 @@ for ((i=0 ; $i<${#targets[@]} ; i++)); d
+@@ -324,28 +320,33 @@ for ((i=0 ; $i<${#targets[@]} ; i++)); do
fi
kernel="${kernels[$i]}"
@@ -79,3 +89,6 @@
fi
done
+--
+1.8.1.4
+
++++++ dracut-install-persistent-rule.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,12 +1,29 @@
-Index: dracut-036/modules.d/95udev-rules/module-setup.sh
-===================================================================
---- dracut-036.orig/modules.d/95udev-rules/module-setup.sh
-+++ dracut-036/modules.d/95udev-rules/module-setup.sh
+From 765d1d5be81da52c7a91d1aa3fc661d1d5819fbf Mon Sep 17 00:00:00 2001
+From: Robert Milasan
+Date: Tue, 8 Apr 2014 08:54:42 +0200
+Subject: [PATCH] 95udev-rules: add persistent network rule
+
+Add support for 70-persistent-net.rules in dracut.
+
+References: bnc#868375
+
+Signed-off-by: Hannes Reinecke
+---
+ modules.d/95udev-rules/module-setup.sh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/modules.d/95udev-rules/module-setup.sh b/modules.d/95udev-rules/module-setup.sh
+index 2d36712..f02b59e 100755
+--- a/modules.d/95udev-rules/module-setup.sh
++++ b/modules.d/95udev-rules/module-setup.sh
@@ -32,6 +32,7 @@ install() {
60-pcmcia.rules \
50-udev.rules 95-late.rules \
50-firmware.rules \
+ 70-persistent-net.rules \
- 75-net-description.rules 80-net-name-slot.rules \
+ 75-net-description.rules \
+ 80-net-name-slot.rules 80-net-setup-link.rules \
"$moddir/59-persistent-storage.rules" \
- "$moddir/61-persistent-storage.rules"
+--
+1.8.1.4
+
++++++ dracut-really-always-add-autofs4.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,7 +1,23 @@
-Index: dracut-036/modules.d/98systemd/module-setup.sh
-===================================================================
---- dracut-036.orig/modules.d/98systemd/module-setup.sh
-+++ dracut-036/modules.d/98systemd/module-setup.sh
+From d710d4f00e23b910f3e280b78821d1d618d4654d Mon Sep 17 00:00:00 2001
+From: Hannes Reinecke
+Date: Wed, 9 Apr 2014 14:10:57 +0200
+Subject: [PATCH] systemd always tries to load autofs4
+
+During boot systemd tries to load autofs4, but dracut will only
+add it if it's loaded by the time dracut is run.
+Modify dracut to always load autofs4.
+
+References: bnc#869411
+
+Signed-off-by: Thomas Renninger
+---
+ modules.d/98systemd/module-setup.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/modules.d/98systemd/module-setup.sh b/modules.d/98systemd/module-setup.sh
+index c72aad4..23bc1f8 100755
+--- a/modules.d/98systemd/module-setup.sh
++++ b/modules.d/98systemd/module-setup.sh
@@ -20,7 +20,7 @@ depends() {
}
@@ -11,3 +27,6 @@
}
# called by dracut
+--
+1.8.1.4
+
++++++ dracut-warpclock_module.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,17 +1,26 @@
-From bb18c6dea7727d32191fbc40c504bc1f52bcf9c3 Mon Sep 17 00:00:00 2001
+From 8792c2c46d3841ea11b9bd30e388eaeb64549fdc Mon Sep 17 00:00:00 2001
From: Hannes Reinecke
Date: Thu, 5 Dec 2013 09:29:28 +0100
Subject: [PATCH] 00warpclock: Set correct timezone
Add module for setting correct timezone.
+References: bnc#830060
+
Signed-off-by: Hannes Reinecke
+---
+ modules.d/00warpclock/module-setup.sh | 22 ++++++++++++++++++++++
+ modules.d/00warpclock/warpclock.sh | 9 +++++++++
+ 2 files changed, 31 insertions(+)
+ create mode 100755 modules.d/00warpclock/module-setup.sh
+ create mode 100755 modules.d/00warpclock/warpclock.sh
-Index: dracut-036/modules.d/00warpclock/module-setup.sh
-===================================================================
+diff --git a/modules.d/00warpclock/module-setup.sh b/modules.d/00warpclock/module-setup.sh
+new file mode 100755
+index 0000000..4d18795
--- /dev/null
-+++ dracut-036/modules.d/00warpclock/module-setup.sh
-@@ -0,0 +1,23 @@
++++ b/modules.d/00warpclock/module-setup.sh
+@@ -0,0 +1,22 @@
+#!/bin/bash
+# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
+# ex: ts=8 sw=4 sts=4 et filetype=sh
@@ -34,11 +43,11 @@
+ inst_hook pre-trigger 00 "$moddir/warpclock.sh"
+ inst /sbin/hwclock
+}
-+
-Index: dracut-036/modules.d/00warpclock/warpclock.sh
-===================================================================
+diff --git a/modules.d/00warpclock/warpclock.sh b/modules.d/00warpclock/warpclock.sh
+new file mode 100755
+index 0000000..f64818c
--- /dev/null
-+++ dracut-036/modules.d/00warpclock/warpclock.sh
++++ b/modules.d/00warpclock/warpclock.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
@@ -49,3 +58,6 @@
+ fi
+ done < /etc/adjtime
+fi
+--
+1.8.1.4
+
++++++ dracut_do_not_update_booloader_if_no_kernel_is_found.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,7 +1,23 @@
-Index: dracut-034/mkinitrd-suse.sh
-===================================================================
---- dracut-034.orig/mkinitrd-suse.sh
-+++ dracut-034/mkinitrd-suse.sh
+From 6e2410d3e9403b030125e8d7f523de341466d658 Mon Sep 17 00:00:00 2001
+From: Thomas Renninger
+Date: Mon, 7 Apr 2014 16:23:49 +0200
+Subject: [PATCH] mkinitrd-suse: do not update bootloader if no kernel was
+ found
+
+When no kernel is found mkinitrd-suse should exit without updating the
+bootloader.
+
+References: bnc#858268
+
+Signed-off-by: Hannes Reinecke
+---
+ mkinitrd-suse.sh | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/mkinitrd-suse.sh b/mkinitrd-suse.sh
+index d20270a..b31ea36 100755
+--- a/mkinitrd-suse.sh
++++ b/mkinitrd-suse.sh
@@ -291,7 +291,9 @@ while (($# > 0)); do
done
@@ -13,3 +29,6 @@
# We can have several targets/kernels, transform the list to an array
targets=( $targets )
+--
+1.8.1.4
+
++++++ fix-iscsi-firmware.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,7 +1,17 @@
-Index: dracut-036/modules.d/95iscsi/parse-iscsiroot.sh
-===================================================================
---- dracut-036.orig/modules.d/95iscsi/parse-iscsiroot.sh 2014-01-29 08:35:47.000000000 +0100
-+++ dracut-036/modules.d/95iscsi/parse-iscsiroot.sh 2014-02-12 18:11:51.627855039 +0100
+From af3c6eb8a04c2e526061f1dc82a94f01408bb415 Mon Sep 17 00:00:00 2001
+From: Hannes Reinecke
+Date: Mon, 7 Apr 2014 16:28:34 +0200
+Subject: [PATCH] 95iscsi: Fix iSCSI firmware path
+
+Signed-off-by: Hannes Reinecke
+---
+ modules.d/95iscsi/parse-iscsiroot.sh | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/modules.d/95iscsi/parse-iscsiroot.sh b/modules.d/95iscsi/parse-iscsiroot.sh
+index 4be9d56..ec7764e 100755
+--- a/modules.d/95iscsi/parse-iscsiroot.sh
++++ b/modules.d/95iscsi/parse-iscsiroot.sh
@@ -61,10 +61,9 @@ fi
# iscsi_firmware does not need argument checking
@@ -23,3 +33,6 @@
fi
fi
+--
+1.8.1.4
+
++++++ mdraid-setup.patch ++++++
From b96bf725952cc8b1489a4f52f8dd3e64d542dda7 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke
Date: Wed, 9 Apr 2014 14:14:03 +0200
Subject: [PATCH] Fixup mdraid setup
This sed script to edit 64-md-raid-assemble.rules needs to
be adjusted for latest mdadm
References: bnc#866660
Signed-off-by: NeilBrown
---
modules.d/90mdraid/module-setup.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules.d/90mdraid/module-setup.sh b/modules.d/90mdraid/module-setup.sh
index ac745d1..767b3aa 100755
--- a/modules.d/90mdraid/module-setup.sh
+++ b/modules.d/90mdraid/module-setup.sh
@@ -86,7 +86,7 @@ install() {
for rule in 64-md-raid.rules 64-md-raid-assembly.rules; do
rule_path="${initdir}${udevdir}/rules.d/${rule}"
[ -f "${rule_path}" ] && sed -i -r \
- -e '/RUN\+?="[[:alpha:]/]*mdadm[[:blank:]]+(--incremental|-I)[[:blank:]]+(\$env\{DEVNAME\}|\$tempnode|\$devnode)/d' \
+ -e '/(RUN|IMPORT\{program\})\+?="[[:alpha:]/]*mdadm[[:blank:]]+(--incremental|-I)[[:blank:]]+(--export )?(\$env\{DEVNAME\}|\$tempnode|\$devnode)/d' \
"${rule_path}"
done
--
1.8.1.4
++++++ replace_dhclient_with_wickedd_dhcp_supplicants.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,12 +1,46 @@
-Index: dracut-036/modules.d/40network/dhclient-script.sh
-===================================================================
---- dracut-036.orig/modules.d/40network/dhclient-script.sh 2014-01-29 08:35:47.000000000 +0100
-+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
-@@ -1,104 +0,0 @@
+From fc6cba152e299cee078d506ffec13a7db37dab20 Mon Sep 17 00:00:00 2001
+From: Pavel Wieczorkiewicz
+Date: Mon, 7 Apr 2014 16:26:57 +0200
+Subject: [PATCH] 40network: replace dhclient with wickedd-dhcp-supplicant
+
+SLES12 is using wickedd, so we need to replace dhclient with
+wickedd-dhcp-supplicant.
+
+References: bnc#866771
+
+Signed-off-by: Hannes Reinecke
+---
+ modules.d/40network/dhclient-script.sh | 152 ---------------------------------
+ modules.d/40network/dhclient.conf | 3 -
+ modules.d/40network/ifup.sh | 97 +++++++++++++++++++--
+ modules.d/40network/kill-dhclient.sh | 17 ----
+ modules.d/40network/module-setup.sh | 14 +--
+ 5 files changed, 99 insertions(+), 184 deletions(-)
+ delete mode 100755 modules.d/40network/dhclient-script.sh
+ delete mode 100644 modules.d/40network/dhclient.conf
+ delete mode 100755 modules.d/40network/kill-dhclient.sh
+
+diff --git a/modules.d/40network/dhclient-script.sh b/modules.d/40network/dhclient-script.sh
+deleted file mode 100755
+index 50e8932..0000000
+--- a/modules.d/40network/dhclient-script.sh
++++ /dev/null
+@@ -1,152 +0,0 @@
-#!/bin/sh
-# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
-# ex: ts=8 sw=4 sts=4 et filetype=sh
-
+-PATH=/usr/sbin:/usr/bin:/sbin:/bin
+-
+-type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
+-type ip_to_var >/dev/null 2>&1 || . /lib/net-lib.sh
+-
+-# We already need a set netif here
+-netif=$interface
+-
+-# Huh? Interface configured?
+-[ -f "/tmp/net.$netif.up" ] && exit 0
+-
-setup_interface() {
- ip=$new_ip_address
- mtu=$new_interface_mtu
@@ -53,24 +87,42 @@
- [ -n "$hostname" ] && echo "echo ${hostname%.$domain}${domain:+.$domain} > /proc/sys/kernel/hostname" > /tmp/net.$netif.hostname
-}
-
--PATH=/usr/sbin:/usr/bin:/sbin:/bin
+-setup_interface6() {
+- domain=$new_domain_name
+- search=$(printf -- "$new_domain_search")
+- namesrv=$new_domain_name_servers
+- hostname=$new_host_name
+- lease_time=$new_dhcp_lease_time
-
--export PS4="dhclient.$interface.$$ + "
--[ -e /run/initramfs/loginit.pipe ] && exec >>/run/initramfs/loginit.pipe 2>>/run/initramfs/loginit.pipe
--type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
--type ip_to_var >/dev/null 2>&1 || . /lib/net-lib.sh
+- [ -f /tmp/net.$netif.override ] && . /tmp/net.$netif.override
-
--# We already need a set netif here
--netif=$interface
+- ip -6 addr add ${new_ip6_address}/${new_ip6_prefixlen} \
+- dev ${netif} scope global valid_lft ${lease_time} \
+- preferred_lft ${lease_time}
-
--# Huh? Interface configured?
--[ -f "/tmp/net.$netif.up" ] && exit 0
+- [ -n "${search}${domain}" ] && echo "search $search $domain" > /tmp/net.$netif.resolv.conf
+- if [ -n "$namesrv" ] ; then
+- for s in $namesrv; do
+- echo nameserver $s
+- done
+- fi >> /tmp/net.$netif.resolv.conf
+-
+- # Note: hostname can be fqdn OR short hostname, so chop off any
+- # trailing domain name and explicity add any domain if set.
+- [ -n "$hostname" ] && echo "echo ${hostname%.$domain}${domain:+.$domain} > /proc/sys/kernel/hostname" > /tmp/net.$netif.hostname
+-}
-
-case $reason in
- PREINIT)
- echo "dhcp: PREINIT $netif up"
- linkup $netif
- ;;
+-
+- PREINIT6)
+- echo "dhcp: PREINIT $netif up"
+- linkup $netif
+- ;;
+-
- BOUND)
- echo "dhcp: BOND setting $netif"
- unset layer2
@@ -95,35 +147,54 @@
- echo "setup_net $netif"
- echo "source_hook initqueue/online $netif"
- [ -e /tmp/net.$netif.manualup ] || echo "/sbin/netroot $netif"
-- echo "> /tmp/setup_net_$netif.ok"
-- echo "> /tmp/setup_net_\$(cat /sys/class/net/$netif/address).ok"
- echo "rm -f -- $hookdir/initqueue/setup_net_$netif.sh"
- } > $hookdir/initqueue/setup_net_$netif.sh
-
-- echo "[ -f /tmp/setup_net_$netif.ok ]" > $hookdir/initqueue/finished/dhclient-$netif.sh
+- echo "[ -f /tmp/net.$netif.did-setup ]" > $hookdir/initqueue/finished/dhclient-$netif.sh
+- >/tmp/net.$netif.up
+- ;;
+-
+- BOUND6)
+- echo "dhcp: BOND6 setting $netif"
+- setup_interface6
+-
+- set | while read line; do
+- [ "${line#new_}" = "$line" ] && continue
+- echo "$line"
+- done >/tmp/dhclient.$netif.dhcpopts
+-
+- {
+- echo '. /lib/net-lib.sh'
+- echo "setup_net $netif"
+- echo "source_hook initqueue/online $netif"
+- [ -e /tmp/net.$netif.manualup ] || echo "/sbin/netroot $netif"
+- echo "rm -f -- $hookdir/initqueue/setup_net_$netif.sh"
+- } > $hookdir/initqueue/setup_net_$netif.sh
+-
+- echo "[ -f /tmp/net.$netif.did-setup ]" > $hookdir/initqueue/finished/dhclient-$netif.sh
- >/tmp/net.$netif.up
- ;;
- *) echo "dhcp: $reason";;
-esac
-
-exit 0
-Index: dracut-036/modules.d/40network/dhclient.conf
-===================================================================
---- dracut-036.orig/modules.d/40network/dhclient.conf 2014-01-29 08:35:47.000000000 +0100
-+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
+diff --git a/modules.d/40network/dhclient.conf b/modules.d/40network/dhclient.conf
+deleted file mode 100644
+index dbf5882..0000000
+--- a/modules.d/40network/dhclient.conf
++++ /dev/null
@@ -1,3 +0,0 @@
-request subnet-mask, broadcast-address, time-offset, routers,
- domain-name, domain-name-servers, domain-search, host-name,
- root-path, interface-mtu;
-Index: dracut-036/modules.d/40network/ifup.sh
-===================================================================
---- dracut-036.orig/modules.d/40network/ifup.sh 2014-01-29 08:35:47.000000000 +0100
-+++ dracut-036/modules.d/40network/ifup.sh 2014-03-04 18:10:35.440663127 +0100
-@@ -82,18 +82,101 @@ fi
- [ -z "$netroot" ] && [ -z "$manualup" ] && exit 0
- [ -n "$manualup" ] && >/tmp/net.$netif.manualup
+diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh
+index 51b0d52..25ce094 100755
+--- a/modules.d/40network/ifup.sh
++++ b/modules.d/40network/ifup.sh
+@@ -88,21 +88,106 @@ else
+ [ -e /tmp/net.$(cat /sys/class/net/$netif/address).did-setup ] && exit 0
+ fi
--# Run dhclient
+dhcp_apply() {
+ if [ -f /tmp/leaseinfo.${netif}.dhcp.ipv${1:1:1} ]; then
+ . /tmp/leaseinfo.${netif}.dhcp.ipv${1:1:1}
@@ -188,10 +259,13 @@
+ return 0
+}
+
+ # Run dhclient
do_dhcp() {
-- # dhclient-script will mark the netif up and generate the online
-- # event for nfsroot
-- # XXX add -V vendor class and option parsing per kernel
+ # dhclient-script will mark the netif up and generate the online
+ # event for nfsroot
+ # XXX add -V vendor class and option parsing per kernel
+
+- [ -e /tmp/dhclient.$netif.pid ] && return 0
+ [ -f /tmp/leaseinfo.${netif}.dhcp.ipv${1:1:1} ] && return 0
+
+ info "Preparation for DHCP transaction"
@@ -205,7 +279,7 @@
+
+ # Address changed
+ ip $1 addr flush dev "$netif"
-+
+
if ! iface_has_link $netif; then
- echo "No carrier detected"
- return 1
@@ -217,11 +291,10 @@
+ return 1
+ fi
fi
-- echo "Starting dhcp for interface $netif"
++
+ echo "Starting dhcp for interface $netif"
- dhclient "$@" -1 -q -cf /etc/dhclient.conf -pf /tmp/dhclient.$netif.pid -lf /tmp/dhclient.$netif.lease $netif \
- || echo "dhcp failed"
-+
-+ info "Starting DHCP on interface $netif"
+ $dhclient --test $netif > /tmp/leaseinfo.${netif}.dhcp.ipv${1:1:1}
+ dhcp_apply $1 || return $?
+
@@ -230,7 +303,7 @@
}
load_ipv6() {
-@@ -217,8 +300,6 @@ if [ -e /tmp/team.info ]; then
+@@ -226,8 +311,6 @@ if [ -e /tmp/team.info ]; then
fi
fi
@@ -239,10 +312,11 @@
if [ -e /tmp/bridge.info ]; then
. /tmp/bridge.info
# start bridge if necessary
-Index: dracut-036/modules.d/40network/kill-dhclient.sh
-===================================================================
---- dracut-036.orig/modules.d/40network/kill-dhclient.sh 2014-01-29 08:35:47.000000000 +0100
-+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
+diff --git a/modules.d/40network/kill-dhclient.sh b/modules.d/40network/kill-dhclient.sh
+deleted file mode 100755
+index 78060f5..0000000
+--- a/modules.d/40network/kill-dhclient.sh
++++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
@@ -261,10 +335,10 @@
- read PID < $f;
- kill -9 $PID >/dev/null 2>&1
-done
-Index: dracut-036/modules.d/40network/module-setup.sh
-===================================================================
---- dracut-036.orig/modules.d/40network/module-setup.sh 2014-01-29 08:35:47.000000000 +0100
-+++ dracut-036/modules.d/40network/module-setup.sh 2014-03-04 18:09:28.687659039 +0100
+diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh
+index 1df4174..b54f873 100755
+--- a/modules.d/40network/module-setup.sh
++++ b/modules.d/40network/module-setup.sh
@@ -2,11 +2,14 @@
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
@@ -276,12 +350,12 @@
check() {
local _program
-- for _program in ip arping dhclient ; do
-+ for _program in ip arping $WICKEDD_DHCP_PATH/wickedd-dhcp4 $WICKEDD_DHCP_PATH/wickedd-dhcp6 ; do
- if ! type -P $_program >/dev/null; then
- derror "Could not find program \"$_program\" required by network."
- return 1
-@@ -77,16 +80,18 @@ installkernel() {
+- require_binaries ip arping dhclient || return 1
++ require_binaries ip arping $WICKEDD_DHCP_PATH/wickedd-dhcp4 $WICKEDD_DHCP_PATH/wickedd-dhcp6 || return 1
+
+ return 255
+ }
+@@ -72,16 +75,18 @@ installkernel() {
# called by dracut
install() {
local _arch _i _dir
@@ -303,7 +377,7 @@
inst_hook pre-udev 50 "$moddir/ifname-genrules.sh"
inst_hook pre-udev 60 "$moddir/net-genrules.sh"
inst_hook cmdline 91 "$moddir/dhcp-root.sh"
-@@ -97,7 +102,6 @@ install() {
+@@ -92,7 +97,6 @@ install() {
inst_hook cmdline 97 "$moddir/parse-bridge.sh"
inst_hook cmdline 98 "$moddir/parse-ip-opts.sh"
inst_hook cmdline 99 "$moddir/parse-ifname.sh"
@@ -311,3 +385,6 @@
_arch=$(uname -m)
+--
+1.8.1.4
+
++++++ s390-dcssblk.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,8 +1,27 @@
-Index: dracut-036/modules.d/95dcssblk/module-setup.sh
-===================================================================
+From c4a980a8fa7a2a9d5e25063b0d5b5070e59aa2cc Mon Sep 17 00:00:00 2001
+From: Thomas Renninger
+Date: Tue, 8 Apr 2014 08:53:59 +0200
+Subject: [PATCH] 95dcssblk: Add new module for DCSS block devices
+
+Add s390 dcssblk driver and introduce rd.dcssblk= to pass mounts
+that should get activated at initrd stage.
+
+References: FATE#308263
+
+Signed-off-by: Hannes Reinecke
+---
+ modules.d/95dcssblk/module-setup.sh | 28 ++++++++++++++++++++++++++++
+ modules.d/95dcssblk/parse-dcssblk.sh | 8 ++++++++
+ 2 files changed, 36 insertions(+)
+ create mode 100755 modules.d/95dcssblk/module-setup.sh
+ create mode 100755 modules.d/95dcssblk/parse-dcssblk.sh
+
+diff --git a/modules.d/95dcssblk/module-setup.sh b/modules.d/95dcssblk/module-setup.sh
+new file mode 100755
+index 0000000..11e3849
--- /dev/null
-+++ dracut-036/modules.d/95dcssblk/module-setup.sh
-@@ -0,0 +1,29 @@
++++ b/modules.d/95dcssblk/module-setup.sh
+@@ -0,0 +1,28 @@
+#!/bin/bash
+# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
+# ex: ts=8 sw=4 sts=4 et filetype=sh
@@ -31,11 +50,11 @@
+ # inst /etc/dcssblk.conf
+ #fi
+}
-+
-Index: dracut-036/modules.d/95dcssblk/parse-dcssblk.sh
-===================================================================
+diff --git a/modules.d/95dcssblk/parse-dcssblk.sh b/modules.d/95dcssblk/parse-dcssblk.sh
+new file mode 100755
+index 0000000..8f17440
--- /dev/null
-+++ dracut-036/modules.d/95dcssblk/parse-dcssblk.sh
++++ b/modules.d/95dcssblk/parse-dcssblk.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
@@ -45,3 +64,6 @@
+ info "Loading dcssblk segments=$dcssblk_arg"
+ modprobe dcssblk segments=$dcssblk_arg
+fi
+--
+1.8.1.4
+
++++++ suse_grub_manpage.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,31 +1,30 @@
-diff -rupN dracut-036.old/dracut.8 dracut-036/dracut.8
---- dracut-036.old/dracut.8 2014-01-29 07:36:45.000000000 +0000
-+++ dracut-036/dracut.8 2014-02-13 05:39:56.965246846 +0000
-@@ -189,7 +189,7 @@ If you need a special kernel module in t
- .sp
- An initramfs generated without the "hostonly" mode, does not contain any system configuration files (except for some special exceptions), so the configuration has to be done on the kernel command line\&. With this flexibility, you can easily boot from a changed root partition, without the need to recompile the initramfs image\&. So, you could completly change your root partition (move it inside a md raid with encryption and LVM on top), as long as you specify the correct filesystem LABEL or UUID on the kernel command line for your root device, dracut will find it and boot from it\&.
- .sp
--The kernel command line usually can be configured in \fI/boot/grub/grub\&.conf\fR, if grub is your bootloader and it also can be edited in the real boot process in the grub menu\&.
-+The kernel command line usually can be configured in \fI/boot/grub/menu\&.lst\fR, for GRUB Legacy, and \fI/boot/grub2/grub\&.cfg\fR, for GRUB2 if grub is your bootloader and it also can be edited in the real boot process in the grub menu\&.
- .sp
- The kernel command line can also be provided by the dhcp server with the root\-path option\&. See the section called \(lqNetwork Boot\(rq\&.
- .sp
-diff -rupN dracut-036.old/dracut.html dracut-036/dracut.html
---- dracut-036.old/dracut.html 2014-01-29 07:36:45.000000000 +0000
-+++ dracut-036/dracut.html 2014-02-12 21:41:37.988588041 +0000
-@@ -1277,7 +1277,7 @@ boot from a changed root partition, with
- image. So, you could completly change your root partition (move it inside a md
- raid with encryption and LVM on top), as long as you specify the correct
+From 3607fd4c8a14ec0a1222e7f7903f6f12648367ef Mon Sep 17 00:00:00 2001
+From: Hannes Reinecke
+Date: Tue, 8 Apr 2014 09:06:43 +0200
+Subject: [PATCH] Update dracut manpage for GRUB Legacy and GRUB2
+
+Signed-off-by: sfalken@opensuse.org
+---
+ dracut.usage.asc | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/dracut.usage.asc b/dracut.usage.asc
+index 6979af6..0787ead 100644
+--- a/dracut.usage.asc
++++ b/dracut.usage.asc
+@@ -99,9 +99,9 @@ raid with encryption and LVM on top), as long as you specify the correct
filesystem LABEL or UUID on the kernel command line for your root device, dracut
--will find it and boot from it.</p><p>The kernel command line usually can be configured in <span class="emphasis"><em>/boot/grub/grub.conf</em></span>, if
-+will find it and boot from it.</p><p>The kernel command line usually can be configured in <span class="emphasis"><em>/boot/grub/menu.lst</em></span>, for GRUB Legacy, or <span class="emphasis"><em>/boot/grub2/grub.cfg</em></span>, for GRUB2 if
- grub is your bootloader and it also can be edited in the real boot process in
- the grub menu.</p><p>The kernel command line can also be provided by the dhcp server with the
- root-path option. See <a class="xref" href="#NetworkBoot" title="Network Boot">the section called “Network Boot”</a>.</p><p>For a full reference of all kernel command line parameters,
-@@ -3228,4 +3228,4 @@ local-fs-pre.target dracu
- switch-root</pre></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_author_4"></a>AUTHOR</h2></div></div></div><p>Harald Hoyer</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_see_also_7"></a>SEE ALSO</h2></div></div></div><p><span class="strong"><strong>dracut</strong></span>(8) <span class="strong"><strong>bootup</strong></span>(7)</p></div></div><div class="appendix"><div class="titlepage"><div><div><h2 class="title"><a id="_license"></a>Appendix A. License</h2></div></div></div><p>This work is licensed under the Creative Commons Attribution/Share-Alike
- License. To view a copy of this license, visit
- <a class="ulink" href="http://creativecommons.org/licenses/by-sa/3.0/" target="_top">http://creativecommons.org/licenses/by-sa/3.0/</a> or send a letter to Creative
--Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.</p></div></div></div></body></html>
-\ No newline at end of file
-+Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.</p></div></div></div></body></html>
+ will find it and boot from it.
+
+-The kernel command line usually can be configured in _/boot/grub/grub.conf_ or
+-_/boot/grub2/grub.cfg_, if grub is your bootloader and it also can be edited in
+-the real boot process in the grub menu.
++The kernel command line usually can be configured in _/boot/grub/grub.conf_,
++for GRUB legacy, or _/boot/grub2/grub.cfg_, for GRUB2 if grub is your
++bootloader and it also can be edited in the real boot process in the grub menu.
+
+ The kernel command line can also be provided by the dhcp server with the
+ root-path option. See <<NetworkBoot>>.
+--
+1.8.1.4
+
++++++ wait_for_network_race_condition_fix.patch ++++++
--- /var/tmp/diff_new_pack.pUuWjh/_old 2014-04-11 14:40:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pUuWjh/_new 2014-04-11 14:40:43.000000000 +0200
@@ -1,8 +1,27 @@
-Index: dracut-036/modules.d/40network/net-genrules.sh
-===================================================================
---- dracut-036.orig/modules.d/40network/net-genrules.sh 2014-01-29 08:35:47.000000000 +0100
-+++ dracut-036/modules.d/40network/net-genrules.sh 2014-03-05 16:21:32.119553089 +0100
-@@ -98,6 +98,9 @@ command -v fix_bootif >/dev/null || . /l
+From 330bb44b7773c7b861a6aaa32d4524c783a162f0 Mon Sep 17 00:00:00 2001
+From: Pawel Wieczorkiewicz
+Date: Tue, 8 Apr 2014 08:50:55 +0200
+Subject: [PATCH] 40network: Fix race condition when wait for networks
+
+If no network related params are specific, but rd.neednet=1 is set,
+the default initqueue action is to wait until one of the network
+interfaces is marked as setup properly.
+
+This also help with initqueue's race condition when the network interface
+shows upd late
+
+References: bnc#866771
+
+Signed-off-by: Hannes Reinecke
+---
+ modules.d/40network/net-genrules.sh | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/modules.d/40network/net-genrules.sh b/modules.d/40network/net-genrules.sh
+index af2f09c..6ec9239 100755
+--- a/modules.d/40network/net-genrules.sh
++++ b/modules.d/40network/net-genrules.sh
+@@ -98,6 +98,9 @@ command -v fix_bootif >/dev/null || . /lib/net-lib.sh
cond='ACTION=="add", SUBSYSTEM=="net"'
# if you change the name of "91-default-net.rules", also change modules.d/80cms/cmssetup.sh
echo "$cond, $runcmd" > /etc/udev/rules.d/91-default-net.rules
@@ -12,3 +31,6 @@
fi
# if you change the name of "90-net.rules", also change modules.d/80cms/cmssetup.sh
+--
+1.8.1.4
+
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org