diff --git a/7c2521091f30d7c14caaf96850208afa2fe1d811.patch b/7c2521091f30d7c14caaf96850208afa2fe1d811.patch new file mode 100644 index 0000000000000000000000000000000000000000..a1a47a83530b29a69fde9e640763ae6f3e6db4c0 --- /dev/null +++ b/7c2521091f30d7c14caaf96850208afa2fe1d811.patch @@ -0,0 +1,12 @@ +diff --git a/modules.d/90multipath/multipathd.sh b/modules.d/90multipath/multipathd.sh +index 936c5dc73..b0183ffeb 100755 +--- a/modules.d/90multipath/multipathd.sh ++++ b/modules.d/90multipath/multipathd.sh +@@ -1,6 +1,6 @@ + #!/bin/sh + +-if [ "$(getarg rd.multipath)x" == "default" ] && [ ! -e /etc/multipath.conf ]; then ++if [ "$(getarg rd.multipath)" = "default" ] && [ ! -e /etc/multipath.conf ]; then + mkdir -p /etc/multipath/multipath.conf.d + mpathconf --enable + fi diff --git a/dracut.spec b/dracut.spec index a85222233131910388f3d23c3e58b39f36bc6365..cfd1b400a4948025bbe9fdde4c3e0d2318883ef6 100644 --- a/dracut.spec +++ b/dracut.spec @@ -9,7 +9,7 @@ Name: dracut Version: 050 -Release: 3 +Release: 4 Summary: Initramfs generator using udev @@ -38,6 +38,7 @@ Patch10: dracut-lib.sh-quote-variables-in-parameter-expansion.patch Patch11: dracut-90crypt-module-setup.sh-fix-force-on-multiple-lines.patch Patch12: Fix-test-in-lsinitrd.patch Patch13: add-option-to-include-file-metadata-in-initramfs.patch +Patch6000: 7c2521091f30d7c14caaf96850208afa2fe1d811.patch Source1: https://www.gnu.org/licenses/lgpl-2.1.txt Source2: openEuler.conf.example @@ -488,6 +489,9 @@ install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kerne %endif %changelog +* 20201127173007667512 patch-tracking 050-4 +- append patch file of upstream repository from <7c2521091f30d7c14caaf96850208afa2fe1d811> to <7c2521091f30d7c14caaf96850208afa2fe1d811> + * Thu Jul 23 2020 Liquor - 050-1 - Update to 050 @@ -516,4 +520,4 @@ install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kerne - Delete redundant information * Thu Aug 29 2019 openEuler Buildteam - 049-1 -- Package init +- Package init \ No newline at end of file