buildscripts update (surprise surprise :-) ) (2.2.6)

Erik-Jan ej.lfs at xs4all.nl
Sun Apr 6 17:01:40 PDT 2003


Ryan.Oliver at pha.com.au wrote:
> As usual, abuse/changes/patches always welcome

Hi there,

Last one for tonight:
ch6 e2fsprogs make check needs 'more' (or another pager) for one test.
I've found two solutions:

- make a symlink from more to less: ln -sf less ${LFS}/bin/more
It works, but it's a bit hacky

- build more in ch5. It's part of util-linux, and it is build with
commands similar to the ones for mount/umount:
make -C text-utils LDFLAGS=-static more
cp text-utils/more /stage1/bin

I've attached a patch for build-ch5-2.2.6.sh to use the second method.

Bye
Erik-Jan
-------------- next part --------------
--- build-ch5-2.2.6.sh.orig	2003-04-06 16:43:46.000000000 +0000
+++ build-ch5-2.2.6.sh	2003-04-06 23:39:08.000000000 +0000
@@ -1611,7 +1714,12 @@
 make -C mount LDFLAGS=-static mount umount \
       >> ${LOGFILE} 2>&1 &&
 echo " o Build mount/umount - OK" &&
-cp mount/{mount,umount} /stage1/bin
+cp mount/{mount,umount} /stage1/bin &&
+
+make -C text-utils LDFLAGS=-static more \
+      >> ${LOGFILE} 2>&1 &&
+echo " o Build more - OK" &&
+cp text-utils/more /stage1/bin
 
 #
 # Perl (reqd by glibc)


More information about the lfs-dev mailing list