I noticed that, in 7.5. General Network Configuration, we explcitly cd /etc/sysconfig/ cat > ifconfig.eth0 << "EOF"
but then go on to create the remaining "here documents" by using the full paths to the files cat > /etc/resolv.conf << "EOF" echo "<lfs>" > /etc/hostname cat > /etc/hosts << "EOF" and, moving on down into 7.6. System V Bootscript Usage and Configuration, we carry on with the full paths cat > /etc/inittab << "EOF" So, is there any point to the cd /etc/sysconfig/ or, to put it another way, would anything be lost if we just created ifconfig.eth0 by using the full path to it, vis: cat > /etc/sysconfig/ifconfig.eth0 << "EOF" It looks as though the next non "here document" or "echo" command after the cd is the make mrproper in the 8.3. Linux-5.5.3 section, in which case, the user is expected to have cd-d (from wherever they were) into the uppacked kernel sources directory, further suggesting that there's no reason for them to have cd-ed into /etc/sysconfig ? Apologies if I have missed something. -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
