mirror of
https://github.com/cross-lfs/clfs-embedded.git
synced 2025-07-29 12:11:34 +00:00
materials/creatingbuilddir: Add 'sudo' usage as needed
In order to be consistent with later parts of the book which do use 'sudo' in the commands given, use 'sudo' here, too, as we need root permissions usually to create a directory in /mnt/.
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
but depending on the location you choose, you may need to do this as the
|
||||
root user: </para>
|
||||
|
||||
<screen><userinput>mkdir -p /mnt/clfs</userinput></screen>
|
||||
<screen><userinput>sudo mkdir -p /mnt/clfs</userinput></screen>
|
||||
|
||||
<para>Assign it to the <envar>CLFS</envar> environment variable:</para>
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
the location of the <envar>CLFS</envar> directory, you may need to do this
|
||||
as the root user:</para>
|
||||
|
||||
<screen><userinput>chmod 777 ${CLFS}</userinput></screen>
|
||||
<screen><userinput>sudo chmod 777 ${CLFS}</userinput></screen>
|
||||
|
||||
<para>Downloaded packages and patches will need to be stored somewhere
|
||||
that is conveniently available throughout the entire build. A working
|
||||
|
Reference in New Issue
Block a user