diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 9508a038f..f3c88ed4e 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -100,6 +100,11 @@ $LFS/usr/bin/cpp. Chapter 5+6: Moved Glibc from chapter 5 to chapter 6. + +Chapter 5+6: Put back the instructions on how to copy/remove the old NSS library +files, in case the original distribution uses glibc-2.0.x. + + Chapter 6: Changed libexecdir=/usr/bin in fileutils to libexecdir=/bin. diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml index 702298bd6..21dee4955 100644 --- a/chapter05/chapter05.xml +++ b/chapter05/chapter05.xml @@ -21,6 +21,7 @@ &c5-texinfo; &c5-gettext; &c5-pwdgroup; +&c5-oldnsslib; &c5-proc; diff --git a/chapter05/oldnsslib.xml b/chapter05/oldnsslib.xml new file mode 100644 index 000000000..b56a97906 --- /dev/null +++ b/chapter05/oldnsslib.xml @@ -0,0 +1,31 @@ + +Copying old NSS library files + + +If your normal Linux system runs glibc-2.0, you need to copy the NSS library +files to the LFS partition. Certain statically linked programs still depend +on the NSS library, especially programs that need to lookup usernames,userid's +and groupid's. You can check which C library version your normal Linux system +uses by simply executing the library, like this: + + +
+ + /lib/libc.so.6 + +
+ + +The first line will give you the release version. Following lines contain +interesting information. If you have Glibc-2.0.x installed on your starting +distribution, copy the NSS library files by running: + + +
+ + cp -av /lib/libnss* $LFS/lib + +
+ +
+ diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 0ec5255ff..cf197bd06 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -54,7 +54,7 @@ &c6-tar; &c6-textutils; &c6-utillinux; - +&c6-removeoldnss; &c6-configure; diff --git a/chapter06/removeoldnss.xml b/chapter06/removeoldnss.xml new file mode 100644 index 000000000..71c689997 --- /dev/null +++ b/chapter06/removeoldnss.xml @@ -0,0 +1,17 @@ + +Removing old NSS library files + + +If you have copied the NSS Library files from the normal Linux system to the +LFS system (because the normal system runs glibc-2.0) it's time to remove +them now by running: + + +
+ + rm /lib/libnss*.so.1 /lib/libnss*2.0* + +
+ +
+ diff --git a/index.xml b/index.xml index 3bba8dcca..d4ced002b 100644 --- a/index.xml +++ b/index.xml @@ -4,8 +4,8 @@ - - + + @@ -179,6 +179,7 @@ + @@ -293,6 +294,7 @@ +