Changeset 5e6f8f2 for BOOK/final-system


Ignore:
Timestamp:
Jul 8, 2009, 1:17:56 PM (15 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
2886713
Parents:
b26d64d
Message:

Fixed permissions problem in Coreutils testsuite

Location:
BOOK/final-system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/coreutils.xml

    rb26d64d r5e6f8f2  
    6262<screen os="k"><userinput>make NON_ROOT_USERNAME=dummy check-root</userinput></screen>
    6363
    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
    6571    <systemitem class="username">dummy</systemitem> user:</para>
    6672
    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 the
     73<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
    7076    <systemitem class="username">dummy</systemitem> user and groups:</para>
    7177
    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} /bin
     78<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
    8187mv -v /usr/bin/{dd,df,echo,false,hostname,ln,ls,mkdir,mknod} /bin
    8288mv -v /usr/bin/{mv,pwd,rm,rmdir,stty,true,uname} /bin
    8389mv -v /usr/bin/chroot /usr/sbin</userinput></screen>
    8490
    85     <para os="t">Other Coreutils programs are used by some of the scripts
     91    <para os="v">Other Coreutils programs are used by some of the scripts
    8692    in the CLFS-Bootscripts package. As <filename
    8793    class="directory">/usr</filename> may not be available during the early
    8894    stages of booting, those binaries need to be on the root partition:</para>
    8995
    90 <screen os="u"><userinput>mv -v /usr/bin/{[,basename,head,install,nice} /bin
     96<screen os="w"><userinput>mv -v /usr/bin/{[,basename,head,install,nice} /bin
    9197mv -v /usr/bin/{readlink,sleep,sync,test,touch} /bin
    9298ln -svf ../../bin/install /usr/bin</userinput></screen>
  • BOOK/final-system/multilib/coreutils.xml

    rb26d64d r5e6f8f2  
    106106    xpointer="xpointer(//*[@os='u'])"/>
    107107
     108    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     109    href="../common/coreutils.xml"
     110    xpointer="xpointer(//*[@os='v'])"/>
     111
     112    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     113    href="../common/coreutils.xml"
     114    xpointer="xpointer(//*[@os='w'])"/>
     115
    108116  </sect2>
    109117
Note: See TracChangeset for help on using the changeset viewer.