Changeset 33cbd93a
- Timestamp:
- 07/30/2012 03:02:54 AM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- a0bb5d33
- Parents:
- 73dd9a12
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
r73dd9a12 r33cbd93a 4 4 --> 5 5 6 <!ENTITY day " 29"> <!-- Always 2 digits -->6 <!ENTITY day "30"> <!-- Always 2 digits --> 7 7 <!ENTITY month "07"> <!-- Always 2 digits --> 8 8 <!ENTITY year "2012"> … … 109 109 <!ENTITY lfssvn_built2 " platform but has not been tested."> 110 110 <!-- End special entities about LFS compatibility --> 111 112 <!ENTITY as_root "<note><para>When installing multiple packages in 113 a script, the installation needs to be done as 114 the root user. There are three general options 115 that can be used to do this:</para> 116 117 <orderedlist> 118 <listitem><para>Run the entire script as the root 119 user (not recommended).</para></listitem> 120 121 <listitem><para>Use the '<command>sudo</command>' 122 command from the <xref linkend='sudo'/> 123 package.</para></listitem> 124 125 <listitem><para>Use '<command>su -c</command>' 126 which will ask for the root password for every 127 iteration of the loop.</para></listitem> 128 </orderedlist> 129 130 <para>Select a preferred method and export a 131 variable <parameter>AS_ROOT</parameter> with the 132 following command replacing 133 <parameter><as_root></parameter> with the 134 selected command (unset or use an empty variable 135 if you intend to run the entire loop as the 136 root user):</para> 137 138 <screen><userinput>export AS_ROOT='<replaceable><as_root></replaceable>'</userinput></screen> 139 </note>"> 111 140 112 141 <!ENTITY not-katamari "<para>This package is not a part of the Xorg -
introduction/welcome/changelog.xml
r73dd9a12 r33cbd93a 45 45 --> 46 46 <listitem> 47 <para>July 30th, 2012</para> 48 <itemizedlist> 49 <listitem> 50 <para>[dj] - Added "AS_ROOT" variable to Xorg installation 51 loops.</para> 52 </listitem> 53 </itemizedlist> 54 </listitem> 55 56 <listitem> 47 57 <para>July 29th, 2012</para> 48 58 <itemizedlist> -
x/installing/x7app.xml
r73dd9a12 r33cbd93a 243 243 <title>Installation of Xorg Applications</title> 244 244 245 <para>First, start a sub-shell that will exit on error:</para> 245 &as_root; 246 247 <para>First, start a subshell that will exit on error:</para> 246 248 247 249 <screen><userinput>bash -e</userinput></screen> … … 254 256 packagedir=${package%.tar.bz2} 255 257 tar -xf $package 256 cd $packagedir258 pushd $packagedir 257 259 ./configure $XORG_CONFIG 258 260 make 259 sudomake install260 cd ..261 $AS_ROOT make install 262 popd 261 263 rm -r $packagedir 262 264 done</userinput></screen> -
x/installing/x7font.xml
r73dd9a12 r33cbd93a 234 234 <title>Installation of Xorg Fonts</title> 235 235 236 &as_root; 237 236 238 <para>First, start a subshell that will exit on error:</para> 237 239 … … 245 247 packagedir=${package%.tar.bz2} 246 248 tar -xf $package 247 cd $packagedir249 pushd $packagedir 248 250 ./configure $XORG_CONFIG 249 251 make 250 sudomake install251 cd ..252 $AS_ROOT make install 253 popd 252 254 rm -r $packagedir 253 255 done</userinput></screen> -
x/installing/x7lib.xml
r73dd9a12 r33cbd93a 230 230 <title>Installation of Xorg Libraries</title> 231 231 232 &as_root; 233 232 234 <para>First, start a subshell that will exit on error:</para> 233 235 … … 241 243 packagedir=${package%.tar.bz2} 242 244 tar -xf $package 243 cd $packagedir245 pushd $packagedir 244 246 case $packagedir in 245 247 libXfont-[0-9]* ) … … 255 257 esac 256 258 make 257 sudomake install258 cd ..259 $AS_ROOT make install 260 popd 259 261 rm -r $packagedir 260 262 sudo /sbin/ldconfig -
x/installing/x7proto.xml
r73dd9a12 r33cbd93a 210 210 <title>Installation of Xorg Protocol Headers</title> 211 211 212 &as_root; 213 212 214 <para>First, start a subshell that will exit on error:</para> 213 215 … … 221 223 packagedir=${package%.tar.bz2} 222 224 tar -xf $package 223 cd $packagedir225 pushd $packagedir 224 226 ./configure $XORG_CONFIG 225 sudomake install226 cd ..227 $AS_ROOT make install 228 popd 227 229 rm -r $packagedir 228 230 done</userinput></screen> … … 237 239 <title>Command Explanations</title> 238 240 239 <para><command>bash -e</command>: This command starts a sub -shell that will241 <para><command>bash -e</command>: This command starts a subshell that will 240 242 exit if any command returns a value other than 0, causing the for loop to 241 243 exit immediately if an error occurs. This also eliminates the need for the
Note:
See TracChangeset
for help on using the changeset viewer.