On 31/12/2018 12:27, Thomas Seeling wrote: > Hallo, > > > I've been entertaining myself by building LFS 8.3 over the weekend. > Originally I wanted to measure the difference between an old Samsung SATA > drive and a more recent SSD on an i5-6500 with 8 GB RAM but it turned out to > be more of an jhalfs adventure ;) > > I'm using jhalfs from svn, not the 2.4 release which did not work for me in > previous tries. > > On all occasions the makefile stopped after 146-revisedchroot with the sudo > usage message. > > Target 146-revisedchroot OK > -------------------------------------------------------------------------------- > -------------------------------------------------------------------------------- > mk_BOOT > You are going to CHROOT into /mnt/lfs lfs > a password is required > usage: sudo -h | -K | -k | -V > > It turns out that the CHROOT2 definition is missing from the generated > Makefile. After I added that (basically CHROOT1 without /tools) I could > continue.
Looks like a bug, but I've just tried generating a Makefile from LFS-8.3, and CHROOT2 is defined... I guess it is a certain mix of options, which triggers the bug. Can you send me the "configuration" file you have used? > > Next thing I noticed: if I have a common /boot partition where kernel and > config file from a previous build (or from parallel installations) exist the > "cp -iv" in 158-kernel effectively sends the machine to an infinite loop. It > waits for confirmation to overwrite (-i) but there's no possibility to do that > in a headless process. > > Generally since interactive commands do not go well together with makefile > automation I suggest the script template removes -i from cp, mv and similar > commands. For the same reason rm should always include -f in automated scripts > in case something happens to be readonly. Normally, the instructions in the book should be compatible with scripting (unless I've missed something). Bruce, shouldn't we remove those "-i" flags? For the "rm" instructions, I'd suggest not adding -f, because usually, rm is used to remove either just installed files or unwanted files. If those files are readonly, it means there is another issue. > > Apart from that I'm quite happy with jhalfs. Thanks! > Thanks and have a happy new year. > Same to you and everybody on this list. Pierre -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style