On 2019-09-23 10:30 -0500, Bruce Dubbs via lfs-dev wrote: > On 9/23/19 9:24 AM, John Burrell via lfs-dev wrote: > > I haven't noticed this before but linux-5.3.1 uses rsync to transfer > > the files in the command > > > > make INSTALL_HDR_PATH=dest headers_install > > > > This is okay in chap. 5 if rsync is on the host but it doesn't work in > > chap. 6 as rsync is not in /tools. > > I see that. I suppose we could try to build rsync early in Chapter 5 only. > > ./configure --disable-acl-support \ > --disable-xattr-support \ > --with-included-popt > make > cp rsync /tools/bin > > $ ldd ./rsync > linux-vdso.so.1 (0x00007fffaa7c2000) > libc.so.6 => /lib/libc.so.6 (0x00007ff50ffc3000) > /lib64/ld-linux-x86-64.so.2 (0x00007ff5101b6000) > > This is the first time I've looked at the 5.3 kernel. Not tested other > than the above thru make. > > -- Bruce
I propose: make headers mkdir dest cp -rv usr/include dest/include find dest/include \( -name .install -o -name ..install.cmd \) -delete cp -rv dest/include/* /usr/include I don't like a rsync in LFS (I never use this thing :). -- Xi Ruoyao <xry...@mengyan1223.wang> School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page