Hello community,

here is the log from the commit of package biosdevname for openSUSE:Factory 
checked in at 2013-07-16 07:32:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/biosdevname (Old)
 and      /work/SRC/openSUSE:Factory/.biosdevname.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "biosdevname"

Changes:
--------
--- /work/SRC/openSUSE:Factory/biosdevname/biosdevname.changes  2013-04-23 
17:17:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.biosdevname.new/biosdevname.changes     
2013-07-16 07:32:55.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jul 12 19:33:10 CEST 2013 - oher...@suse.de
+
+- Update mkinitrd helper to look for rules in /lib and /usr/lib (bnc#820216)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ setup-biosdevname.sh ++++++
--- /var/tmp/diff_new_pack.B4WsAY/_old  2013-07-16 07:32:56.000000000 +0200
+++ /var/tmp/diff_new_pack.B4WsAY/_new  2013-07-16 07:32:56.000000000 +0200
@@ -19,15 +19,19 @@
 #%provides: biosdevname
 
 #
-# copy biosdevname binary
+# the binary location must match location used in udev rule
 cp_bin /sbin/biosdevname "${tmp_mnt}/sbin/biosdevname"
 
-#
-# copy udev rules
-if ! [ -d "${tmp_mnt}/etc/udev/rules.d" ] ; then
-    mkdir -p "${tmp_mnt}/etc/udev/rules.d"
-fi
-cp /lib/udev/rules.d/*-biosdevname.rules "${tmp_mnt}/etc/udev/rules.d"
+mkdir -p "${tmp_mnt}/etc/udev/rules.d"
+for i in \
+    /usr/lib/udev/rules.d/*-biosdevname.rules \
+    /lib/udev/rules.d/*-biosdevname.rules
+do
+    if test -f "$i"
+    then
+        cp --remove-destination "$i" "${tmp_mnt}/etc/udev/rules.d"
+    fi
+done
 
 
 # vim: set sw=4 ts=4 et:

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to