From 1b0bbdae2c9ca60cb5d52bb42a59c9b340536283 Mon Sep 17 00:00:00 2001 From: openeuler-ci-bot <80474298@qq.com> Date: Mon, 16 Nov 2020 07:30:12 +0800 Subject: [PATCH 1/2] [patch tracking] 20201116073007667439 - https://github.com/dracutdevs/dracut/commit/952c2e4e9b5088cdb3811a1f292617e51c404b96 --- ...2e4e9b5088cdb3811a1f292617e51c404b96.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 952c2e4e9b5088cdb3811a1f292617e51c404b96.patch diff --git a/952c2e4e9b5088cdb3811a1f292617e51c404b96.patch b/952c2e4e9b5088cdb3811a1f292617e51c404b96.patch new file mode 100644 index 0000000..adbeb9e --- /dev/null +++ b/952c2e4e9b5088cdb3811a1f292617e51c404b96.patch @@ -0,0 +1,22 @@ +diff --git a/dracut-bash-completion.sh b/dracut-bash-completion.sh +index 17374bf3e..913471017 100644 +--- a/dracut-bash-completion.sh ++++ b/dracut-bash-completion.sh +@@ -73,6 +73,17 @@ _dracut() { + COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") ) + return 0 + fi ++ ++ local args ++ _count_args ++ if [[ $args -eq 1 ]]; then ++ _filedir ++ return 0 ++ elif [[ $args -eq 2 ]]; then ++ comps=$(cd /lib/modules; echo [0-9]*) ++ COMPREPLY=( $(compgen -W '$comps' -- "$cur") ) ++ return 0 ++ fi + } + + complete -F _dracut dracut -- Gitee From 82312b43c14587cc2ba3f6524b2d49688b48a2ad Mon Sep 17 00:00:00 2001 From: openeuler-ci-bot <80474298@qq.com> Date: Mon, 16 Nov 2020 07:30:13 +0800 Subject: [PATCH 2/2] [patch tracking] 20201116073007667439 - update spec file --- dracut.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dracut.spec b/dracut.spec index a852222..ada5e5b 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: 952c2e4e9b5088cdb3811a1f292617e51c404b96.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 +* 20201116073007667439 patch-tracking 050-4 +- append patch file of upstream repository from <952c2e4e9b5088cdb3811a1f292617e51c404b96> to <952c2e4e9b5088cdb3811a1f292617e51c404b96> + * 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 -- Gitee