The Udev package contains programs for dynamic creation of device nodes.
This patch moves /lib/udev to /lib64/udev, to keep system consistency:
patch -Np1 -i ../udev-096-lib64-2.patch
Compile the package:
make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" \ EXTRAS="extras/cdrom_id extras/floppy extras/firmware extras/scsi_id extras/volume_id \ extras/ata_id extras/usb_id extras/edd_id extras/dasd_id extras/path_id"
The meaning of the make parameter:
This builds the helper applications that are used with udev. The helper programs assist in correct handling of devices.
If you want to run the testsuite, you need to change a hardcoded reference to the test program:
sed -i 's@/usr/bin/test@/bin/test@' test/udev-test.pl
To test the results, issue: make test.
Install the package:
make DESTDIR=/ \ EXTRAS="extras/floppy extras/cdrom_id extras/firmware \ extras/scsi_id extras/volume_id extras/ata_id extras/usb_id \ extras/edd_id extras/dasd_id extras/path_id" install
The meaning of the make parameter:
This prevents the Udev build process from killing any udevd processes that may be running on the system.
Install a necessary helper script:
install -v extras/eventrecorder.sh /lib64/udev
Install the documentation that explains how to create Udev rules:
install -v -m644 -D docs/writing_udev_rules/index.html \ /usr/share/doc/udev-096/index.html
Create a directory for storing firmware that can be loaded by udev:
install -dv /lib64/firmware