Changeset 0c3999a for udev


Ignore:
Timestamp:
Sep 16, 2006, 10:30:05 AM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
c501a76
Parents:
056acae
Message:

The udev bootscript needs to use lib64 on multilib systems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • udev/udev

    r056acae r0c3999a  
    2020. ${rc_functions}
    2121
     22if [ -d "/lib64" ]; then
     23        udev_libdir=/lib64
     24else
     25        udev_libdir=/lib
     26fi
     27
    2228case "$1" in
    2329    start)
     
    2733
    2834        boot_mesg "Copying static entries..."
    29         cp --preserve=all --recursive --remove-destination /lib/udev/devices/* /dev
     35        cp --preserve=all --recursive --remove-destination ${udev_libdir}/udev/devices/* /dev
    3036        evaluate_retval
    3137       
     
    7581        boot_mesg "Reloading udev rules..."
    7682        udevcontrol reload_rules
    77         cp --preserve=all --recursive --update /lib/udev/devices/* /dev
     83        cp --preserve=all --recursive --update ${udev_libdir}/udev/devices/* /dev
    7884        evaluate_retval
    7985        ;;
     
    8389        udevcontrol reload_rules
    8490        rm -rf /dev/.udev /dev/disk
    85         cp --preserve=all --recursive --update /lib/udev/devices/* /dev
     91        cp --preserve=all --recursive --update ${udev_libdir}/udev/devices/* /dev
    8692        /sbin/udevtrigger
    8793        /sbin/udevsettle
     
    94100        ;;
    95101esac
     102
     103unset udev_libdir
Note: See TracChangeset for help on using the changeset viewer.