# HG changeset patch # User Rob Landley # Date 1290373324 21600 # Node ID 224ccf437f5caa6d339b2bc81380d7e18d7fc492 # Parent 049dc1f591130ce3692a0e5443941686131d370f The LFS iproute2 build gets confused because "find -type f" in a directory created with "cp -s" skips symlinks and thus never finds anything. Use sed to add a -L to all those find invocations, to follow symlinks. diff -r 049dc1f59113 -r 224ccf437f5c sources/control-images/lfs-bootstrap/mnt/build/iproute2.sh --- a/sources/control-images/lfs-bootstrap/mnt/build/iproute2.sh Sun Nov 21 14:23:30 2010 -0600 +++ b/sources/control-images/lfs-bootstrap/mnt/build/iproute2.sh Sun Nov 21 15:02:04 2010 -0600 @@ -6,6 +6,9 @@ # bugfix, why this isn't a patch I have no idea. sed -i '1289i\\tfilter.cloned = 2;' ip/iproute.c && +# Don't be confused by symlinks +sed -i 's/ find / find -L /g' Makefile && + make DESTDIR= -j $CPUS && make DESTDIR= SBINDIR=/sbin MANDIR=/usr/share/man \ DOCDIR=/usr/share/doc/iproute2 install