MENGUAL Jean-Philippe wrote: > Hi, > > I may be wrong, but this commit introduces a mistake chapter 6, in > kernfs.xml. The last command keeps a fi, whereas there's no longer if. > So I think it results an error.
>> Modified: trunk/BOOK/chapter06/kernfs.xml >> ============================================================================== >> --- trunk/BOOK/chapter06/kernfs.xml Fri Jan 17 14:39:02 2014 (r10446) >> +++ trunk/BOOK/chapter06/kernfs.xml Sun Jan 19 17:18:30 2014 (r10447) >> <screen><userinput>if [ -h $LFS/dev/shm ]; then ^^ >> - link=$(readlink $LFS/dev/shm) >> - mkdir -pv $LFS/$link >> - mount -vt tmpfs shm $LFS/$link >> - unset link >> -else >> - mount -vt tmpfs shm $LFS/dev/shm >> + mkdir -pv $LFS/$(readlink $LFS/dev/shm) >> fi</userinput></screen> The if is still there. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page