Hello community,

here is the log from the commit of package dracut for openSUSE:Factory checked 
in at 2013-10-14 09:24:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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    2013-10-09 
09:43:38.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.dracut.new/dracut.changes       2013-10-14 
09:24:45.000000000 +0200
@@ -1,0 +2,14 @@
+Sun Oct 13 15:25:37 UTC 2013 - [email protected]
+
+- Correct patch mkinitrd-fix-boot-dir-detection. (";;" doesn't 
+  really work)
+
+-------------------------------------------------------------------
+Wed Oct  9 10:59:01 UTC 2013 - [email protected]
+
+- Updated the patch mkinitrd-fix-boot-dir-detection.patch to a 
+  more generic validation that the inidcated initrd file doesn't 
+  contain a path. If no path is given, then add the default 
+  boot_dir.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mkinitrd-fix-boot-dir-detection.patch ++++++
--- /var/tmp/diff_new_pack.5Ugmne/_old  2013-10-14 09:24:46.000000000 +0200
+++ /var/tmp/diff_new_pack.5Ugmne/_new  2013-10-14 09:24:46.000000000 +0200
@@ -1,17 +1,19 @@
 diff -urNB dracut-033/mkinitrd-dracut.sh new/mkinitrd-dracut.sh
 --- dracut-033/mkinitrd-dracut.sh      2013-10-04 13:57:15.000000000 +0200
 +++ new/mkinitrd-dracut.sh     2013-10-08 20:55:59.280035248 +0200
-@@ -172,7 +172,12 @@
+@@ -172,7 +172,14 @@
            ;;
        -i) read_arg initrd_images "$@" || shift $?
            for initrd_image in $initrd_images;do
 -              targets="$targets $boot_dir/$initrd_image"
-+                case $initrd_image in
-+                  "$boot_dir"*)
-+                         targets="$targets $initrd_image";;
-+                  *)
-+                         targets="$targets $boot_dir/$initrd_image";;
-+                esac
++               # Check if the initrd_image contains a path.
++               # if not, then add the default boot_dir
++               dname=`dirname $initrd_image`
++               if [ "$dname" == "." ]; then
++                    targets="$targets $boot_dir/$initrd_image";
++               else
++                    targets="$targets $initrd_image";
++               fi
            done
            ;;
          *)  if [[ ! $targets ]]; then

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to