rpms/udev/F-13 start_udev,1.88,1.89 udev.spec,1.303,1.304

Harald Hoyer harald at fedoraproject.org
Mon Mar 22 10:09:06 UTC 2010


Author: harald

Update of /cvs/pkgs/rpms/udev/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv24658

Modified Files:
	start_udev udev.spec 
Log Message:
* Mon Mar 22 2010 Harald Hoyer <harald at redhat.com> 151-5
- fixed return code of touching the device nodes [FAIL] -> [OK]



Index: start_udev
===================================================================
RCS file: /cvs/pkgs/rpms/udev/F-13/start_udev,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -p -r1.88 -r1.89
--- start_udev	19 Mar 2010 12:44:27 -0000	1.88
+++ start_udev	22 Mar 2010 10:09:06 -0000	1.89
@@ -62,6 +62,7 @@ touch_recursive() {
 		[[ -c "$i" || -b "$i" ]] && touch "$i"
 		[ -d "$i" ] && touch_recursive "$i"
 	done )
+	return 0
 }
 
 xargs_simple () {
@@ -316,11 +317,11 @@ if [ -f "/sys/class/tty/console/uevent" 
 	wait_for_queue $udevtimeout
 	ret=$[$ret + $?]
 	wait
+	ret=$[$ret + $?]
 	/sbin/udevadm control --env=STARTUP=
 	# touch all device files for timezone glitches
 	# "find" is in /usr/bin and might not be available
-        touch_recursive /dev > "$udev_root/null" 2>&1
-
+	touch_recursive /dev > "$udev_root/null" 2>&1 
 else
 	echo -n " kernel too old for this udev version "
 	/sbin/udevd -d $UDEV_OPTS


Index: udev.spec
===================================================================
RCS file: /cvs/pkgs/rpms/udev/F-13/udev.spec,v
retrieving revision 1.303
retrieving revision 1.304
diff -u -p -r1.303 -r1.304
--- udev.spec	19 Mar 2010 13:12:23 -0000	1.303
+++ udev.spec	22 Mar 2010 10:09:06 -0000	1.304
@@ -5,7 +5,7 @@
 Summary: A userspace implementation of devfs
 Name: udev
 Version: 151
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPLv2
 Group: System Environment/Base
 Provides: udev-persistent = %{version}-%{release}
@@ -399,6 +399,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0644,root,root) %{_libdir}/pkgconfig/gudev-1.0*
 
 %changelog
+* Mon Mar 22 2010 Harald Hoyer <harald at redhat.com> 151-5
+- fixed return code of touching the device nodes [FAIL] -> [OK]
+
 * Fri Mar 19 2010 Harald Hoyer <harald at redhat.com> 151-4
 - add patch for virtio-ports (#569700)
 - own libgudev dirs (#561319)



More information about the scm-commits mailing list