From: Cong Wang <[email protected]>

We should not trust cmdline passed by users, always
check the install files passed from cmdline. This restores
the old behaviour which was changed by:

        commit c6c6a08850c7e4ee211696895f7ca3864be85052
        Author: Harald Hoyer <[email protected]>
        Date:   Tue Feb 7 18:26:30 2012 +0100

            add "install_items" to dracut.conf

Reported-by: Dave Young <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Cc: Harald Hoyer <[email protected]>

---
 dracut.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dracut.sh b/dracut.sh
index 315b965..bf9e79f 100755
--- a/dracut.sh
+++ b/dracut.sh
@@ -770,7 +770,7 @@ done
 
 if [[ $kernel_only != yes ]]; then
     for item in $install_items; do
-        dracut_install -o "$item"
+        dracut_install "$item"
     done
     unset item
 
-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to