r128 - in trunk/text: chapter01 chapter03 chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Thu Jan 27 03:07:51 PST 2005


Author: robert
Date: 2005-01-27 04:07:49 -0700 (Thu, 27 Jan 2005)
New Revision: 128

Added:
   trunk/text/chapter06/61-stripping.txt
   trunk/text/chapter06/62-revisedchroot.txt
Removed:
   trunk/text/chapter06/60-stripping.txt
   trunk/text/chapter06/61-revisedchroot.txt
Modified:
   trunk/text/chapter01/changelog.txt
   trunk/text/chapter03/packages.txt
Log:
Added paxctl

Modified: trunk/text/chapter01/changelog.txt
===================================================================
--- trunk/text/chapter01/changelog.txt	2005-01-27 01:01:35 UTC (rev 127)
+++ trunk/text/chapter01/changelog.txt	2005-01-27 11:07:49 UTC (rev 128)
@@ -30,3 +30,7 @@
 /sbin/nologin for a shell. Added patches for coreutils and module-init-utils
 so they can build without static libs.
 
+January 27th, 2005 [Robert]
+Added paxctl to chapter 6; grub and localedef need this to be able to run
+under the PaX kernel.
+

Modified: trunk/text/chapter03/packages.txt
===================================================================
--- trunk/text/chapter03/packages.txt	2005-01-27 01:01:35 UTC (rev 127)
+++ trunk/text/chapter03/packages.txt	2005-01-27 11:07:49 UTC (rev 128)
@@ -56,6 +56,7 @@
 ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-050.tar.bz2
 http://downloads.linuxfromscratch.org/udev-config-2.permissions
 http://downloads.linuxfromscratch.org/udev-config-1.rules
+http://pax.grsecurity.net/paxctl-0.2.tar.gz
 http://www.linuxfromscratch.org/~nathan/lfs-bootscripts/lfs-bootscripts-3.1.0.tar.bz2
 http://www.linuxfromscratch.org/blfs/downloads/svn/blfs-bootscripts-20041227.tar.bz2
 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.10.tar.bz2

Deleted: trunk/text/chapter06/60-stripping.txt
===================================================================
--- trunk/text/chapter06/60-stripping.txt	2005-01-27 01:01:35 UTC (rev 127)
+++ trunk/text/chapter06/60-stripping.txt	2005-01-27 11:07:49 UTC (rev 128)
@@ -1,34 +0,0 @@
-- Chapter 6 - Stripping
-
-# First log out.
-
-logout
-
-# Change-root back in using /tools/bin/bash as the shell.
-
-chroot $LFS /tools/bin/env -i \
-	HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
-	PATH=/bin:/usr/bin:/sbin:/usr/sbin \
-	/tools/bin/bash --login
-
-# Strip the libraries. Remember, stripping unneeded or all from libraries
-# will destroy them.
-
-/tools/bin/find /{,usr}/lib -type f \
-	-exec /tools/bin/strip --strip-debug '{}' ';'
-
-# Then strip the programs.
-
-/tools/bin/strip --strip-all /{,usr/}{bin,sbin}/*
-
-# A couple GCC programs are located in /usr/lib, they can be fully stripped.
-# Only one of these commands will work depending on which Libc you installed.
-
-/tools/bin/strip --strip-all \
-	/usr/lib/gcc/$(uname -m)-pc-linux-gnu/3.4.3/{cc1*,collect2}
-
-# Or
-
-/tools/bin/strip --strip-all \
-        /usr/lib/gcc/$(uname -m)-pc-linux-uclibc/3.4.3/{cc1*,collect2}
-

Deleted: trunk/text/chapter06/61-revisedchroot.txt
===================================================================
--- trunk/text/chapter06/61-revisedchroot.txt	2005-01-27 01:01:35 UTC (rev 127)
+++ trunk/text/chapter06/61-revisedchroot.txt	2005-01-27 11:07:49 UTC (rev 128)
@@ -1,13 +0,0 @@
-- Chapter 6 - Revised Chroot
-
-# Log out from the previous chroot used for stripping.
-
-logout
-
-# Then change-root back in.
-
-chroot "$LFS" /usr/bin/env -i \
-	HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
-	PATH=/bin:/usr/bin:/sbin:/usr/sbin \
-	/bin/bash --login
-

Copied: trunk/text/chapter06/61-stripping.txt (from rev 127, trunk/text/chapter06/60-stripping.txt)

Copied: trunk/text/chapter06/62-revisedchroot.txt (from rev 127, trunk/text/chapter06/61-revisedchroot.txt)




More information about the hlfs-dev mailing list