cvs commit: LFS/bootscripts CHANGELOG Makefile

nathan at linuxfromscratch.org nathan at linuxfromscratch.org
Fri Mar 19 20:38:18 PST 2004


nathan      04/03/19 21:38:18

  Modified:    bootscripts CHANGELOG Makefile
  Log:
  Added support for DESTDIR, and ETCDIR.  [all because I mistyped EXTDIR].
  
  Revision  Changes    Path
  1.33      +2 -0      LFS/bootscripts/CHANGELOG
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/CHANGELOG,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- CHANGELOG	20 Mar 2004 03:11:48 -0000	1.32
  +++ CHANGELOG	20 Mar 2004 04:38:18 -0000	1.33
  @@ -1,5 +1,7 @@
   n/a - March 19, 2004
   
  +	* Added support for ETCDIR, and DESTDIR in the Makefile,
  +	  compliments of Tushar
   	* Renamed mountproc to mountkernfs
   	* Updated the README file
   	* Coloured the print_error_message in functions red
  
  
  
  1.11      +57 -28    LFS/bootscripts/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/Makefile,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Makefile	20 Mar 2004 03:33:30 -0000	1.10
  +++ Makefile	20 Mar 2004 04:38:18 -0000	1.11
  @@ -1,8 +1,11 @@
  -EXTDIR=/etc
  +ETCDIR=/etc
  +EXTDIR=${DESTDIR}${ETCDIR}
   
  -install:
  +create-dirs:
   	install -d -m 755 ${EXTDIR}/rc.d/rc{0,1,2,3,4,5,6,sysinit}.d
   	install -d -m 755 ${EXTDIR}/rc.d/init.d
  +
  +install: create-dirs
   	install -m 754 lfs/init.d/checkfs      ${EXTDIR}/rc.d/init.d/
   	install -m 754 lfs/init.d/cleanfs      ${EXTDIR}/rc.d/init.d/
   	install -m 644 lfs/init.d/functions    ${EXTDIR}/rc.d/init.d/
  @@ -58,7 +61,7 @@
   	install -m 754 lfs/sysconfig/network-devices/ifdown          ${EXTDIR}/sysconfig/network-devices
   	install -m 754 lfs/sysconfig/network-devices/services/static ${EXTDIR}/sysconfig/network-devices/services
   
  -install-adsl:
  +install-adsl: create-dirs
   	install -m 754 blfs/init.d/adsl       ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/adsl ${EXTDIR}/rc.d/rc0.d/K49adsl
   	ln -s  ../init.d/adsl ${EXTDIR}/rc.d/rc1.d/K49adsl
  @@ -67,7 +70,8 @@
   	ln -s  ../init.d/adsl ${EXTDIR}/rc.d/rc4.d/S24adsl
   	ln -s  ../init.d/adsl ${EXTDIR}/rc.d/rc5.d/S24adsl
   	ln -s  ../init.d/adsl ${EXTDIR}/rc.d/rc6.d/K49adsl
  -install-alsa:
  +
  +install-alsa: create-dirs
   	install -m 754 blfs/init.d/alsa       ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/alsa ${EXTDIR}/rc.d/rc0.d/K35alsa
   	ln -s  ../init.d/alsa ${EXTDIR}/rc.d/rc1.d/K35alsa
  @@ -76,7 +80,8 @@
   	ln -s  ../init.d/alsa ${EXTDIR}/rc.d/rc4.d/S40alsa
   	ln -s  ../init.d/alsa ${EXTDIR}/rc.d/rc5.d/S40alsa
   	ln -s  ../init.d/alsa ${EXTDIR}/rc.d/rc6.d/K35alsa
  -install-apache:
  +
  +install-apache: create-dirs
   	install -m 754 blfs/init.d/apache     ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/apache ${EXTDIR}/rc.d/rc0.d/K28apache
   	ln -s  ../init.d/apache ${EXTDIR}/rc.d/rc1.d/K28apache
  @@ -85,7 +90,8 @@
   	ln -s  ../init.d/apache ${EXTDIR}/rc.d/rc4.d/S32apache
   	ln -s  ../init.d/apache ${EXTDIR}/rc.d/rc5.d/S32apache
   	ln -s  ../init.d/apache ${EXTDIR}/rc.d/rc6.d/K28apache
  -install-bind:
  +
  +install-bind: create-dirs
   	install -m 754 blfs/init.d/bind       ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/bind ${EXTDIR}/rc.d/rc0.d/K49bind
   	ln -s  ../init.d/bind ${EXTDIR}/rc.d/rc1.d/K49bind
  @@ -94,7 +100,8 @@
   	ln -s  ../init.d/bind ${EXTDIR}/rc.d/rc4.d/S22bind
   	ln -s  ../init.d/bind ${EXTDIR}/rc.d/rc5.d/S22bind
   	ln -s  ../init.d/bind ${EXTDIR}/rc.d/rc6.d/K49bind
  -install-cups:
  +
  +install-cups: create-dirs
   	install -m 754 blfs/init.d/cups       ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/cups ${EXTDIR}/rc.d/rc0.d/K00cups
   	ln -s  ../init.d/cups ${EXTDIR}/rc.d/rc1.d/K00cups
  @@ -103,7 +110,8 @@
   	ln -s  ../init.d/cups ${EXTDIR}/rc.d/rc4.d/S99cups
   	ln -s  ../init.d/cups ${EXTDIR}/rc.d/rc5.d/S99cups
   	ln -s  ../init.d/cups ${EXTDIR}/rc.d/rc6.d/K00cups
  -install-dhcp:
  +
  +install-dhcp: create-dirs
   	install -m 754 blfs/init.d/dhcp       ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/dhcp ${EXTDIR}/rc.d/rc0.d/K30dhcp
   	ln -s  ../init.d/dhcp ${EXTDIR}/rc.d/rc1.d/K30dhcp
  @@ -112,7 +120,8 @@
   	ln -s  ../init.d/dhcp ${EXTDIR}/rc.d/rc4.d/S30dhcp
   	ln -s  ../init.d/dhcp ${EXTDIR}/rc.d/rc5.d/S30dhcp
   	ln -s  ../init.d/dhcp ${EXTDIR}/rc.d/rc6.d/K30dhcp
  -install-exim:
  +
  +install-exim: create-dirs
   	install -m 754 blfs/init.d/exim       ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/exim ${EXTDIR}/rc.d/rc0.d/K25exim
   	ln -s  ../init.d/exim ${EXTDIR}/rc.d/rc1.d/K25exim
  @@ -121,7 +130,8 @@
   	ln -s  ../init.d/exim ${EXTDIR}/rc.d/rc4.d/S35exim
   	ln -s  ../init.d/exim ${EXTDIR}/rc.d/rc5.d/S35exim
   	ln -s  ../init.d/exim ${EXTDIR}/rc.d/rc6.d/K25exim
  -install-fcron:
  +
  +install-fcron: create-dirs
   	install -m 754 blfs/init.d/fcron      ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/fcron ${EXTDIR}/rc.d/rc0.d/K08fcron
   	ln -s  ../init.d/fcron ${EXTDIR}/rc.d/rc1.d/K08fcron
  @@ -130,7 +140,8 @@
   	ln -s  ../init.d/fcron ${EXTDIR}/rc.d/rc4.d/S40fcron
   	ln -s  ../init.d/fcron ${EXTDIR}/rc.d/rc5.d/S40fcron
   	ln -s  ../init.d/fcron ${EXTDIR}/rc.d/rc6.d/K08fcron
  -install-gdm:
  +
  +install-gdm: create-dirs
   	install -m 754 blfs/init.d/gdm        ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/gdm ${EXTDIR}/rc.d/rc0.d/K05gdm
   	ln -s  ../init.d/gdm ${EXTDIR}/rc.d/rc1.d/K05gdm
  @@ -139,7 +150,8 @@
   	ln -s  ../init.d/gdm ${EXTDIR}/rc.d/rc4.d/K05gdm
   	ln -s  ../init.d/gdm ${EXTDIR}/rc.d/rc5.d/S95gdm
   	ln -s  ../init.d/gdm ${EXTDIR}/rc.d/rc6.d/K05gdm
  -install-gpm:
  +
  +install-gpm: create-dirs
   	install -m 754 blfs/init.d/gpm        ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/gpm ${EXTDIR}/rc.d/rc0.d/K10gpm
   	ln -s  ../init.d/gpm ${EXTDIR}/rc.d/rc1.d/K10gpm
  @@ -148,7 +160,8 @@
   	ln -s  ../init.d/gpm ${EXTDIR}/rc.d/rc4.d/S70gpm
   	ln -s  ../init.d/gpm ${EXTDIR}/rc.d/rc5.d/S70gpm
   	ln -s  ../init.d/gpm ${EXTDIR}/rc.d/rc6.d/K10gpm
  -install-lprng:
  +
  +install-lprng: create-dirs
   	install -m 754 blfs/init.d/lprng      ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/lprng ${EXTDIR}/rc.d/rc0.d/K00lprng
   	ln -s  ../init.d/lprng ${EXTDIR}/rc.d/rc1.d/K00lprng
  @@ -157,7 +170,8 @@
   	ln -s  ../init.d/lprng ${EXTDIR}/rc.d/rc4.d/S99lprng
   	ln -s  ../init.d/lprng ${EXTDIR}/rc.d/rc5.d/S99lprng
   	ln -s  ../init.d/lprng ${EXTDIR}/rc.d/rc6.d/K00lprng
  -install-mysql:
  +
  +install-mysql: create-dirs
   	install -m 754 blfs/init.d/mysql      ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/mysql ${EXTDIR}/rc.d/rc0.d/K26mysql
   	ln -s  ../init.d/mysql ${EXTDIR}/rc.d/rc1.d/K26mysql
  @@ -166,7 +180,8 @@
   	ln -s  ../init.d/mysql ${EXTDIR}/rc.d/rc4.d/S34mysql
   	ln -s  ../init.d/mysql ${EXTDIR}/rc.d/rc5.d/S34mysql
   	ln -s  ../init.d/mysql ${EXTDIR}/rc.d/rc6.d/K26mysql
  -install-netfs:
  +
  +install-netfs: create-dirs
   	install -m 754 blfs/init.d/netfs      ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/netfs ${EXTDIR}/rc.d/rc0.d/K47netfs
   	ln -s  ../init.d/netfs ${EXTDIR}/rc.d/rc1.d/K47netfs
  @@ -175,7 +190,8 @@
   	ln -s  ../init.d/netfs ${EXTDIR}/rc.d/rc4.d/S28netfs
   	ln -s  ../init.d/netfs ${EXTDIR}/rc.d/rc5.d/S28netfs
   	ln -s  ../init.d/netfs ${EXTDIR}/rc.d/rc6.d/K47netfs
  -install-nfs-client:
  +
  +install-nfs-client: create-dirs
   	install -m 754 blfs/init.d/nfs-client ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/nfs-client ${EXTDIR}/rc.d/rc0.d/K48nfs-client
   	ln -s  ../init.d/nfs-client ${EXTDIR}/rc.d/rc1.d/K48nfs-client
  @@ -184,7 +200,8 @@
   	ln -s  ../init.d/nfs-client ${EXTDIR}/rc.d/rc4.d/S24nfs-client
   	ln -s  ../init.d/nfs-client ${EXTDIR}/rc.d/rc5.d/S24nfs-client
   	ln -s  ../init.d/nfs-client ${EXTDIR}/rc.d/rc6.d/K48nfs-client
  -install-nfs-server:
  +
  +install-nfs-server: create-dirs
   	install -m 754 blfs/init.d/nfs-server ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/nfs-server ${EXTDIR}/rc.d/rc0.d/K48nfs-server
   	ln -s  ../init.d/nfs-server ${EXTDIR}/rc.d/rc1.d/K48nfs-server
  @@ -193,7 +210,8 @@
   	ln -s  ../init.d/nfs-server ${EXTDIR}/rc.d/rc4.d/S24nfs-server
   	ln -s  ../init.d/nfs-server ${EXTDIR}/rc.d/rc5.d/S24nfs-server
   	ln -s  ../init.d/nfs-server ${EXTDIR}/rc.d/rc6.d/K48nfs-server
  -install-ntp:
  +
  +install-ntp: create-dirs
   	install -m 754 blfs/init.d/ntp        ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/ntp ${EXTDIR}/rc.d/rc0.d/K46ntp
   	ln -s  ../init.d/ntp ${EXTDIR}/rc.d/rc1.d/K46ntp
  @@ -202,7 +220,8 @@
   	ln -s  ../init.d/ntp ${EXTDIR}/rc.d/rc4.d/S26ntp
   	ln -s  ../init.d/ntp ${EXTDIR}/rc.d/rc5.d/S26npt
   	ln -s  ../init.d/ntp ${EXTDIR}/rc.d/rc6.d/K46ntp
  -install-portmap:
  +
  +install-portmap: create-dirs
   	install -m 754 blfs/init.d/portmap    ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/portmap ${EXTDIR}/rc.d/rc0.d/K49portmap
   	ln -s  ../init.d/portmap ${EXTDIR}/rc.d/rc1.d/K49portmap
  @@ -211,7 +230,8 @@
   	ln -s  ../init.d/portmap ${EXTDIR}/rc.d/rc4.d/S22portmap
   	ln -s  ../init.d/portmap ${EXTDIR}/rc.d/rc5.d/S22portmap
   	ln -s  ../init.d/portmap ${EXTDIR}/rc.d/rc6.d/K49portmap
  -install-postfix:
  +
  +install-postfix: create-dirs
   	install -m 754 blfs/init.d/postfix    ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/postfix ${EXTDIR}/rc.d/rc0.d/K25postfix
   	ln -s  ../init.d/postfix ${EXTDIR}/rc.d/rc1.d/K25postfix
  @@ -220,7 +240,8 @@
   	ln -s  ../init.d/postfix ${EXTDIR}/rc.d/rc4.d/S35postfix
   	ln -s  ../init.d/postfix ${EXTDIR}/rc.d/rc5.d/S35postfix
   	ln -s  ../init.d/postfix ${EXTDIR}/rc.d/rc6.d/K25postfix
  -install-postgresql:
  +
  +install-postgresql: create-dirs
   	install -m 754 blfs/init.d/postgresql ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/postgresql ${EXTDIR}/rc.d/rc0.d/K26postgresql
   	ln -s  ../init.d/postgresql ${EXTDIR}/rc.d/rc1.d/K26postgresql
  @@ -229,7 +250,8 @@
   	ln -s  ../init.d/postgresql ${EXTDIR}/rc.d/rc4.d/S34postgresql
   	ln -s  ../init.d/postgresql ${EXTDIR}/rc.d/rc5.d/S34postgresql
   	ln -s  ../init.d/postgresql ${EXTDIR}/rc.d/rc6.d/K26postgresql
  -install-proftpd:
  +
  +install-proftpd: create-dirs
   	install -m 754 blfs/init.d/proftpd    ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/proftpd ${EXTDIR}/rc.d/rc0.d/K28proftpd
   	ln -s  ../init.d/proftpd ${EXTDIR}/rc.d/rc1.d/K28proftpd
  @@ -238,7 +260,8 @@
   	ln -s  ../init.d/proftpd ${EXTDIR}/rc.d/rc4.d/S32proftpd
   	ln -s  ../init.d/proftpd ${EXTDIR}/rc.d/rc5.d/S32proftpd
   	ln -s  ../init.d/proftpd ${EXTDIR}/rc.d/rc6.d/K28proftpd
  -install-random:
  +
  +install-random: create-dirs
   	install -m 754 blfs/init.d/random     ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/random ${EXTDIR}/rc.d/rc0.d/K45random
   	ln -s  ../init.d/random ${EXTDIR}/rc.d/rc1.d/S25random
  @@ -247,7 +270,8 @@
   	ln -s  ../init.d/random ${EXTDIR}/rc.d/rc4.d/S25random
   	ln -s  ../init.d/random ${EXTDIR}/rc.d/rc5.d/S25random
   	ln -s  ../init.d/random ${EXTDIR}/rc.d/rc6.d/K45random
  -install-rsyncd:
  +
  +install-rsyncd: create-dirs
   	install -m 754 blfs/init.d/rsyncd     ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/rsyncd ${EXTDIR}/rc.d/rc0.d/K30rsyncd
   	ln -s  ../init.d/rsyncd ${EXTDIR}/rc.d/rc1.d/K30rsyncd
  @@ -256,7 +280,8 @@
   	ln -s  ../init.d/rsyncd ${EXTDIR}/rc.d/rc4.d/S30rsyncd
   	ln -s  ../init.d/rsyncd ${EXTDIR}/rc.d/rc5.d/S30rsyncd
   	ln -s  ../init.d/rsyncd ${EXTDIR}/rc.d/rc6.d/K30rsyncd
  -install-samba:
  +
  +install-samba: create-dirs
   	install -m 754 blfs/init.d/samba      ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/samba ${EXTDIR}/rc.d/rc0.d/K48samba
   	ln -s  ../init.d/samba ${EXTDIR}/rc.d/rc1.d/K48samba
  @@ -265,7 +290,8 @@
   	ln -s  ../init.d/samba ${EXTDIR}/rc.d/rc4.d/S24samba
   	ln -s  ../init.d/samba ${EXTDIR}/rc.d/rc5.d/S24samba
   	ln -s  ../init.d/samba ${EXTDIR}/rc.d/rc6.d/K48samba
  -install-sendmail:
  +
  +install-sendmail: create-dirs
   	install -m 754 blfs/init.d/sendmail   ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/sendmail ${EXTDIR}/rc.d/rc0.d/K25sendmail
   	ln -s  ../init.d/sendmail ${EXTDIR}/rc.d/rc1.d/K25sendmail
  @@ -274,7 +300,8 @@
   	ln -s  ../init.d/sendmail ${EXTDIR}/rc.d/rc4.d/S35sendmail
   	ln -s  ../init.d/sendmail ${EXTDIR}/rc.d/rc5.d/S35sendmail
   	ln -s  ../init.d/sendmail ${EXTDIR}/rc.d/rc6.d/K25sendmail
  -install-sshd:
  +
  +install-sshd: create-dirs
   	install -m 754 blfs/init.d/sshd       ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/sshd ${EXTDIR}/rc.d/rc0.d/K30sshd
   	ln -s  ../init.d/sshd ${EXTDIR}/rc.d/rc1.d/K30sshd
  @@ -283,7 +310,8 @@
   	ln -s  ../init.d/sshd ${EXTDIR}/rc.d/rc4.d/S30sshd
   	ln -s  ../init.d/sshd ${EXTDIR}/rc.d/rc5.d/S30sshd
   	ln -s  ../init.d/sshd ${EXTDIR}/rc.d/rc6.d/K30sshd
  -install-xinetd:
  +
  +install-xinetd: create-dirs
   	install -m 754 blfs/init.d/xinetd     ${EXTDIR}/rc.d/init.d/
   	ln -s  ../init.d/xinetd ${EXTDIR}/rc.d/rc0.d/K49xinetd
   	ln -s  ../init.d/xinetd ${EXTDIR}/rc.d/rc1.d/K49xinetd
  @@ -292,4 +320,5 @@
   	ln -s  ../init.d/xinetd ${EXTDIR}/rc.d/rc4.d/S23xinetd
   	ln -s  ../init.d/xinetd ${EXTDIR}/rc.d/rc5.d/S23xinetd
   	ln -s  ../init.d/xinetd ${EXTDIR}/rc.d/rc6.d/K49xinetd
  +
   .PHONY: install install-adsl install-alsa install-apache install-bind install-cups install-dhcp install-exim install-fcron install-gdm install-gpm install-lprng install-mysql install-netfs install-nfs-client install-nfs-server install-ntp install-portmap install-postfix install-postgresql install-proftpd install-random install-rsync install-samba install-sendmail install-sshd install-xinetd
  
  
  



More information about the lfs-book mailing list