Ignore:
Timestamp:
05/31/2020 05:33:35 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
0e9723a
Parents:
5a430f1
Message:

Fixes for bash tests

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11881 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/createfiles.xml

    r5a430f1 ra3260cbb  
    4040  software has been installed:</para>
    4141
    42 <screen><userinput>ln -sv /tools/bin/{bash,cat,chmod,dd,echo,ln,mkdir,pwd,rm,stty,touch} /bin
     42<screen><userinput>ln -sv /tools/bin/{bash,cat,chmod,dd,echo,false,ln,ls,mkdir,pwd,rm,stty,touch} /bin
    4343ln -sv /tools/bin/{env,install,perl,printf}         /usr/bin
    4444ln -sv /tools/lib/libgcc_s.so{,.1}                  /usr/lib
     
    335335  user here and delete this account at the end of the chapter.</para>
    336336
    337 <screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
     337<screen><userinput>echo "tester:x:$(ls -n $(tty) | cut -d" " -f3):101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
    338338echo "tester:x:101:" &gt;&gt; /etc/group
    339339install -o tester -d /home/tester</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.