aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nichilson <dnicholson@linuxfromscratch.org>2006-08-01 07:13:27 +0000
committerDan Nichilson <dnicholson@linuxfromscratch.org>2006-08-01 07:13:27 +0000
commit0ef66b34aabfdb3730ea2b966da75380fd8f8aef (patch)
treee3fb691c9a3a11f6da8bdf6db815cc54803ee917
parent11bc6d562fad951d5a14e6374b2355983ee9282a (diff)
Finished adding system inotify support in linux-libc-headers and glibc.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.2/BOOK@7738 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml12
-rw-r--r--chapter03/patches.xml8
-rw-r--r--chapter06/glibc.xml12
-rw-r--r--chapter06/linux-libc-headers.xml4
-rw-r--r--general.ent2
-rw-r--r--patches.ent10
6 files changed, 41 insertions, 7 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 1060c9e81..7010e30ed 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -37,6 +37,18 @@
-->
<listitem>
+ <para>August 1, 2006</para>
+ <itemizedlist>
+ <listitem>
+ <para>[dnicholson] - Finished adding system inotify support.
+ Split the patch so that the syscall functions are part of the
+ Glibc installation. Thanks to Alexander Patrakov for supplying
+ the proper syscall bits.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>July 31, 2006</para>
<itemizedlist>
<listitem>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 847450c42..6ead6e286 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -115,6 +115,14 @@
</varlistentry>
<varlistentry>
+ <term>Glibc Inotify Syscall Functions Patch - <token>&glibc-inotify-patch-size;</token>:</term>
+ <listitem>
+ <para>Download: <ulink url="&patches-root;&glibc-inotify-patch;"/></para>
+ <para>MD5 sum: <literal>&glibc-inotify-patch-md5;</literal></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>Grep RedHat Fixes Patch - <token>&grep-fixes-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&grep-fixes-patch;"/></para>
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 798b4cf4b..3809e0918 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -69,6 +69,11 @@
<screen><userinput>patch -Np1 -i ../&glibc-linux_types-patch;</userinput></screen>
+ <para>Add a header to define syscall functions for the inotify feature
+ available in newer Linux kernels:</para>
+
+<screen><userinput>patch -Np1 -i ../&glibc-inotify-patch;</userinput></screen>
+
<para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
at startup. It is unknown whether this is a <command>bash</command> bug or a
Glibc problem. Disable installation of this locale in order to avoid the
@@ -169,9 +174,14 @@ grep Error glibc-check-log</userinput></screen>
<screen><userinput>make install</userinput></screen>
+ <para>Install the inotify header to the system header location:</para>
+
+<screen><userinput>cp -v ../glibc-&glibc-version;/sysdeps/unix/sysv/linux/inotify.h \
+ /usr/include/sys</userinput></screen>
+
<para>The locales that can make the system respond in a different language
were not installed by the above command. None of the locales are required,
- but, if some of them are misssing, testuites of the future packages would
+ but if some of them are missing, testsuites of the future packages would
skip important testcases.</para>
<para>Individual locales can be installed using the
diff --git a/chapter06/linux-libc-headers.xml b/chapter06/linux-libc-headers.xml
index 13e91dcf4..e1fed38f6 100644
--- a/chapter06/linux-libc-headers.xml
+++ b/chapter06/linux-libc-headers.xml
@@ -43,8 +43,8 @@
which was designed to maintain an API stable version of the Linux
headers.</para>
- <para>Add a header that can be used by some applications to add additional
- functionality:</para>
+ <para>Add a userspace header and syscall support for the inotify feature
+ available in newer Linux kernels:</para>
<screen><userinput>patch -Np1 -i ../&linux-inotify-patch;</userinput></screen>
diff --git a/general.ent b/general.ent
index 2ba2eef85..4801b32d8 100644
--- a/general.ent
+++ b/general.ent
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!ENTITY version "6.2-pre3">
-<!ENTITY releasedate "July 30, 2006">
+<!ENTITY releasedate "August 1, 2006">
<!ENTITY milestone "6.2">
<!ENTITY generic-version "6.2"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
diff --git a/patches.ent b/patches.ent
index 60f456e59..d68fee701 100644
--- a/patches.ent
+++ b/patches.ent
@@ -56,6 +56,10 @@
<!ENTITY glibc-linux_types-patch-md5 "30ea59ae747478aa9315455543b5bb43">
<!ENTITY glibc-linux_types-patch-size "1.1 KB">
+<!ENTITY glibc-inotify-patch "glibc-&glibc-version;-inotify-1.patch">
+<!ENTITY glibc-inotify-patch-md5 "7f2d849d28c413033dd2a1e739e9ae3c">
+<!ENTITY glibc-inotify-patch-size "1.4 KB">
+
<!ENTITY grep-fixes-patch "grep-&grep-version;-redhat_fixes-2.patch">
<!ENTITY grep-fixes-patch-md5 "2c67910be2d0a54714f63ce350e6d8a6">
@@ -98,9 +102,9 @@
<!ENTITY linux-utf8-patch-md5 "d67b53e1e99c782bd28d879e11ee16c3">
<!ENTITY linux-utf8-patch-size "11 KB">
-<!ENTITY linux-inotify-patch "linux-libc-headers-2.6.12.0-inotify-2.patch">
-<!ENTITY linux-inotify-patch-md5 "e6976f61b7d74b7f714830ee0ac47bcd">
-<!ENTITY linux-inotify-patch-size "5.7 KB">
+<!ENTITY linux-inotify-patch "linux-libc-headers-&linux-libc-headers-version;-inotify-3.patch">
+<!ENTITY linux-inotify-patch-md5 "8fd71a4bd3344380bd16caf2c430fa9b">
+<!ENTITY linux-inotify-patch-size "4.7 KB">
<!ENTITY mktemp-tempfile-patch "mktemp-&mktemp-version;-add_tempfile-3.patch">