r118 - in trunk/text: chapter01 chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Fri Jan 21 07:55:53 PST 2005


Author: robert
Date: 2005-01-21 08:55:53 -0700 (Fri, 21 Jan 2005)
New Revision: 118

Modified:
   trunk/text/chapter01/changelog.txt
   trunk/text/chapter06/07-devices.txt
   trunk/text/chapter06/16-mktemp.txt
Log:
Use /dev/erandom for mktemp

Modified: trunk/text/chapter01/changelog.txt
===================================================================
--- trunk/text/chapter01/changelog.txt	2005-01-21 13:38:41 UTC (rev 117)
+++ trunk/text/chapter01/changelog.txt	2005-01-21 15:55:53 UTC (rev 118)
@@ -115,5 +115,5 @@
 
 January 21st, 2005 [Robert]
 Added rdate to chapter 9, and bootscripts. Using ldflags=-pie works better
-than cflags in chap6 gcc.
+than cflags in chap6 gcc. Added with-random=erandom to mktemp's configure.
 

Modified: trunk/text/chapter06/07-devices.txt
===================================================================
--- trunk/text/chapter06/07-devices.txt	2005-01-21 13:38:41 UTC (rev 117)
+++ trunk/text/chapter06/07-devices.txt	2005-01-21 15:55:53 UTC (rev 118)
@@ -13,6 +13,7 @@
 mknod -m 666 /dev/tty c 5 0 &&
 mknod -m 444 /dev/random c 1 8 &&
 mknod -m 444 /dev/urandom c 1 9 &&
+mknod /dev/erandom c 235 12 &&
 chown root:tty /dev/{console,ptmx,tty} &&
 ln -s /proc/self/fd /dev/fd &&
 ln -s /proc/self/fd/0 /dev/stdin &&

Modified: trunk/text/chapter06/16-mktemp.txt
===================================================================
--- trunk/text/chapter06/16-mktemp.txt	2005-01-21 13:38:41 UTC (rev 117)
+++ trunk/text/chapter06/16-mktemp.txt	2005-01-21 15:55:53 UTC (rev 118)
@@ -1,8 +1,10 @@
 - Chapter 6 - Installing Mktemp 1.5
 
+# Use /dev/erandom as for the random device.
+
 patch -Np1 -i ../mktemp-1.5-add_tempfile-1.patch &&
 ./configure --prefix=/usr --with-libc \
-	${disable_nls} &&
+	--with-random=/dev/erandom ${disable_nls} &&
 make &&
 make install &&
 make install-tempfile




More information about the hlfs-dev mailing list