Changeset 1f7827a2 for udev/Makefile


Ignore:
Timestamp:
Feb 21, 2006, 2:03:02 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
cc00b22
Parents:
96204b1
Message:

r1012@server (orig r1010): jim | 2006-01-06 10:33:15 -0800

r1291@server: jim | 2006-01-06 10:31:33 -0800
Updates based on Alex's findings. Thank You Alex


File:
1 edited

Legend:

Unmodified
Added
Removed
  • udev/Makefile

    r96204b1 r1f7827a2  
    77all: install
    88
    9 install: device_dirs device_links rules scripts boot
     9install: device_dirs device_links rules scripts boot mknod_devices
    1010
    1111rules:
    1212        install -m ${RULESMODE} 05-udev-early.rules ${DESTDIR}/etc/udev/rules.d/05-udev-early.rules
     13        install -m ${RULESMODE} 35-helper.rules ${DESTDIR}/etc/udev/rules.d/35-helper.rules
     14        install -m ${RULESMODE} 40-modprobe.rules ${DESTDIR}/etc/udev/rules.d/40-modprobe.rules
    1315        install -m ${RULESMODE} 50-udev.rules ${DESTDIR}/etc/udev/rules.d/50-udev.rules
     16        install -m ${RULESMODE} 55-sound.rules ${DESTDIR}/etc/udev/rules.d/55-sound.rules
    1417        install -m ${RULESMODE} 60-persistent.rules ${DESTDIR}/etc/udev/rules.d/60-persistent.rules
    1518        install -m ${RULESMODE} 85-mount-fstab.rules ${DESTDIR}/etc/udev/rules.d/85-mount-fstab.rules
     
    2124        install -m ${SCRIPTMODE} input.sh ${DESTDIR}/lib/udev/input.sh
    2225        install -m ${SCRIPTMODE} mount.sh ${DESTDIR}/lib/udev/mount.sh
    23         install -m ${SCRIPTMODE} udev.count_events ${DESTDIR}/usr/bin/udev.count_events
    2426
    2527boot:
     
    2729        install -d ${DESTDIR}/etc/rc.d/rcsysinit.d
    2830        install -d ${DESTDIR}/etc/rc.d/init.d
    29         install -d ${DESTDIR}/var/adm/fillup-templates
    3031        install -m ${INITMODE} udev ${DESTDIR}/etc/rc.d/init.d/udev
    3132        install -m ${INITMODE} udev_retry ${DESTDIR}/etc/rc.d/init.d/udev_retry
    32         install -d ${DESTDIR}/var/adm/fillup-templates
    33         install -m ${CONFMODE} sysconfig.storage ${DESTDIR}/var/adm/fillup-templates/sysconfig.storage
    3433        install -m ${SCRIPTMODE} show_event_log ${DESTDIR}/usr/share/udev/show_event_log
    3534        ln -sf ../init.d/udev ${DESTDIR}/etc/rc.d/rcsysinit.d/S10udev
    36         ln -sf ../init.d/udev_retry ${DESTDIR}/etc/rc.d/rcsysinit.d/S15udev_retry
     35        ln -sf ../init.d/udev_retry ${DESTDIR}/etc/rc.d/rcsysinit.d/S45udev_retry
    3736
    3837device_dirs:
     
    4948        ln -snf /proc/kcore ${DESTDIR}/lib/udev/devices/core
    5049
    51 .PHONY: all install device_dirs device_links rules scripts boot
     50mknod_devices:
     51        @echo ""
     52        @echo "This step will fail if your not installing as the root user"
     53        @echo "If it does, you will need to create these devices manually."
     54        @echo "If you get a message saying 'File exists', you can safely"
     55        @echo "Ignore this step."
     56        @echo ""
     57        @echo "Here are the commands for you to run as the root user."
     58        @echo ""
     59        @echo "mknod -m 0666 ${DESTDIR}/lib/udev/devices/null c 1 3"
     60        @echo "mknod -m 0600 ${DESTDIR}/lib/udev/devices/console c 5 1"
     61        @mknod -m 0666 ${DESTDIR}/lib/udev/devices/null c 1 3
     62        @mknod -m 0600 ${DESTDIR}/lib/udev/devices/console c 5 1
     63
     64.PHONY: all install device_dirs device_links rules scripts boot mknod_devices
Note: See TracChangeset for help on using the changeset viewer.