Changeset 08c1cb1 in clfs-embedded for BOOK/final-system/common/creatingfiles.xml


Ignore:
Timestamp:
Oct 15, 2013, 1:00:05 PM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
d00bc36
Parents:
ed5e88d
git-author:
Andrew Bradford <andrew@…> (10/14/13 11:27:19)
git-committer:
Andrew Bradford <andrew@…> (10/15/13 13:00:05)
Message:

creatingdirs: Create target in ${CLFS}/targetfs/

This will separate the target from the toolchain.
Next we'll copy all the shared libs over to the target's /lib from the
toolchain's sysroot.

File:
1 edited

Legend:

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

    red5e88d r08c1cb1  
    3939  is designed, we will be using a symlink to <filename>/proc/mounts</filename>:</para>
    4040
    41 <screen><userinput>ln -svf ../proc/mounts ${CLFS}/etc/mtab</userinput></screen>
     41<screen><userinput>ln -svf ../proc/mounts ${CLFS}/targetfs/etc/mtab</userinput></screen>
    4242 
    4343  <para>In order for user <systemitem class="username">root</systemitem> to be
     
    4949  command:</para>
    5050
    51 <screen><userinput>cat &gt; ${CLFS}/etc/passwd &lt;&lt; "EOF"
     51<screen><userinput>cat &gt; ${CLFS}/targetfs/etc/passwd &lt;&lt; "EOF"
    5252<literal>root::0:0:root:/root:/bin/ash</literal>
    5353EOF</userinput></screen>
     
    127127  command:</para>
    128128
    129 <screen><userinput>cat &gt; ${CLFS}/etc/group &lt;&lt; "EOF"
     129<screen><userinput>cat &gt; ${CLFS}/targetfs/etc/group &lt;&lt; "EOF"
    130130<literal>root:x:0:
    131131bin:x:1:
     
    225225  proper permissions:</para>
    226226
    227 <screen><userinput>touch ${CLFS}/var/run/utmp ${CLFS}/var/log/{btmp,lastlog,wtmp}
    228 chmod -v 664 ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog</userinput></screen>
     227<screen><userinput>touch ${CLFS}/targetfs/var/run/utmp ${CLFS}/targetfs/var/log/{btmp,lastlog,wtmp}
     228chmod -v 664 ${CLFS}/targetfs/var/run/utmp ${CLFS}/targetfs/var/log/lastlog</userinput></screen>
    229229
    230230  <para>The <filename>/var/run/utmp</filename> file records the users
Note: See TracChangeset for help on using the changeset viewer.