diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2008-09-07 16:27:29 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2008-09-07 16:27:29 +0000 |
commit | 67de919e34eb1cdac578c60de56097928389ac6a (patch) | |
tree | 2cfce04b79bd14f8a3b244beb457510e8ea7cc0b /bootscripts/contrib/lsb-v3/INSTALL | |
parent | 8b50d8657d1e44466ea0d9d9b4b53609a1ba8efe (diff) |
Use new initd-tools package, store log times in UTC, use soft depenendencies for minimal install target
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8558 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts/contrib/lsb-v3/INSTALL')
-rw-r--r-- | bootscripts/contrib/lsb-v3/INSTALL | 49 |
1 files changed, 24 insertions, 25 deletions
diff --git a/bootscripts/contrib/lsb-v3/INSTALL b/bootscripts/contrib/lsb-v3/INSTALL index b7e0f109f..4828b4323 100644 --- a/bootscripts/contrib/lsb-v3/INSTALL +++ b/bootscripts/contrib/lsb-v3/INSTALL @@ -1,32 +1,31 @@ LSB-V3 Installation: -Inline LFS installation: make install && - sed -i.bak 's@/etc/rc.d@/etc@' /etc/inittab +NOTE: initd-tools must be installed prior to installation of these scripts. +initd-tools installation: -After LFS: for file in /etc/rc.d /etc/sysconfig/rc /etc/sysconfig/modules \ - /etc/sysconfig/createfiles - do - mv $file $file.bak - done && - make install && - sed -i.bak 's@/etc/rc.d@/etc@' /etc/inittab +Download initd-tools from: +http://www.dwcab.com/downloads/initd-tools/initd-tools-0.1.2.tar.gz + ./configure && + make && + make check && + make install + +Inline installation of lsb-v3 bootscripts: + sudo make install + +After LFS installation of lsb-v3 bootscripts: + for file in /etc/rc.d /etc/sysconfig/rc /etc/sysconfig/modules \ + /etc/sysconfig/createfiles + do + mv $file $file.bak + done && + make install + +There is no longer an upgrade path for existing installations. You will have +to reinstall any bootscripts installed by BLFS or any self written scripts. +Fortunately, this will soon be very easy for BLFS scripts as a contrib +directory containing lsb-v3 scripts will be added in the near future. -With existing scripts: HERE=$PWD - cp -a /etc/rc.d /etc/rc.d.bak && - mv /etc/rc.d/* /etc && - cd /etc/rc.d && - ln -s ../rc*.d . && - ln -s ../init.d . && - for file in /etc/rc.d /etc/syconfig/rc \ - /etc/sysconfig/modules /etc/sysconfig/createfiles - do - mv $file $file.bak - done && - cd $HERE && - unset HERE && - make install && - sed -i.bak 's@/etc/rc.d@/etc/@' /etc/inittab - That's it! |