Changeset a3d8ed8 in bootscripts-standard
- Timestamp:
- Feb 2, 2009, 7:11:02 PM (16 years ago)
- Branches:
- master
- Children:
- ad29fe9
- Parents:
- 3952533
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Changelog
r3952533 ra3d8ed8 1 jim - Janurary 31, 2009 1 jim - February 2, 2009 2 * Fixed Makefile 3 * Moved Network to install-network 4 5 jim - January 31, 2009 2 6 * Moved syklogd to cblfs 3 7 * Added rsyslog to clfs 4 8 5 jim - Janu rary 14, 20099 jim - January 14, 2009 6 10 * Fixed Netboot Udev Setup 7 11 * Remove all script directories for netboot 8 12 9 jim - Janu rary 8, 200913 jim - January 8, 2009 10 14 * Remove Console Script 11 15 * Added i18n Script -
Makefile
r3952533 ra3d8ed8 1 1 ETCDIR=/etc 2 LIBDIR=/lib3 2 SHELL=/bin/bash 4 3 EXTDIR=${DESTDIR}${ETCDIR} … … 20 19 21 20 udev_device_dirs: 22 install -d -m ${DIRMODE} ${DESTDIR} ${LIBDIR}/udev/devices/{pts,shm,net}21 install -d -m ${DIRMODE} ${DESTDIR}/lib/udev/devices/{pts,shm,net} 23 22 24 23 udev_device_links: udev_device_dirs 25 ln -snf /proc/self/fd ${DESTDIR} ${LIBDIR}/udev/devices/fd26 ln -snf /proc/self/fd/0 ${DESTDIR} ${LIBDIR}/udev/devices/stdin27 ln -snf /proc/self/fd/1 ${DESTDIR} ${LIBDIR}/udev/devices/stdout28 ln -snf /proc/self/fd/2 ${DESTDIR} ${LIBDIR}/udev/devices/stderr29 ln -snf /proc/kcore ${DESTDIR} ${LIBDIR}/udev/devices/core24 ln -snf /proc/self/fd ${DESTDIR}/lib/udev/devices/fd 25 ln -snf /proc/self/fd/0 ${DESTDIR}/lib/udev/devices/stdin 26 ln -snf /proc/self/fd/1 ${DESTDIR}/lib/udev/devices/stdout 27 ln -snf /proc/self/fd/2 ${DESTDIR}/lib/udev/devices/stderr 28 ln -snf /proc/kcore ${DESTDIR}/lib/udev/devices/core 30 29 31 30 mknod_devices: udev_device_dirs 32 31 @if [ "$$UID" = "0" ]; then \ 33 if ! [ -e ${DESTDIR} ${LIBDIR}/udev/devices/null ]; then \34 mknod -m 0666 ${DESTDIR} ${LIBDIR}/udev/devices/null c 1 3 ;\32 if ! [ -e ${DESTDIR}/lib/udev/devices/null ]; then \ 33 mknod -m 0666 ${DESTDIR}/lib/udev/devices/null c 1 3 ;\ 35 34 fi \ 36 35 fi 37 36 @if [ "$$UID" = "0" ]; then \ 38 if ! [ -e ${DESTDIR} ${LIBDIR}/udev/devices/console ]; then \39 mknod -m 0600 ${DESTDIR} ${LIBDIR}/udev/devices/console c 5 1 ;\37 if ! [ -e ${DESTDIR}/lib/udev/devices/console ]; then \ 38 mknod -m 0600 ${DESTDIR}/lib/udev/devices/console c 5 1 ;\ 40 39 fi \ 41 40 fi 42 41 @if [ "$$UID" != "0" ]; then \ 43 if ! [ -e ${DESTDIR} ${LIBDIR}/udev/devices/null ]; then \42 if ! [ -e ${DESTDIR}/lib/udev/devices/null ]; then \ 44 43 echo "You will need to issue the following command as the root user" ;\ 45 44 echo "" ;\ 46 echo "mknod -m 0666 ${DESTDIR} ${LIBDIR}/udev/devices/null c 1 3" ;\45 echo "mknod -m 0666 ${DESTDIR}/lib/udev/devices/null c 1 3" ;\ 47 46 fi \ 48 47 fi 49 48 @if [ "$$UID" != "0" ]; then \ 50 if ! [ -e ${DESTDIR} ${LIBDIR}/udev/devices/console ]; then \51 echo "mknod -m 0600 ${DESTDIR} ${LIBDIR}/udev/devices/console c 5 1" ;\49 if ! [ -e ${DESTDIR}/lib/udev/devices/console ]; then \ 50 echo "mknod -m 0600 ${DESTDIR}/lib/udev/devices/console c 5 1" ;\ 52 51 echo "" ;\ 53 52 fi \ … … 66 65 install -m ${MODE} clfs/init.d/mountfs ${EXTDIR}/rc.d/init.d/ 67 66 install -m ${MODE} clfs/init.d/mountkernfs ${EXTDIR}/rc.d/init.d/ 68 install -m ${MODE} clfs/init.d/network ${EXTDIR}/rc.d/init.d/69 67 install -m ${MODE} clfs/init.d/rc ${EXTDIR}/rc.d/init.d/ 70 68 install -m ${MODE} clfs/init.d/reboot ${EXTDIR}/rc.d/init.d/ … … 76 74 install -m ${MODE} clfs/init.d/template ${EXTDIR}/rc.d/init.d/ 77 75 install -m ${MODE} clfs/init.d/udev ${EXTDIR}/rc.d/init.d/ 78 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc0.d/K80network79 76 ln -sf ../init.d/rsyslog ${EXTDIR}/rc.d/rc0.d/K90rsyslog 80 77 ln -sf ../init.d/sendsignals ${EXTDIR}/rc.d/rc0.d/S60sendsignals … … 83 80 ln -sf ../init.d/localnet ${EXTDIR}/rc.d/rc0.d/S90localnet 84 81 ln -sf ../init.d/halt ${EXTDIR}/rc.d/rc0.d/S99halt 85 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc1.d/K80network86 82 ln -sf ../init.d/rsyslog ${EXTDIR}/rc.d/rc1.d/S10rsyslog 87 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc2.d/S20network88 83 ln -sf ../init.d/rsyslog ${EXTDIR}/rc.d/rc2.d/S10rsyslog 89 84 ln -sf ../init.d/rsyslog ${EXTDIR}/rc.d/rc3.d/S10rsyslog 90 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc3.d/S20network91 85 ln -sf ../init.d/rsyslog ${EXTDIR}/rc.d/rc4.d/S10rsyslog 92 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc4.d/S20network93 86 ln -sf ../init.d/rsyslog ${EXTDIR}/rc.d/rc5.d/S10rsyslog 94 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc5.d/S20network95 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc6.d/K80network96 87 ln -sf ../init.d/rsyslog ${EXTDIR}/rc.d/rc6.d/K90rsyslog 97 88 ln -sf ../init.d/sendsignals ${EXTDIR}/rc.d/rc6.d/S60sendsignals … … 117 108 if [ ! -f ${EXTDIR}/sysconfig/modules ]; then install -m ${CONFMODE} clfs/sysconfig/modules ${EXTDIR}/sysconfig/; fi 118 109 if [ ! -f ${EXTDIR}/sysconfig/rc ]; then install -m ${CONFMODE} clfs/sysconfig/rc ${EXTDIR}/sysconfig/; fi 110 @$(MAKE) mknod_devices 111 112 install-network: create-dirs create-service-dir 113 114 install -m ${MODE} clfs/init.d/network ${EXTDIR}/rc.d/init.d/ 115 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc0.d/K80network 116 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc1.d/K80network 117 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc2.d/S20network 118 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc3.d/S20network 119 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc4.d/S20network 120 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc5.d/S20network 121 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc6.d/K80network 119 122 install -m ${MODE} clfs/sysconfig/network-devices/ifup ${EXTDIR}/sysconfig/network-devices/ 120 123 install -m ${MODE} clfs/sysconfig/network-devices/ifdown ${EXTDIR}/sysconfig/network-devices/ 121 124 install -m ${MODE} clfs/sysconfig/network-devices/services/ipv4-static ${EXTDIR}/sysconfig/network-devices/services/ 122 125 install -m ${MODE} clfs/sysconfig/network-devices/services/ipv4-static-route ${EXTDIR}/sysconfig/network-devices/services/ 123 @$(MAKE) mknod_devices124 126 125 127 install-service-mtu: create-service-dir … … 1205 1207 1206 1208 .PHONY: all create-dirs create-service-dir \ 1207 install \ 1209 install \ 1210 install-bootscripts \ 1211 install-network \ 1212 install-dhcpcd \ 1208 1213 install-service-mtu \ 1209 1214 minimal \ … … 1250 1255 install-stunnel \ 1251 1256 install-svn \ 1257 install-sysklogd \ 1252 1258 install-syslog-ng \ 1253 1259 install-sysstat \
Note:
See TracChangeset
for help on using the changeset viewer.