Re: [ANNOUNCE] udev 048 release

Tomasz Kłoczko
2004-12-08T21:56:51Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1842 bytes --]

On Wed, 8 Dec 2004, Greg KH wrote:

> On Wed, Dec 08, 2004 at 11:28:10AM -0800, Greg KH wrote:
>> On Wed, Dec 08, 2004 at 10:58:56AM -0800, Greg KH wrote:
>>> I've released the 047 version of udev. It can be found at:
>>> kernel.org/pub/linux/utils/kernel/hotplug/udev-046.tar.gz
>>
>> Ick, the programs in the extras/ directory don't seem to build anymore.
>> I'll fix that up and do a new release in a few hours. Sorry about
>> that...
>
> Ok, version 048 has been released to fix the build errors for the
> extras/ directory. It's available at
> kernel.org/pub/linux/utils/kernel/hotplug/udev-048.tar.gz

I have question about curent form of udev source.

First: is it any real reason for use by udev private copy libsysfs which
is statically linked with udev ?

I'm using udev with shared libsysfs for a months and all works correcly.

If no reasons patches for using system avalaible libsysfs for udev 048
can be downloaded from:

http://cvs.pld.org.pl/SOURCES/udev-uses_system_libsysfs.patch?rev=1.7
http://cvs.pld.org.pl/SOURCES/udev-extras_scsi_id_sysfs.patch?rev=1.1

Also after aplying this patches libsysfs/ subdirectory can be removed from
udev source tree.

Second: in current udev Makefile is used direct stripping linked binaries.
Why ? It makes harder packaging udev if someone will try generate udev in
for example rpm form with debug info in separated udev-debug package.

Patch for remove stripping:

http://cvs.pld.org.pl/SOURCES/udev-no_strip.patch?rev=1.7

After aplying this patch pereviouse behavior can be obtained by:

% make LDFLAGS="-s"

kloczek
--
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gda.pl*