Changeset 5e6f8f2 for BOOK/final-system/common
- Timestamp:
- Jul 8, 2009, 1:17:56 PM (15 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 2886713
- Parents:
- b26d64d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/coreutils.xml
rb26d64d r5e6f8f2 62 62 <screen os="k"><userinput>make NON_ROOT_USERNAME=dummy check-root</userinput></screen> 63 63 64 <para os="l">Then run the remainder of the tests as the 64 <para os="l">The testsuite will now be run as the 65 <systemitem class="username">dummy</systemitem> user. Fix the permissions 66 for a few files to allow this:</para> 67 68 <screen os="m"><userinput>chown -Rv dummy config.log {gnulib-tests,lib,src}/.deps</userinput></screen> 69 70 <para os="n">Then run the remainder of the tests as the 65 71 <systemitem class="username">dummy</systemitem> user:</para> 66 72 67 <screen os=" m"><userinput>src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>68 69 <para os=" n">When testing is complete, remove the73 <screen os="o"><userinput>src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> 74 75 <para os="p">When testing is complete, remove the 70 76 <systemitem class="username">dummy</systemitem> user and groups:</para> 71 77 72 <screen os=" o"><userinput>sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen>73 74 <para os=" p">Install the package:</para>75 76 <screen os=" q"><userinput>make install</userinput></screen>77 78 <para os=" r">Move programs to the locations specified by the FHS:</para>79 80 <screen os=" s"><userinput>mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date} /bin78 <screen os="q"><userinput>sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen> 79 80 <para os="r">Install the package:</para> 81 82 <screen os="s"><userinput>make install</userinput></screen> 83 84 <para os="t">Move programs to the locations specified by the FHS:</para> 85 86 <screen os="u"><userinput>mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date} /bin 81 87 mv -v /usr/bin/{dd,df,echo,false,hostname,ln,ls,mkdir,mknod} /bin 82 88 mv -v /usr/bin/{mv,pwd,rm,rmdir,stty,true,uname} /bin 83 89 mv -v /usr/bin/chroot /usr/sbin</userinput></screen> 84 90 85 <para os=" t">Other Coreutils programs are used by some of the scripts91 <para os="v">Other Coreutils programs are used by some of the scripts 86 92 in the CLFS-Bootscripts package. As <filename 87 93 class="directory">/usr</filename> may not be available during the early 88 94 stages of booting, those binaries need to be on the root partition:</para> 89 95 90 <screen os=" u"><userinput>mv -v /usr/bin/{[,basename,head,install,nice} /bin96 <screen os="w"><userinput>mv -v /usr/bin/{[,basename,head,install,nice} /bin 91 97 mv -v /usr/bin/{readlink,sleep,sync,test,touch} /bin 92 98 ln -svf ../../bin/install /usr/bin</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.