diff options
-rw-r--r-- | chapter06/e2fsprogs.xml | 9 | ||||
-rw-r--r-- | chapter06/readline.xml | 3 | ||||
-rw-r--r-- | lfs-latest.php | 2 | ||||
-rw-r--r-- | packages.ent | 6 |
4 files changed, 9 insertions, 11 deletions
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index f95317273..f127be40e 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -52,10 +52,7 @@ cd build</userinput></screen> <para>Prepare E2fsprogs for compilation:</para> -<screen><userinput remap="configure">LIBS=-L/tools/lib \ -CFLAGS=-I/tools/include \ -PKG_CONFIG_PATH=/tools/lib/pkgconfig \ -../configure --prefix=/usr \ +<screen><userinput remap="configure">../configure --prefix=/usr \ --bindir=/bin \ --with-root-prefix="" \ --enable-elf-shlibs \ @@ -66,7 +63,7 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \ <variablelist> <title>The meaning of the environment variable and configure options:</title> - +<!-- <varlistentry> <term><parameter>PKG_CONFIG_PATH, LIBS, CFLAGS</parameter></term> <listitem> @@ -74,7 +71,7 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \ <xref linkend="ch-tools-util-linux"/> package built earlier.</para> </listitem> </varlistentry> - +--> <varlistentry> <term><parameter>--with-root-prefix=""</parameter> and <parameter>--bindir=/bin</parameter></term> diff --git a/chapter06/readline.xml b/chapter06/readline.xml index da1eb34a7..93abec7ea 100644 --- a/chapter06/readline.xml +++ b/chapter06/readline.xml @@ -79,9 +79,10 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen> <screen><userinput remap="install">make SHLIB_LIBS="-L/tools/lib -lncurses" install</userinput></screen> <para>Now move the dynamic libraries to a more appropriate location - and fix up some symbolic links:</para> + and fix up some permissions and symbolic links:</para> <screen><userinput remap="install">mv -v /usr/lib/lib{readline,history}.so.* /lib +chmod -v u+w /lib/lib{readline,history}.so.* ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) /usr/lib/libreadline.so ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so</userinput></screen> diff --git a/lfs-latest.php b/lfs-latest.php index a3200f79e..78244fc51 100644 --- a/lfs-latest.php +++ b/lfs-latest.php @@ -234,7 +234,7 @@ if ( $package == "vim" ) $dirpath = "ftp://ftp.vim.org/pub/vim/unix"; if ( $package == "attr" || $package == "acl" ) { - return find_max( $lines, "/$package/", "/^.*$package-([\d\.-]*\d)\.*$/" ); + return find_max( $lines, "/$package/", "/^.*$package-([\d\.-]*\d).tar.*$/" ); } if ( $package == "e2fsprogs" ) diff --git a/packages.ent b/packages.ent index fc19679dd..dd68e76dd 100644 --- a/packages.ent +++ b/packages.ent @@ -416,12 +416,12 @@ <!ENTITY linux-major-version "4"> <!ENTITY linux-minor-version "17"> -<!ENTITY linux-patch-version "2"> +<!ENTITY linux-patch-version "3"> <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;"> --> <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> -<!ENTITY linux-size "99,773 KB"> +<!ENTITY linux-size "99,783 KB"> <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> -<!ENTITY linux-md5 "dfe836c521c754a3f54f5f535f2ea588"> +<!ENTITY linux-md5 "a5899b46a3d146c65bc2ba724db2f4ca"> <!ENTITY linux-home "https://www.kernel.org/"> <!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is allnoconfig extended for a hopefully-bootable build on desktop machine, |