Changeset 33cbd93a for x/installing


Ignore:
Timestamp:
07/30/2012 03:02:54 AM (12 years ago)
Author:
DJ Lucas <dj@…>
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
Message:

Added AS_ROOT variable to Xorg installation loops.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10481 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
x/installing
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • x/installing/x7app.xml

    r73dd9a12 r33cbd93a  
    243243    <title>Installation of Xorg Applications</title>
    244244
    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>
    246248
    247249<screen><userinput>bash -e</userinput></screen>
     
    254256  packagedir=${package%.tar.bz2}
    255257  tar -xf $package
    256   cd $packagedir
     258  pushd $packagedir
    257259  ./configure $XORG_CONFIG
    258260  make
    259   sudo make install
    260   cd ..
     261  $AS_ROOT make install
     262  popd
    261263  rm -r $packagedir
    262264done</userinput></screen>
  • x/installing/x7font.xml

    r73dd9a12 r33cbd93a  
    234234    <title>Installation of Xorg Fonts</title>
    235235
     236&as_root;
     237
    236238    <para>First, start a subshell that will exit on error:</para>
    237239
     
    245247  packagedir=${package%.tar.bz2}
    246248  tar -xf $package
    247   cd $packagedir
     249  pushd $packagedir
    248250  ./configure $XORG_CONFIG
    249251  make
    250   sudo make install
    251   cd ..
     252  $AS_ROOT make install
     253  popd
    252254  rm -r $packagedir
    253255done</userinput></screen>
  • x/installing/x7lib.xml

    r73dd9a12 r33cbd93a  
    230230    <title>Installation of Xorg Libraries</title>
    231231
     232&as_root;
     233
    232234    <para>First, start a subshell that will exit on error:</para>
    233235
     
    241243  packagedir=${package%.tar.bz2}
    242244  tar -xf $package
    243   cd $packagedir
     245  pushd $packagedir
    244246  case $packagedir in
    245247    libXfont-[0-9]* )
     
    255257  esac
    256258  make
    257   sudo make install
    258   cd ..
     259  $AS_ROOT make install
     260  popd
    259261  rm -r $packagedir
    260262  sudo /sbin/ldconfig
  • x/installing/x7proto.xml

    r73dd9a12 r33cbd93a  
    210210    <title>Installation of Xorg Protocol Headers</title>
    211211
     212    &as_root;
     213
    212214    <para>First, start a subshell that will exit on error:</para>
    213215
     
    221223  packagedir=${package%.tar.bz2}
    222224  tar -xf $package
    223   cd $packagedir
     225  pushd $packagedir
    224226  ./configure $XORG_CONFIG
    225   sudo make install
    226   cd ..
     227  $AS_ROOT make install
     228  popd
    227229  rm -r $packagedir
    228230done</userinput></screen>
     
    237239    <title>Command Explanations</title>
    238240
    239     <para><command>bash -e</command>: This command starts a sub-shell that will
     241    <para><command>bash -e</command>: This command starts a subshell that will
    240242    exit if any command returns a value other than 0, causing the for loop to
    241243    exit immediately if an error occurs. This also eliminates the need for the
Note: See TracChangeset for help on using the changeset viewer.