mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-04 11:34:36 +01:00
Updated Makefile to automatically generate bootscript and udev-config tarballs Updated licesnse to be the same as BLFS git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8548 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
LSB-V3 Installation:
|
|
|
|
Inline LFS installation: make install &&
|
|
sed -i.bak 's@/etc/rc.d@/etc@' /etc/inittab
|
|
|
|
|
|
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
|
|
|
|
|
|
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!
|