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:
Andrew Bradford
2017-07-17 14:28:45 -04:00
parent fc35affc5a
commit 5d8ddbf652

View File

@ -14,7 +14,7 @@
but depending on the location you choose, you may need to do this as the but depending on the location you choose, you may need to do this as the
root user: </para> 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> <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 the location of the <envar>CLFS</envar> directory, you may need to do this
as the root user:</para> 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 <para>Downloaded packages and patches will need to be stored somewhere
that is conveniently available throughout the entire build. A working that is conveniently available throughout the entire build. A working