Changeset 71c9190 in bootscripts-standard
- Timestamp:
- May 17, 2014, 3:21:20 AM (11 years ago)
- Branches:
- master
- Children:
- 94bfdfa
- Parents:
- 88c8bf0
- Location:
- bootscripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/Changelog
r88c8bf0 r71c9190 1 1 Chris - May 17, 2014 2 2 * Removed obsolete ONHOTPLUG reference from README 3 * Removed obsolete commands to create and populate /lib/udev/devices 3 4 4 5 jim - June 4, 2009 -
bootscripts/Makefile
r88c8bf0 r71c9190 29 29 install -d -m ${DIRMODE} ${EXTDIR}/sysconfig/network-devices/services 30 30 31 udev_device_dirs: 32 install -d -m ${DIRMODE} ${DESTDIR}/lib/udev/devices/{pts,shm,net} 33 34 udev_device_links: udev_device_dirs 35 ln -snf /proc/self/fd ${DESTDIR}/lib/udev/devices/fd 36 ln -snf /proc/self/fd/0 ${DESTDIR}/lib/udev/devices/stdin 37 ln -snf /proc/self/fd/1 ${DESTDIR}/lib/udev/devices/stdout 38 ln -snf /proc/self/fd/2 ${DESTDIR}/lib/udev/devices/stderr 39 ln -snf /proc/kcore ${DESTDIR}/lib/udev/devices/core 40 41 mknod_devices: udev_device_dirs 42 @if [ "$$UID" = "0" ]; then \ 43 if ! [ -e ${DESTDIR}/lib/udev/devices/null ]; then \ 44 mknod -m 0666 ${DESTDIR}/lib/udev/devices/null c 1 3 ;\ 45 fi \ 46 fi 47 @if [ "$$UID" = "0" ]; then \ 48 if ! [ -e ${DESTDIR}/lib/udev/devices/console ]; then \ 49 mknod -m 0600 ${DESTDIR}/lib/udev/devices/console c 5 1 ;\ 50 fi \ 51 fi 52 @if [ "$$UID" != "0" ]; then \ 53 if ! [ -e ${DESTDIR}/lib/udev/devices/null ]; then \ 54 echo "You will need to issue the following command as the root user" ;\ 55 echo "" ;\ 56 echo "mknod -m 0666 ${DESTDIR}/lib/udev/devices/null c 1 3" ;\ 57 fi \ 58 fi 59 @if [ "$$UID" != "0" ]; then \ 60 if ! [ -e ${DESTDIR}/lib/udev/devices/console ]; then \ 61 echo "mknod -m 0600 ${DESTDIR}/lib/udev/devices/console c 5 1" ;\ 62 echo "" ;\ 63 fi \ 64 fi 65 66 install-bootscripts: create-dirs create-service-dir udev_device_dirs udev_device_links 31 install-bootscripts: create-dirs create-service-dir 67 32 68 33 install -m ${MODE} clfs/init.d/checkfs ${EXTDIR}/rc.d/init.d/ … … 139 104 install -m ${MODE} contrib/sysconfig/network-devices/services/mtu ${EXTDIR}/sysconfig/network-devices/services 140 105 141 install-minimal: create-dirs create-service-dir udev_device_dirs udev_device_links106 install-minimal: create-dirs create-service-dir 142 107 sed -e 's|/bin:/usr/bin:/sbin:/usr/sbin|/tools/bin:/tools/sbin:/bin:/sbin|g' clfs/init.d/functions > clfs/init.d/functions.minimal 143 108 install -m ${MODE} clfs/init.d/checkfs ${EXTDIR}/rc.d/init.d/ … … 210 175 install -m ${MODE} cblfs/sysconfig/network-devices/services/pppoe ${EXTDIR}/sysconfig/network-devices/services 211 176 212 install-netboot: create-dirs create-service-dir udev_device_dirs udev_device_links177 install-netboot: create-dirs create-service-dir 213 178 rm -rf ${EXTDIR}/rc.d 214 179 install -d -m ${DIRMODE} ${EXTDIR}/rc.d -
bootscripts/netboot/rc.sysinit
r88c8bf0 r71c9190 24 24 echo "Starting udev" 25 25 mount -n -t tmpfs -o mode=0755 udev /dev 26 cp --preserve=all --recursive --remove-destination /lib/udev/devices/* /dev27 26 chmod 1777 /dev/shm 28 27 echo "" > /sys/kernel/uevent_helper
Note:
See TracChangeset
for help on using the changeset viewer.