Changeset 71c9190 in bootscripts-standard for bootscripts/Makefile
- Timestamp:
- May 17, 2014, 3:21:20 AM (11 years ago)
- Branches:
- master
- Children:
- 94bfdfa
- Parents:
- 88c8bf0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.