Index: boot/alpha/aboot-build.xml
===================================================================
--- boot/alpha/aboot-build.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/alpha/aboot-build.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -33,5 +33,5 @@
Install the package:
-make root="${LFS}" bindir=/cross-tools/bin install
+make root="${CLFS}" bindir=/cross-tools/bin install
Index: boot/alpha/aboot.xml
===================================================================
--- boot/alpha/aboot.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/alpha/aboot.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -21,5 +21,5 @@
cat > /etc/aboot.conf << "EOF"
# Begin /etc/aboot.conf
-0:1/boot/lfskernel-&linux-version; root=/dev/sda1
+0:1/boot/clfskernel-&linux-version; root=/dev/sda1
# End /etc/aboot.conf
EOF
Index: boot/common/bootscripts.xml
===================================================================
--- boot/common/bootscripts.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/bootscripts.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -25,5 +25,5 @@
Install the package:
-make ETCDIR=${LFS}/etc minimal
+make ETCDIR=${CLFS}/etc minimal
-cat > ${LFS}/etc/sysconfig/clock << "EOF"
+cat > ${CLFS}/etc/sysconfig/clock << "EOF"
# Begin /etc/sysconfig/clock
Index: boot/common/changingowner.xml
===================================================================
--- boot/common/changingowner.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/changingowner.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -13,5 +13,5 @@
Currently, the $CLFS
directory and all of its subdirectories are owned by the user
- lfs, a user that exists only
+ clfs, a user that exists only
on the host system. For security reasons, the $CLFS root directory and
all of it subdirectories should be owned by
@@ -19,5 +19,5 @@
for $CLFS and its subdirectories by running this command:
-chown -Rv root:root ${LFS}
+chown -Rv root:root ${CLFS}
Index: boot/common/createfiles.xml
===================================================================
--- boot/common/createfiles.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/createfiles.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -16,8 +16,8 @@
the next chapter after the software has been installed.
-ln -sv /tools/bin/{bash,cat,grep,pwd,stty} ${LFS}/bin
-ln -sv /tools/lib/libgcc_s.so{,.1} ${LFS}/usr/lib
-ln -sv /tools/lib/libstd* ${LFS}/usr/lib
-ln -sv bash ${LFS}/bin/sh
+ln -sv /tools/bin/{bash,cat,grep,pwd,stty} ${CLFS}/bin
+ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
+ln -sv /tools/lib/libstd* ${CLFS}/usr/lib
+ln -sv bash ${CLFS}/bin/sh
Index: boot/common/creatingdirs.xml
===================================================================
--- boot/common/creatingdirs.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/creatingdirs.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -14,17 +14,17 @@
standard directory tree by issuing the following commands:
-mkdir -pv ${LFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt}
-mkdir -pv ${LFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
-install -dv -m 0750 ${LFS}/root
-install -dv -m 1777 ${LFS}{/var,}/tmp
-mkdir -pv ${LFS}/usr/{,local/}{bin,include,lib,sbin,src}
-mkdir -pv ${LFS}/usr/{,local/}share/{doc,info,locale,man}
-mkdir -v ${LFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
-mkdir -pv ${LFS}/usr/{,local/}share/man/man{1..8}
-for dir in ${LFS}/usr{,/local}; do
+mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt}
+mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
+install -dv -m 0750 ${CLFS}/root
+install -dv -m 1777 ${CLFS}{/var,}/tmp
+mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib,sbin,src}
+mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
+mkdir -v ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
+mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1..8}
+for dir in ${CLFS}/usr{,/local}; do
ln -sv share/{man,doc,info} $dir
done
-mkdir -v ${LFS}/var/{lock,log,mail,run,spool}
-mkdir -pv ${LFS}/var/{opt,cache,lib/{misc,locate},local}
+mkdir -v ${CLFS}/var/{lock,log,mail,run,spool}
+mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}
Directories are, by default, created with permission mode 755,
@@ -35,9 +35,9 @@
The first mode change ensures that not just anybody can enter
- the ${LFS}/root directory—the
+ the ${CLFS}/root directory—the
same as a normal user would do with his or her home directory. The
second mode change makes sure that any user can write to the
- ${LFS}/tmp and
- ${LFS}/var/tmp directories, but
+ ${CLFS}/tmp and
+ ${CLFS}/var/tmp directories, but
cannot remove another user's files from them. The latter is prohibited
by the so-called sticky bit,
the highest bit (1) in the
Index: boot/common/devices.xml
===================================================================
--- boot/common/devices.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/devices.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -9,8 +9,8 @@
- Populating ${LFS}/dev
+ Populating ${CLFS}/dev
- ${LFS}/dev/*
+ ${CLFS}/dev/*
@@ -35,6 +35,6 @@
the following commands:
-mknod -m 600 ${LFS}/dev/console c 5 1
-mknod -m 666 ${LFS}/dev/null c 1 3
+mknod -m 600 ${CLFS}/dev/console c 5 1
+mknod -m 666 ${CLFS}/dev/null c 1 3
Index: boot/common/e2fsprogs.xml
===================================================================
--- boot/common/e2fsprogs.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/e2fsprogs.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -62,5 +62,5 @@
Install the binaries and documentation:
-make DESTDIR=${LFS} install
+make DESTDIR=${CLFS} install
@@ -68,5 +68,5 @@
- DESTDIR=${LFS}
+ DESTDIR=${CLFS}
The Makefile for e2fsprogs hard-codes a path to the
@@ -87,5 +87,5 @@
Create needed symlinks for a bootable system:
-ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,e2fsck} ${LFS}/sbin
+ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,e2fsck} ${CLFS}/sbin
Index: boot/common/fstab.xml
===================================================================
--- boot/common/fstab.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/fstab.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -9,16 +9,16 @@
- Creating the ${LFS}/etc/fstab File
+ Creating the ${CLFS}/etc/fstab File
- ${LFS}/etc/fstab
+ ${CLFS}/etc/fstab
- The ${LFS}/etc/fstab file is used by some
+ The ${CLFS}/etc/fstab file is used by some
programs to determine where file systems are to be mounted by default,
which must be checked, and in which order. Create a new file systems
table like this:
-cat > ${LFS}/etc/fstab << "EOF"
+cat > ${CLFS}/etc/fstab << "EOF"
# Begin /etc/fstab
Index: boot/common/introduction.xml
===================================================================
--- boot/common/introduction.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/introduction.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -20,11 +20,11 @@
partition ($CLFS/bin, $CLFS/usr/lib, etc...), rather than /tools, using the
"DESTDIR" option with make. This will require the
- lfs user to have write access to
+ clfs user to have write access to
the rest of the $CLFS partition, so you will need to temporarily change the
- ownership of $CLFS to the lfs user.
+ ownership of $CLFS to the clfs user.
Run the following command as root:
-chown -v lfs $CLFS
+chown -v clfs $CLFS
Index: boot/common/module-init-tools.xml
===================================================================
--- boot/common/module-init-tools.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/module-init-tools.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -42,5 +42,5 @@
xpointer="xpointer(//*[@os='j'])"/>
-make DESTDIR="${LFS}" install
+make DESTDIR="${CLFS}" install
Index: boot/common/pwdgroup.xml
===================================================================
--- boot/common/pwdgroup.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/pwdgroup.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -12,36 +12,36 @@
- ${LFS}/etc/passwd
+ ${CLFS}/etc/passwd
- ${LFS}/etc/group
+ ${CLFS}/etc/group
- ${LFS}/var/run/utmp
+ ${CLFS}/var/run/utmp
- ${LFS}/var/log/btmp
+ ${CLFS}/var/log/btmp
- ${LFS}/var/log/lastlog
+ ${CLFS}/var/log/lastlog
- ${LFS}/var/log/wtmp
+ ${CLFS}/var/log/wtmp
In order for user root to
be able to login and for the name root
to be recognized,
- there must be relevant entries in the ${LFS}/etc/passwd
- and ${LFS}/etc/group files.
+ there must be relevant entries in the ${CLFS}/etc/passwd
+ and ${CLFS}/etc/group files.
- Create the ${LFS}/etc/passwd file by running
+ Create the ${CLFS}/etc/passwd file by running
the following command:
-cat > ${LFS}/etc/passwd << "EOF"
+cat > ${CLFS}/etc/passwd << "EOF"
root:x:0:0:root:/root:/bin/bash
EOF
@@ -51,74 +51,8 @@
later.
-
-
- Additional users you may want to add:
-
-
- bin:x:1:1:bin:/bin:/bin/false
-
- To be written
-
-
-
- daemon:x:2:6:daemon:/sbin:/bin/false
-
- To be written
-
-
-
- adm:x:3:16:adm:/var/adm:/bin/false
-
- To be written
-
-
-
- lp:x:10:9:lp:/var/spool/lp:/bin/false
-
- To be written
-
-
-
- mail:x:30:30:mail:/var/mail:/bin/false
-
- To be written
-
-
-
- news:x:31:31:news:/var/spool/news:/bin/false
-
- To be written
-
-
-
- uucp:x:32:32:uucp:/var/spool/uucp:/bin/false
-
- To be written
-
-
-
- operator:x:50:0:operator:/root:/bin/bash
-
- To be written
-
-
-
- postmaster:x:51:30:postmaster:/var/spool/mail:/bin/false
-
- To be written
-
-
-
- nobody:x:65534:65534:nobody:/:/bin/false
-
- To be written
-
-
-
-
- Create the ${LFS}/etc/group file by running
+ Create the ${CLFS}/etc/group file by running
the following command:
-cat > ${LFS}/etc/group << "EOF"
+cat > ${CLFS}/etc/group << "EOF"
root:x:0:
bin:x:1:
@@ -217,13 +151,13 @@
proper permissions:
-touch ${LFS}/var/run/utmp ${LFS}/var/log/{btmp,lastlog,wtmp}
-chmod -v 664 ${LFS}/var/run/utmp ${LFS}/var/log/lastlog
-chmod -v 600 ${LFS}/var/log/btmp
+touch ${CLFS}/var/run/utmp ${CLFS}/var/log/{btmp,lastlog,wtmp}
+chmod -v 664 ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog
+chmod -v 600 ${CLFS}/var/log/btmp
- The ${LFS}/var/run/utmp file records the users
- that are currently logged in. The ${LFS}/var/log/wtmp
+ The ${CLFS}/var/run/utmp file records the users
+ that are currently logged in. The ${CLFS}/var/log/wtmp
file records all logins and logouts. The
- ${LFS}/var/log/lastlog file records when
- each user last logged in. The ${LFS}/var/log/btmp file
+ ${CLFS}/var/log/lastlog file records when
+ each user last logged in. The ${CLFS}/var/log/btmp file
records the bad login attempts.
Index: boot/common/settingenviron.xml
===================================================================
--- boot/common/settingenviron.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/settingenviron.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -15,5 +15,5 @@
.bash_profile file now:
-cat > ${LFS}/root/.bash_profile << "EOF"
+cat > ${CLFS}/root/.bash_profile << "EOF"
set +h
PS1='\u:\w\$ '
Index: boot/common/sysvinit.xml
===================================================================
--- boot/common/sysvinit.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/sysvinit.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -28,5 +28,5 @@
cp -v src/Makefile src/Makefile.orig
sed -e 's@root@0@g' \
- -e "s@/dev/initctl@${LFS}&@g" \
+ -e "s@/dev/initctl@${CLFS}&@g" \
-e 's@\(mknod \)-m \([0-9]* \)\(.* \)p@\1\3p; chmod \2\3@g' \
-e "s@/usr/lib@/tools/lib@" \
@@ -44,5 +44,5 @@
xpointer="xpointer(//*[@os='e'])"/>
-make -C src install INSTALL="install" ROOT="${LFS}"
+make -C src install INSTALL="install" ROOT="${CLFS}"
@@ -57,11 +57,11 @@
- ${LFS}/etc/inittab
+ ${CLFS}/etc/inittab
- Create a new file ${LFS}/etc/inittab by
+ Create a new file ${CLFS}/etc/inittab by
running the following:
-cat > ${LFS}/etc/inittab << "EOF"
+cat > ${CLFS}/etc/inittab << "EOF"
# Begin /etc/inittab
Index: boot/common/udev-rules.xml
===================================================================
--- boot/common/udev-rules.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/udev-rules.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -9,5 +9,5 @@
- Udev Rules-&udev-cross-lfs-version;
+ Udev Rules-&udev-cross-CLFS-version;
@@ -26,5 +26,5 @@
xpointer="xpointer(//*[@os='a'])"/>
-rm -vf ${LFS}/etc/udev/rules.d/*
+rm -vf ${CLFS}/etc/udev/rules.d/*
-make DESTDIR=${LFS} install-minimal
+make DESTDIR=${CLFS} install-minimal
Index: boot/common/udev.xml
===================================================================
--- boot/common/udev.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/udev.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -33,5 +33,5 @@
xpointer="xpointer(//*[@os='g'])"/>
-make DESTDIR=${LFS} udevdir=/dev install
+make DESTDIR=${CLFS} udevdir=/dev install
Index: boot/common/util-linux.xml
===================================================================
--- boot/common/util-linux.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/util-linux.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -125,5 +125,5 @@
make HAVE_KILL=yes HAVE_SLN=yes HAVE_SHADOW=no \
USE_TTY_GROUP=no CPUOPT="" ARCH="" \
- CPU="" DESTDIR=${LFS} install
+ CPU="" DESTDIR=${CLFS} install
Index: boot/common/whatnext.xml
===================================================================
--- boot/common/whatnext.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/common/whatnext.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -12,8 +12,8 @@
Now you're at the point to get your ${LFS} directory copied over to your target
+ class="directory">${CLFS} directory copied over to your target
machine. The easiest method would be to tar it up and copy the file.
-tar -jcvf ${LFS}.tar.bz2 ${LFS}
+tar -jcvf ${CLFS}.tar.bz2 ${CLFS}
Some others have came up with other ideas on how to do this.
Index: boot/mips/colo-build.xml
===================================================================
--- boot/mips/colo-build.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/mips/colo-build.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -40,6 +40,6 @@
xpointer="xpointer(//*[@os='c'])"/>
-cp -v chain/colo-chain.elf ${LFS}/boot/vmlinux
-gzip -9 ${LFS}/boot/vmlinux
+cp -v chain/colo-chain.elf ${CLFS}/boot/vmlinux
+gzip -9 ${CLFS}/boot/vmlinux
Index: boot/mips/colo.xml
===================================================================
--- boot/mips/colo.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/mips/colo.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -28,5 +28,5 @@
xpointer="xpointer(//*[@os='d'])"/>
-cat > ${LFS}/boot/default.colo << "EOF"
+cat > ${CLFS}/boot/default.colo << "EOF"
#:CoLo:#
#
Index: boot/mips/creatingdirs.xml
===================================================================
--- boot/mips/creatingdirs.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/mips/creatingdirs.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -15,28 +15,28 @@
xpointer="xpointer(//*[@os='a'])"/>
-install -dv ${LFS}/{bin,boot,dev,etc/opt,home,lib,mnt}
-install -dv ${LFS}/{sbin,srv,usr/local,var,opt,proc,sys}
-install -dv ${LFS}/root -m 0750
-install -dv ${LFS}/tmp ${LFS}/var/tmp -m 1777
-install -dv ${LFS}/media/{floppy,cdrom}
-install -dv ${LFS}/usr/{bin,include,lib,sbin,share,src}
-ln -sv share/{man,doc,info} ${LFS}/usr
-install -dv ${LFS}/usr/share/{doc,info,locale,man}
-install -dv ${LFS}/usr/share/{misc,terminfo,zoneinfo}
-install -dv ${LFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
-install -dv ${LFS}/usr/local/{bin,etc,include,lib,sbin,share,src}
-ln -sv share/{man,doc,info} ${LFS}/usr/local
-install -dv ${LFS}/usr/local/share/{doc,info,locale,man}
-install -dv ${LFS}/usr/local/share/{misc,terminfo,zoneinfo}
-install -dv ${LFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
-install -dv ${LFS}/var/{lock,log,mail,run,spool}
-install -dv ${LFS}/var/{opt,cache,lib/{misc,locate},local}
-install -dv ${LFS}/opt/{bin,doc,include,info}
-install -dv ${LFS}/opt/{lib,man/man{1,2,3,4,5,6,7,8}}
+install -dv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt}
+install -dv ${CLFS}/{sbin,srv,usr/local,var,opt,proc,sys}
+install -dv ${CLFS}/root -m 0750
+install -dv ${CLFS}/tmp ${CLFS}/var/tmp -m 1777
+install -dv ${CLFS}/media/{floppy,cdrom}
+install -dv ${CLFS}/usr/{bin,include,lib,sbin,share,src}
+ln -sv share/{man,doc,info} ${CLFS}/usr
+install -dv ${CLFS}/usr/share/{doc,info,locale,man}
+install -dv ${CLFS}/usr/share/{misc,terminfo,zoneinfo}
+install -dv ${CLFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
+install -dv ${CLFS}/usr/local/{bin,etc,include,lib,sbin,share,src}
+ln -sv share/{man,doc,info} ${CLFS}/usr/local
+install -dv ${CLFS}/usr/local/share/{doc,info,locale,man}
+install -dv ${CLFS}/usr/local/share/{misc,terminfo,zoneinfo}
+install -dv ${CLFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
+install -dv ${CLFS}/var/{lock,log,mail,run,spool}
+install -dv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}
+install -dv ${CLFS}/opt/{bin,doc,include,info}
+install -dv ${CLFS}/opt/{lib,man/man{1,2,3,4,5,6,7,8}}
These entries are needed for the RaQ2 bootloader. Only use these
if you are utilizing the Colo bootloader:
-cd /${LFS}/boot
+cd /${CLFS}/boot
ln -svf . boot
Index: boot/mips/kernel.xml
===================================================================
--- boot/mips/kernel.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/mips/kernel.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -92,5 +92,5 @@
make ARCH=mips CROSS_COMPILE=${CLFS_TARGET)- \
- INSTALL_MOD_PATH=${LFS} modules_install
+ INSTALL_MOD_PATH=${CLFS} modules_install
-cp -v vmlinux ${LFS}/boot/vmlinux-&linux-version;
-gzip -9 ${LFS}/boot/vmlinux-&linux-version;
+cp -v vmlinux ${CLFS}/boot/vmlinux-&linux-version;
+gzip -9 ${CLFS}/boot/vmlinux-&linux-version;
- ${LFS}/etc/inittab
+ ${CLFS}/etc/inittab
- Create a new file ${LFS}/etc/inittab by
+ Create a new file ${CLFS}/etc/inittab by
running the following:
-cat > ${LFS}/etc/inittab << "EOF"
+cat > ${CLFS}/etc/inittab << "EOF"
# Begin /etc/inittab
Index: boot/mips64-64/flags.xml
===================================================================
--- boot/mips64-64/flags.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/mips64-64/flags.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -14,5 +14,5 @@
we boot-up they will be there:
-echo export BUILD64=\""${BUILD64}\"" >> ${LFS}/root/.bash_profile
+echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile
Index: boot/mips64/createfiles.xml
===================================================================
--- boot/mips64/createfiles.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/mips64/createfiles.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -15,12 +15,12 @@
xpointer="xpointer(//*[@os='a'])"/>
-ln -sv /tools/bin/{bash,cat,pwd,stty} ${LFS}/bin
-ln -sv /tools/lib/libgcc_s.so{,.1} ${LFS}/usr/lib
-ln -sv /tools/lib32/libgcc_s.so{,.1} ${LFS}/usr/lib32
-ln -sv /tools/lib64/libgcc_s.so{,.1} ${LFS}/usr/lib64
-ln -sv /tools/lib/libstd* ${LFS}/usr/lib
-ln -sv /tools/lib32/libstd* ${LFS}/usr/lib32
-ln -sv /tools/lib64/libstd* ${LFS}/usr/lib64
-ln -sv bash ${LFS}/bin/sh
+ln -sv /tools/bin/{bash,cat,pwd,stty} ${CLFS}/bin
+ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
+ln -sv /tools/lib32/libgcc_s.so{,.1} ${CLFS}/usr/lib32
+ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64
+ln -sv /tools/lib/libstd* ${CLFS}/usr/lib
+ln -sv /tools/lib32/libstd* ${CLFS}/usr/lib32
+ln -sv /tools/lib64/libstd* ${CLFS}/usr/lib64
+ln -sv bash ${CLFS}/bin/sh
Index: boot/mips64/creatingdirs.xml
===================================================================
--- boot/mips64/creatingdirs.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/mips64/creatingdirs.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -15,31 +15,31 @@
xpointer="xpointer(//*[@os='a'])"/>
-install -dv ${LFS}/{bin,boot,dev,etc/opt,home,lib{,32,64},mnt}
-install -dv ${LFS}/{sbin,srv,usr/local,var,opt,proc,sys}
-install -dv ${LFS}/root -m 0750
-install -dv ${LFS}/tmp ${LFS}/var/tmp -m 1777
-install -dv ${LFS}/media/{floppy,cdrom}
-install -dv ${LFS}/usr/{bin,include,lib{,32,64},sbin,share,src}
-ln -sv share/{man,doc,info} ${LFS}/usr
-install -dv ${LFS}/usr/share/{doc,info,locale,man}
-install -dv ${LFS}/usr/share/{misc,terminfo,zoneinfo}
-install -dv ${LFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
-install -dv ${LFS}/usr/local/{bin,etc,include,lib{,32,64},sbin,share,src}
-ln -sv share/{man,doc,info} ${LFS}/usr/local
-install -dv ${LFS}/usr/local/share/{doc,info,locale,man}
-install -dv ${LFS}/usr/local/share/{misc,terminfo,zoneinfo}
-install -dv ${LFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
-install -dv ${LFS}/var/{lock,log,mail,run,spool}
-install -dv ${LFS}/var/{opt,cache,lib{,32,64}/{misc,locate},local}
-install -dv ${LFS}/opt/{bin,doc,include,info}
-install -dv ${LFS}/opt/{lib{,32,64},man/man{1,2,3,4,5,6,7,8}}
-install -dv ${LFS}/usr/lib/locale
-ln -sv ../lib/locale ${LFS}/usr/lib32
-ln -sv ../lib/locale ${LFS}/usr/lib64
+install -dv ${CLFS}/{bin,boot,dev,etc/opt,home,lib{,32,64},mnt}
+install -dv ${CLFS}/{sbin,srv,usr/local,var,opt,proc,sys}
+install -dv ${CLFS}/root -m 0750
+install -dv ${CLFS}/tmp ${CLFS}/var/tmp -m 1777
+install -dv ${CLFS}/media/{floppy,cdrom}
+install -dv ${CLFS}/usr/{bin,include,lib{,32,64},sbin,share,src}
+ln -sv share/{man,doc,info} ${CLFS}/usr
+install -dv ${CLFS}/usr/share/{doc,info,locale,man}
+install -dv ${CLFS}/usr/share/{misc,terminfo,zoneinfo}
+install -dv ${CLFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
+install -dv ${CLFS}/usr/local/{bin,etc,include,lib{,32,64},sbin,share,src}
+ln -sv share/{man,doc,info} ${CLFS}/usr/local
+install -dv ${CLFS}/usr/local/share/{doc,info,locale,man}
+install -dv ${CLFS}/usr/local/share/{misc,terminfo,zoneinfo}
+install -dv ${CLFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
+install -dv ${CLFS}/var/{lock,log,mail,run,spool}
+install -dv ${CLFS}/var/{opt,cache,lib{,32,64}/{misc,locate},local}
+install -dv ${CLFS}/opt/{bin,doc,include,info}
+install -dv ${CLFS}/opt/{lib{,32,64},man/man{1,2,3,4,5,6,7,8}}
+install -dv ${CLFS}/usr/lib/locale
+ln -sv ../lib/locale ${CLFS}/usr/lib32
+ln -sv ../lib/locale ${CLFS}/usr/lib64
These entries are needed for the RaQ2 bootloader. Only use these
if you are utilizing the Colo bootloader:
-cd /${LFS}/boot
+cd /${CLFS}/boot
ln -svf . boot
Index: boot/mips64/flags.xml
===================================================================
--- boot/mips64/flags.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/mips64/flags.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -14,8 +14,8 @@
we boot-up they will be there:
-echo export BUILD32=\""${BUILD32}\"" >> ${LFS}/root/.bash_profile
-echo export BUILDN32=\""${BUILDN32}\"" >> ${LFS}/root/.bash_profile
-echo export BUILD64=\""${BUILD64}\"" >> ${LFS}/root/.bash_profile
-echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> ${LFS}/root/.bash_profile
+echo export BUILD32=\""${BUILD32}\"" >> ${CLFS}/root/.bash_profile
+echo export BUILDN32=\""${BUILDN32}\"" >> ${CLFS}/root/.bash_profile
+echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile
+echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> ${CLFS}/root/.bash_profile
Index: boot/mips64/kernel.xml
===================================================================
--- boot/mips64/kernel.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/mips64/kernel.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -96,5 +96,5 @@
make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_MOD_PATH=${LFS} modules_install
+ INSTALL_MOD_PATH=${CLFS} modules_install
-cp -v vmlinux ${LFS}/boot/vmlinux-&linux-version;
-gzip -9 ${LFS}/boot/vmlinux-&linux-version;
+cp -v vmlinux ${CLFS}/boot/vmlinux-&linux-version;
+gzip -9 ${CLFS}/boot/vmlinux-&linux-version;
-ln -sv /tools/bin/{bash,cat,pwd,stty} ${LFS}/bin
-ln -sv /tools/lib/libgcc_s.so{,.1} ${LFS}/usr/lib
-ln -sv /tools/lib64/libgcc_s.so{,.1} ${LFS}/usr/lib64
-ln -sv /tools/lib/libstd* ${LFS}/usr/lib
-ln -sv /tools/lib64/libstd* ${LFS}/usr/lib64
-ln -sv bash ${LFS}/bin/sh
+ln -sv /tools/bin/{bash,cat,pwd,stty} ${CLFS}/bin
+ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
+ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64
+ln -sv /tools/lib/libstd* ${CLFS}/usr/lib
+ln -sv /tools/lib64/libstd* ${CLFS}/usr/lib64
+ln -sv bash ${CLFS}/bin/sh
Index: boot/multilib/creatingdirs.xml
===================================================================
--- boot/multilib/creatingdirs.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/multilib/creatingdirs.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -15,25 +15,25 @@
xpointer="xpointer(//*[@os='a'])"/>
-install -dv ${LFS}/{bin,boot,dev,etc/opt,home,lib{,64},mnt}
-install -dv ${LFS}/{sbin,srv,usr/local,var,opt,proc,sys}
-install -dv ${LFS}/root -m 0750
-install -dv ${LFS}/tmp ${LFS}/var/tmp -m 1777
-install -dv ${LFS}/media/{floppy,cdrom}
-install -dv ${LFS}/usr/{bin,include,lib{,64},sbin,share,src}
-ln -sv share/{man,doc,info} ${LFS}/usr
-install -dv ${LFS}/usr/share/{doc,info,locale,man}
-install -dv ${LFS}/usr/share/{misc,terminfo,zoneinfo}
-install -dv ${LFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
-install -dv ${LFS}/usr/local/{bin,etc,include,lib{,64},sbin,share,src}
-ln -sv share/{man,doc,info} ${LFS}/usr/local
-install -dv ${LFS}/usr/local/share/{doc,info,locale,man}
-install -dv ${LFS}/usr/local/share/{misc,terminfo,zoneinfo}
-install -dv ${LFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
-install -dv ${LFS}/var/{lock,log,mail,run,spool}
-install -dv ${LFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
-install -dv ${LFS}/opt/{bin,doc,include,info}
-install -dv ${LFS}/opt/{lib{,64},man/man{1,2,3,4,5,6,7,8}}
-install -dv ${LFS}/usr/lib/locale
-ln -sv ../lib/locale ${LFS}/usr/lib64
+install -dv ${CLFS}/{bin,boot,dev,etc/opt,home,lib{,64},mnt}
+install -dv ${CLFS}/{sbin,srv,usr/local,var,opt,proc,sys}
+install -dv ${CLFS}/root -m 0750
+install -dv ${CLFS}/tmp ${CLFS}/var/tmp -m 1777
+install -dv ${CLFS}/media/{floppy,cdrom}
+install -dv ${CLFS}/usr/{bin,include,lib{,64},sbin,share,src}
+ln -sv share/{man,doc,info} ${CLFS}/usr
+install -dv ${CLFS}/usr/share/{doc,info,locale,man}
+install -dv ${CLFS}/usr/share/{misc,terminfo,zoneinfo}
+install -dv ${CLFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
+install -dv ${CLFS}/usr/local/{bin,etc,include,lib{,64},sbin,share,src}
+ln -sv share/{man,doc,info} ${CLFS}/usr/local
+install -dv ${CLFS}/usr/local/share/{doc,info,locale,man}
+install -dv ${CLFS}/usr/local/share/{misc,terminfo,zoneinfo}
+install -dv ${CLFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
+install -dv ${CLFS}/var/{lock,log,mail,run,spool}
+install -dv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
+install -dv ${CLFS}/opt/{bin,doc,include,info}
+install -dv ${CLFS}/opt/{lib{,64},man/man{1,2,3,4,5,6,7,8}}
+install -dv ${CLFS}/usr/lib/locale
+ln -sv ../lib/locale ${CLFS}/usr/lib64
make ARCH=ppc CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_MOD_PATH=${LFS} modules_install
+ INSTALL_MOD_PATH=${CLFS} modules_install
-cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;
+cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;
strip to strip the second-stage
loader. It also expects to be running as root for the install, and to
- install for the root user, which user LFS cannot do. The following command
+ install for the root user, which user CLFS cannot do. The following command
will fix this:
Index: boot/ppc64/kernel.xml
===================================================================
--- boot/ppc64/kernel.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/ppc64/kernel.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -88,5 +88,5 @@
make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_MOD_PATH=${LFS} modules_install
+ INSTALL_MOD_PATH=${CLFS} modules_install
-cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;
+cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;
strip to strip the second-stage
loader. It also expects to be running as root for the install, and to
- install for the root user, which user LFS cannot do. We also need to use
+ install for the root user, which user CLFS cannot do. We also need to use
the 32-bit compiler, and to force ld to use a 32-bit
emulation. The following commands will fix and achieve this:
Index: boot/sparc/fstab.xml
===================================================================
--- boot/sparc/fstab.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/sparc/fstab.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -9,8 +9,8 @@
- Creating the ${LFS}/etc/fstab File
+ Creating the ${CLFS}/etc/fstab File
- ${LFS}/etc/fstab
+ ${CLFS}/etc/fstab
@@ -19,5 +19,5 @@
xpointer="xpointer(//*[@os='a'])"/>
-cat > ${LFS}/etc/fstab << "EOF"
+cat > ${CLFS}/etc/fstab << "EOF"
# Begin /etc/fstab
Index: boot/sparc/kernel.xml
===================================================================
--- boot/sparc/kernel.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/sparc/kernel.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -84,5 +84,5 @@
make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_MOD_PATH=${LFS} modules_install
+ INSTALL_MOD_PATH=${CLFS} modules_install
-cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;
+cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;
-make DESTDIR=${LFS} install
+make DESTDIR=${CLFS} install
Index: boot/sparc/silo.xml
===================================================================
--- boot/sparc/silo.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/sparc/silo.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -19,5 +19,5 @@
to what is in bootscripts.
-cat > ${LFS}/etc/silo.conf << "EOF"
+cat > ${CLFS}/etc/silo.conf << "EOF"
# Begin /etc/silo.conf
partition = 1 # Boot partition (= root partition)
@@ -25,5 +25,5 @@
timeout = 150 # Wait 15 seconds before booting the default section
-image = /boot/lfskernel-&linux-version;
+image = /boot/clfskernel-&linux-version;
label = linux
# End /etc/silo.conf
Index: boot/sparc/sysvinit.xml
===================================================================
--- boot/sparc/sysvinit.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/sparc/sysvinit.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -58,11 +58,11 @@
- ${LFS}/etc/inittab
+ ${CLFS}/etc/inittab
- Create a new file ${LFS}/etc/inittab by
+ Create a new file ${CLFS}/etc/inittab by
running the following:
-cat > ${LFS}/etc/inittab << "EOF"
+cat > ${CLFS}/etc/inittab << "EOF"
# Begin /etc/inittab
Index: boot/sparc64-64/flags.xml
===================================================================
--- boot/sparc64-64/flags.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/sparc64-64/flags.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -14,5 +14,5 @@
we boot-up they will be there:
-echo export BUILD64=\""${BUILD64}\"" >> ${LFS}/root/.bash_profile
+echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile
Index: boot/sparc64-64/silo-build.xml
===================================================================
--- boot/sparc64-64/silo-build.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/sparc64-64/silo-build.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -51,5 +51,5 @@
xpointer="xpointer(//*[@os='f'])"/>
-tar -xvf silo-loaders-&silo-version;.tar.gz -C ${LFS}
+tar -xvf silo-loaders-&silo-version;.tar.gz -C ${CLFS}
Index: boot/sparc64/flags.xml
===================================================================
--- boot/sparc64/flags.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/sparc64/flags.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -14,7 +14,7 @@
we boot-up they will be there:
-echo export BUILD32=\""${BUILD32}\"" >> ${LFS}/root/.bash_profile
-echo export BUILD64=\""${BUILD64}\"" >> ${LFS}/root/.bash_profile
-echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> ${LFS}/root/.bash_profile
+echo export BUILD32=\""${BUILD32}\"" >> ${CLFS}/root/.bash_profile
+echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile
+echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> ${CLFS}/root/.bash_profile
Index: boot/sparc64/kernel.xml
===================================================================
--- boot/sparc64/kernel.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/sparc64/kernel.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -85,5 +85,5 @@
xpointer="xpointer(//*[@os='s'])"/>
-make INSTALL_MOD_PATH=${LFS} ARCH=sparc64 \
+make INSTALL_MOD_PATH=${CLFS} ARCH=sparc64 \
CROSS_COMPILE=${CLFS_TARGET}- modules_install
@@ -96,5 +96,5 @@
xpointer="xpointer(//*[@os='v'])"/>
-cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;
+cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;
-make DESTDIR=${LFS} install
-mkdir -v ${LFS}/boot/grub
-cp -v ${LFS}/usr/lib/grub/i386-pc/stage{1,2} ${LFS}/boot/grub
+make DESTDIR=${CLFS} install
+mkdir -v ${CLFS}/boot/grub
+cp -v ${CLFS}/usr/lib/grub/i386-pc/stage{1,2} ${CLFS}/boot/grub
The i386-pc directory
@@ -62,5 +62,5 @@
ones for different file systems. Review the files available and copy
the appropriate ones to the ${LFS}/boot/grub directory. Most users will
+ class="directory">${CLFS}/boot/grub directory. Most users will
copy the e2fs_stage1_5 and/or
reiserfs_stage1_5 files.
Index: boot/x86/grub.xml
===================================================================
--- boot/x86/grub.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/x86/grub.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -24,6 +24,6 @@
xpointer="xpointer(//*[@os='c'])"/>
-dd if=${LFS}/boot/grub/stage1 of=/dev/fd0 bs=512 count=1
-dd if=${LFS}/boot/grub/stage2 of=/dev/fd0 bs=512 seek=1
+dd if=${CLFS}/boot/grub/stage1 of=/dev/fd0 bs=512 count=1
+dd if=${CLFS}/boot/grub/stage2 of=/dev/fd0 bs=512 seek=1
If all went well, GRUB will have reported finding its files
- in ${LFS}/boot/grub. That's
+ in ${CLFS}/boot/grub. That's
all there is to it. Quit the grub shell:
@@ -75,5 +75,5 @@
xpointer="xpointer(//*[@os='p'])"/>
-cat > ${LFS}/boot/grub/menu.lst << "EOF"
+cat > ${CLFS}/boot/grub/menu.lst << "EOF"
# Begin /boot/grub/menu.lst
@@ -90,5 +90,5 @@
title CLFS &version;
root (hd0,3)
-kernel /boot/lfskernel-&linux-version; root=/dev/hda4
+kernel /boot/clfskernel-&linux-version; root=/dev/hda4
EOF
@@ -97,5 +97,5 @@
xpointer="xpointer(//*[@os='q'])"/>
-cat >> ${LFS}/boot/grub/menu.lst << "EOF"
+cat >> ${CLFS}/boot/grub/menu.lst << "EOF"
title Red Hat
root (hd0,2)
Index: boot/x86/kernel.xml
===================================================================
--- boot/x86/kernel.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/x86/kernel.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -72,5 +72,5 @@
If the use of kernel modules can't be avoided, an
- ${LFS}/etc/modprobe.conf file may be needed.
+ ${CLFS}/etc/modprobe.conf file may be needed.
Information pertaining to modules and kernel configuration is
located in the kernel documentation in the make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_MOD_PATH=${LFS} modules_install
+ INSTALL_MOD_PATH=${CLFS} modules_install
After kernel compilation is complete, additional steps are
required to complete the installation. Some files need to be copied to
- the ${LFS}/boot directory.
+ the ${CLFS}/boot directory.
-cp -v arch/i386/boot/bzImage ${LFS}/boot/lfskernel-&linux-version;
+cp -v arch/i386/boot/bzImage ${CLFS}/boot/clfskernel-&linux-version;
-cp -v System.map ${LFS}/boot/System.map-&linux-version;
+cp -v System.map ${CLFS}/boot/System.map-&linux-version;
-cp -v .config ${LFS}/boot/config-&linux-version;
+cp -v .config ${CLFS}/boot/config-&linux-version;
Index: boot/x86_64-64/flags.xml
===================================================================
--- boot/x86_64-64/flags.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/x86_64-64/flags.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -14,5 +14,5 @@
we boot-up they will be there:
-echo export BUILD64=\""${BUILD64}\"" >> ${LFS}/root/.bash_profile
+echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile
Index: boot/x86_64-64/lilo.xml
===================================================================
--- boot/x86_64-64/lilo.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/x86_64-64/lilo.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -54,5 +54,5 @@
achieve this:
-keytab-lilo.pl uk >i${LFS}/boot/uk.ktl
+keytab-lilo.pl uk >i${CLFS}/boot/uk.ktl
The argument to the command is the name of the keymap, or if
@@ -62,5 +62,5 @@
The next step is to create /etc/lilo.conf
-cat > ${LFS}/etc/lilo.conf << "EOF"
+cat > ${CLFS}/etc/lilo.conf << "EOF"
# Begin /etc/lilo.conf
# lilo.conf
@@ -74,9 +74,9 @@
# set the name of the default image to boot
-default=lfs
+default=clfs
# define an image
-image=/boot/lfskernel
- label=lfs
+image=/boot/clfskernel
+ label=clfs
root=/dev/<partition>
read-only
Index: boot/x86_64/flags.xml
===================================================================
--- boot/x86_64/flags.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/x86_64/flags.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -14,7 +14,7 @@
we boot-up they will be there:
-echo export BUILD32=\""${BUILD32}\"" >> ${LFS}/root/.bash_profile
-echo export BUILD64=\""${BUILD64}\"" >> ${LFS}/root/.bash_profile
-echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> ${LFS}/root/.bash_profile
+echo export BUILD32=\""${BUILD32}\"" >> ${CLFS}/root/.bash_profile
+echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile
+echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> ${CLFS}/root/.bash_profile
Index: boot/x86_64/grub-build.xml
===================================================================
--- boot/x86_64/grub-build.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/x86_64/grub-build.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -46,7 +46,7 @@
xpointer="xpointer(//*[@os='f'])"/>
-make DESTDIR=${LFS} install
-mkdir -v ${LFS}/boot/grub
-cp -v ${LFS}/usr/lib/grub/x86_64-pc/stage{1,2} ${LFS}/boot/grub
+make DESTDIR=${CLFS} install
+mkdir -v ${CLFS}/boot/grub
+cp -v ${CLFS}/usr/lib/grub/x86_64-pc/stage{1,2} ${CLFS}/boot/grub
${LFS}/boot/grub directory. Most
+ class="directory">${CLFS}/boot/grub directory. Most
users will copy the e2fs_stage1_5 and/or
reiserfs_stage1_5 files.
Index: boot/x86_64/kernel.xml
===================================================================
--- boot/x86_64/kernel.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ boot/x86_64/kernel.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -88,5 +88,5 @@
make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_MOD_PATH=${LFS} modules_install
+ INSTALL_MOD_PATH=${CLFS} modules_install
-cp -v arch/x86_64/boot/bzImage ${LFS}/boot/lfskernel-&linux-version;
+cp -v arch/x86_64/boot/bzImage ${CLFS}/boot/clfskernel-&linux-version;
cat > /etc/aboot.conf << "EOF"
# Begin /etc/aboot.conf
-0:1/boot/lfskernel-&linux-version; root=/dev/sda1
+0:1/boot/clfskernel-&linux-version; root=/dev/sda1
# End /etc/aboot.conf
EOF
Index: bootable/alpha/kernel.xml
===================================================================
--- bootable/alpha/kernel.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ bootable/alpha/kernel.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -110,5 +110,5 @@
xpointer="xpointer(//*[@os='v'])"/>
-cp vmlinux /boot/lfskernel-&linux-version;
+cp vmlinux /boot/clfskernel-&linux-version;
-cp vmlinux /boot/lfskernel-&linux-version;
+cp vmlinux /boot/clfskernel-&linux-version;
device=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:
for the disk, and
- image=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:9,/boot/lfskernel-&linux-version;
+ image=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:9,/boot/clfskernel-&linux-version;
which definitely works.
@@ -111,5 +111,5 @@
# on which they are situated and can include at most one
# directory
-image=/boot/lfskernel-&linux-version;
+image=/boot/clfskernel-&linux-version;
label=&version;
read-only
Index: bootable/ppc64/kernel.xml
===================================================================
--- bootable/ppc64/kernel.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ bootable/ppc64/kernel.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -106,5 +106,5 @@
xpointer="xpointer(//*[@os='v'])"/>
-cp vmlinux /boot/lfskernel-&linux-version;
+cp vmlinux /boot/clfskernel-&linux-version;
-cp vmlinux /boot/lfskernel-&linux-version;
+cp vmlinux /boot/clfskernel-&linux-version;
Index: bootable/x86/grub.xml
===================================================================
--- bootable/x86/grub.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ bootable/x86/grub.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -104,5 +104,5 @@
title CLFS &version;
root (hd0,3)
-kernel /boot/lfskernel-&linux-version; root=/dev/hda4
+kernel /boot/clfskernel-&linux-version; root=/dev/hda4
EOF
Index: bootable/x86/kernel.xml
===================================================================
--- bootable/x86/kernel.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ bootable/x86/kernel.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -105,5 +105,5 @@
Issue the following command to install the kernel:
-cp arch/i386/boot/bzImage /boot/lfskernel-&linux-version;
+cp arch/i386/boot/bzImage /boot/clfskernel-&linux-version;
System.map is a symbol file for the kernel.
@@ -164,5 +164,5 @@
- config-[linux-version], lfskernel-[linux-version],
+ config-[linux-version], clfskernel-[linux-version],
and System.map-[linux-version]
@@ -184,6 +184,6 @@
-
- lfskernel-[linux-version]
+
+ clfskernel-[linux-version]
The engine of the Linux system. When turning on the
@@ -194,6 +194,6 @@
a multitasking machine capable of running scores of programs
seemingly at the same time.
-
- lfskernel-[linux-version]
+
+ clfskernel-[linux-version]
Index: bootable/x86_64-64/lilo.xml
===================================================================
--- bootable/x86_64-64/lilo.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ bootable/x86_64-64/lilo.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -60,5 +60,5 @@
whatever is appropriate for your keyboard.
- When the x86 LFS book used to include Lilo, it
+ When the x86 CLFS book used to include Lilo, it
advised against running it from chroot in case the MBR became
corrupted. Provided you have /proc mounted and have device special
@@ -82,9 +82,9 @@
# set the name of the default image to boot
-default=lfs
+default=clfs
# define an image
-image=/boot/lfskernel
- label=lfs
+image=/boot/clfskernel
+ label=clfs
root=/dev/<partition>
read-only
Index: bootable/x86_64/kernel.xml
===================================================================
--- bootable/x86_64/kernel.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ bootable/x86_64/kernel.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -106,5 +106,5 @@
xpointer="xpointer(//*[@os='v'])"/>
-cp arch/x86_64/boot/bzImage /boot/lfskernel-&linux-version;
+cp arch/x86_64/boot/bzImage /boot/clfskernel-&linux-version;
If for some reason you have to stop and come back later, remember
- to use the su - lfs command, and it will setup the
+ to use the su - clfs command, and it will setup the
build environment that you left.
@@ -22,5 +22,5 @@
Before issuing the build instructions for a package, the package
- should be unpacked as user lfs,
+ should be unpacked as user clfs,
and a cd into the created directory should be
performed. The build instructions assume that the bash
Index: general.ent
===================================================================
--- general.ent (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ general.ent (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -32,5 +32,5 @@
-
+
Index: introduction/common/askforhelp.xml
===================================================================
--- introduction/common/askforhelp.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ introduction/common/askforhelp.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -18,8 +18,5 @@
.
- If you cannot find your problem listed in the FAQ, search the mailing
- lists at .
-
- We also have a wonderful LFS community that is willing to offer
+ We also have a wonderful CLFS community that is willing to offer
assistance through the mailing lists and IRC (see the section of this book). However, we
@@ -47,4 +44,7 @@
+ The architecture of the target and host.
+
+
The package or section the problem was encountered in
@@ -59,5 +59,5 @@
Deviating from this book does not
- mean that we will not help you. After all, the LFS project is
+ mean that we will not help you. After all, the CLFS project is
about personal preference. Being upfront about any changes to
the established procedure helps us evaluate and determine
@@ -89,8 +89,8 @@
from the screen output from make:
-gcc -DALIASPATH=\"/mnt/lfs/usr/share/locale:.\"
--DLOCALEDIR=\"/mnt/lfs/usr/share/locale\"
--DLIBDIR=\"/mnt/lfs/usr/lib\"
--DINCLUDEDIR=\"/mnt/lfs/usr/include\" -DHAVE_CONFIG_H -I. -I.
+gcc -DALIASPATH=\"/mnt/clfs/usr/share/locale:.\"
+-DLOCALEDIR=\"/mnt/clfs/usr/share/locale\"
+-DLIBDIR=\"/mnt/clfs/usr/lib\"
+-DINCLUDEDIR=\"/mnt/clfs/usr/include\" -DHAVE_CONFIG_H -I. -I.
-g -O2 -c getopt1.c
gcc -g -O2 -static -o make ar.o arscan.o commands.o dir.o
@@ -99,11 +99,11 @@
default.o remote-stub.o version.o opt1.o
-lutil job.o: In function `load_too_high':
-/lfs/tmp/make-3.79.1/job.c:1565: undefined reference
+/clfs/tmp/make-3.79.1/job.c:1565: undefined reference
to `getloadavg'
collect2: ld returned 1 exit status
make[2]: *** [make] Error 1
-make[2]: Leaving directory `/lfs/tmp/make-3.79.1'
+make[2]: Leaving directory `/clfs/tmp/make-3.79.1'
make[1]: *** [all-recursive] Error 1
-make[1]: Leaving directory `/lfs/tmp/make-3.79.1'
+make[1]: Leaving directory `/clfs/tmp/make-3.79.1'
make: *** [all-recursive-am] Error 2
Index: introduction/common/resources.xml
===================================================================
--- introduction/common/resources.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ introduction/common/resources.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -24,14 +24,15 @@
Mailing Lists
- The linuxfromscratch.org server hosts a number of
- mailing lists used for the development of the LFS project. These lists
+ The cross-lfs.org server hosts a number of
+ mailing lists used for the development of the CLFS project. These lists
include the main development and support lists, among others. If the
- FAQ does not solve the problem you are having, the next step would be to
- search the mailing lists at .
+ FAQ does not contain your answer, you can search the CLFS lists via
+ The Mail Archive . You can
+ find the mail lists with the following link:
+
+
For information on the different lists, how to subscribe, archive
- locations, and additional information, visit
- . For mailing lists specifically
- for CLFS, visit .
+ locations, and additional information, visit .
@@ -40,7 +41,10 @@
News Server
- The Linux From Scratch News Server is no longer available.
- Please use the other support methods listed on this page
-
+ Cross-LFS does not maintain it's own News Server, but we do provide
+ access via gmane.org . If you want to subscribe
+ to the Cross-LFS via a newsreader you can utilize gmane.org.
+ You can find the game search for CLFS with the following link:
+
+
@@ -53,5 +57,5 @@
please make sure that your question is not already answered in the LFS
FAQ or the mailing list archives. You can find the IRC network at
- irc.linuxfromscratch.org. The support channel for cross-lfs is
+ chat.freenode.net. The support channel for cross-lfs is
named #cross-lfs. For support on the standard LFS the support channel
is named #lfs-support. If you need to show people the output of your
@@ -61,22 +65,11 @@
-
- References
-
- For additional information on the packages, useful tips are
- available in the LFS Package Reference page located at .
-
-
-
Mirror Sites
- The LFS project has a number of world-wide mirrors to make
+ The CLFS project has a number of world-wide mirrors to make
accessing the website and downloading the required packages more
- convenient. Please visit the LFS website at for a list of current mirrors of
- the LFS website, or for
- mirrors of CLFS.
+ convenient. Please visit the CLFS website at
+ for mirrors of CLFS.
@@ -85,6 +78,6 @@
Contact Information
- Please direct all your questions and comments to one of the LFS
- or CLFS mailing lists (see above).
+ Please direct all your questions and comments to the
+ CLFS mailing lists (see above).
Index: materials/common/introduction.xml
===================================================================
--- materials/common/introduction.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ materials/common/introduction.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -25,5 +25,5 @@
most packages. If this search is unsuccessful, try one of the
alternative means of downloading discussed at .
+ url="&cfs-root;wiki/download"/>.
Downloaded packages and patches will need to be stored somewhere
Index: temp-system/common/introduction.xml
===================================================================
--- temp-system/common/introduction.xml (revision b18d234619cbbdb4fd280f6d19029b836430dda6)
+++ temp-system/common/introduction.xml (revision f1fd69a6a413b21d8cfc438c183968fe1a1ffd8a)
@@ -25,5 +25,5 @@
pollute the soon-to-be CLFS system.
- Check one last time that the LFS environment
+ Check one last time that the CLFS environment
variable is set up properly:
@@ -31,5 +31,5 @@
Make sure the output shows the path to the CLFS partition's mount
- point, which is /mnt/lfs, using
+ point, which is /mnt/clfs, using
our example.