Mailinglist Archive: opensuse-commit (1670 mails)

< Previous Next >
commit udev
  • From: root@xxxxxxx (h_root)
  • Date: Mon, 2 Oct 2006 11:52:24 +0200 (CEST)
  • Message-id: <20061002095224.7D4887F479@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package udev
checked in at Mon Oct 2 11:52:24 CEST 2006.

--------
--- udev/udev.changes 2006-09-20 19:32:05.000000000 +0200
+++ /mounts/work_src_done/STABLE/udev/udev.changes 2006-09-30 15:09:01.000000000 +0200
@@ -1,0 +2,8 @@
+Sat Sep 30 12:00:00 CEST 2006 - kay.sievers@xxxxxxx
+
+- new upstream release 101
+ udevd now has --debug-trace option for bootup in trace mode
+ PHYSDEV* warnings patch upstream
+- udevd restart - replace YAST_IS_RUNNING with chroot detection (#204759)
+
+-------------------------------------------------------------------

Old:
----
udev-099.tar.bz2

New:
----
udev-101.tar.bz2

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

Other differences:
------------------
++++++ udev.spec ++++++
--- /var/tmp/diff_new_pack.X7LUag/_old 2006-10-02 11:49:14.000000000 +0200
+++ /var/tmp/diff_new_pack.X7LUag/_new 2006-10-02 11:49:14.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package udev (Version 099)
+# spec file for package udev (Version 101)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@

Name: udev
URL: ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
-Version: 099
-Release: 3
+Version: 101
+Release: 1
License: GPL
Group: System/Kernel
Summary: A Rule-Based Device Node and Kernel Event Manager
-PreReq: /bin/pidof /bin/rm %insserv_prereq %fillup_prereq
+PreReq: /bin/pidof /bin/rm /usr/bin/stat %insserv_prereq %fillup_prereq
Provides: hotplug
Obsoletes: hotplug
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -42,7 +42,6 @@
# doc
Source70: show_event_log
Source71: README.debug
-Patch0: udev-warn-about-PHYSDEV+device-01.patch

%description
udev's main task is to create and remove device nodes in /dev when a
@@ -93,7 +92,6 @@
%define extras "extras/scsi_id extras/volume_id extras/ata_id extras/usb_id extras/edd_id extras/dasd_id extras/cdrom_id extras/floppy extras/path_id extras/firmware"
%prep
%setup
-%patch0 -p1

%build
make V=1 libdir=/%{_lib} usrlibdir=%{_libdir} OPTFLAGS="${RPM_OPT_FLAGS}" EXTRAS=%{extras} all
@@ -118,7 +116,7 @@
install -m644 -D %{S:14} $RPM_BUILD_ROOT/etc/udev/rules.d/64-device-mapper.rules
install -m644 -D %{S:15} $RPM_BUILD_ROOT/etc/udev/rules.d/95-udev-late.rules
#
-# install stuff from package
+# install SUSE stuff
install -m755 -D %{S:26} $RPM_BUILD_ROOT/lib/udev/load_floppy_module.sh
#
install -m755 -D %{S:60} $RPM_BUILD_ROOT/etc/init.d/boot.udev
@@ -138,8 +136,13 @@
ln -sn /proc/kcore $RPM_BUILD_ROOT/lib/udev/devices/core

%pre
-if test -x /sbin/udevd -a -z "$YAST_IS_RUNNING"; then
+# kill daemon if we are not in a chroot
+if test -f /proc/1/exe -a -d /proc/1/root; then
+ if test $(stat -Lc '%%i' /) -eq $(stat -Lc '%%i' /proc/1/root); then
+ if test -x /sbin/udevd; then
kill $(pidof udevd) >/dev/null 2>&1 || :
+ fi
+ fi
fi

%post
@@ -150,8 +153,14 @@
rm -f /dev/.udevdb
rm -f /etc/udev/*.compiled
rm -f /etc/sysconfig/hotplug
-if test -x /sbin/udevd -a -z "$YAST_IS_RUNNING"; then
+rm -f /etc/sysconfig/udev
+# start daemon if we are not in a chroot
+if test -f /proc/1/exe -a -d /proc/1/root; then
+ if test $(stat -Lc '%%i' /) -eq $(stat -Lc '%%i' /proc/1/root); then
+ if test -x /sbin/udevd; then
/sbin/udevd --daemon >/dev/null 2>&1 || :
+ fi
+ fi
fi

%clean
@@ -251,6 +260,11 @@
/%{_lib}/libvolume_id.so.*

%changelog -n udev
+* Sat Sep 30 2006 - kay.sievers@xxxxxxx
+- new upstream release 101
+ udevd now has --debug-trace option for bootup in trace mode
+ PHYSDEV* warnings patch upstream
+- udevd restart - replace YAST_IS_RUNNING with chroot detection (#204759)
* Wed Sep 20 2006 - schwab@xxxxxxx
- Set mode of /dev/net/tun to 0666, access restrictions are now enforced
by the kernel.


++++++ 50-udev-default.rules ++++++
--- udev/50-udev-default.rules 2006-09-20 19:30:22.000000000 +0200
+++ /mounts/work_src_done/STABLE/udev/50-udev-default.rules 2006-09-30 14:44:13.000000000 +0200
@@ -131,7 +131,7 @@
KERNEL=="iseries/ibmsis*", NAME="%k", GROUP="disk"

# libusb device access
-SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0644"
+SUBSYSTEM=="usb_device", ACTION=="add", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0644"

# kernel firmware loader
SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware.sh"


++++++ 60-persistent-storage.rules ++++++
--- udev/60-persistent-storage.rules 2006-09-06 22:23:30.000000000 +0200
+++ /mounts/work_src_done/STABLE/udev/60-persistent-storage.rules 2006-09-30 15:23:06.000000000 +0200
@@ -12,14 +12,14 @@
KERNEL=="hd*[0-9]", ATTRS{removable}=="1", GOTO="persistent_storage_end"

# for partitions import parent information
-KERNEL=="*[0-9]", IMPORT{parent}=="ID_*"
+KERNEL=="*[0-9]", IMPORT{parent}="ID_*"

# by-id (hardware serial number)
KERNEL=="hd*[!0-9]", IMPORT{program}="ata_id --export $tempnode"
-KERNEL=="hd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}-$env{ID_SERIAL}"
-KERNEL=="hd*[0-9]", IMPORT{parent}=="ID_*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}-$env{ID_SERIAL}-part%n"
+KERNEL=="hd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}"
+KERNEL=="hd*[0-9]", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}-part%n"

-KERNEL=="sd*[!0-9]|sr*|st*", ATTRS{ieee1394_id}=="*", ENV{ID_SERIAL}="$attr{ieee1394_id}", ENV{ID_BUS}="ieee1394"
+KERNEL=="sd*[!0-9]|sr*|st*", ATTRS{ieee1394_id}=="?*", ENV{ID_SERIAL}="$attr{ieee1394_id}", ENV{ID_BUS}="ieee1394"
KERNEL=="sd*[!0-9]|sr*|st*", ENV{ID_SERIAL}=="", IMPORT{program}="usb_id -x"
KERNEL=="sd*[!0-9]|sr*|st*", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -s %p -d $tempnode"
KERNEL=="sd*[!0-9]|sr*|st*", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -a -s %p -d $tempnode"








++++++ udev-099.tar.bz2 -> udev-101.tar.bz2 ++++++
++++ 2322 lines of diff (skipped)


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



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >