Changeset 6940e5e for x/installing


Ignore:
Timestamp:
11/26/2008 09:16:36 PM (15 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:
759586e
Parents:
335975f
Message:

Moved /etc/X11 sysmlinks to x-setup page.

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

Location:
x/installing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • x/installing/x-setup.xml

    r335975f r6940e5e  
    5151
    5252<screen role="root"><userinput>ln -vsf <replaceable>&lt;$XORG_PREFIX&gt;</replaceable> /usr/X11R6</userinput></screen>
     53
     54    <para>Packages in Xorg store their configuration files in
     55    <filename class="directory">$XORG_PREFIX/lib/X11</filename> by default.
     56    This is strictly against FHS guidelines.  Correct the installation
     57    <filename class="directory">/etc/X11</filename> and create symlinks
     58    in the original location with the commands as the
     59    <systemitem class="username">root</systemitem> user:</para>
     60
     61<screen role="root"><userinput>for file in $XORG_PREFIX/{lib/X11/xinit,share/X11/{app-defaults,twm,xkb}}
     62do
     63     mv -v $file /etc/X11/ 2&gt; /dev/null &amp;&amp;
     64     ln -v -s /etc/X11/$(basename $file) $file
     65done
     66</userinput></screen>
    5367
    5468  </sect2>
  • x/installing/xorg7.xml

    r335975f r6940e5e  
    7777    packages.</para>
    7878  </note>
    79 
    80 <!--
    81   <para>Additionally, because of the large number of repetitive commands,
    82   you are encouraged to script the build.  For most sections, you can use
    83   a script with commands similar to the following, to compile and install
    84   all packages in a wget file list:</para>
    85 -->
    8679
    8780  <para>Additionally, because of the large number of repetitive commands,
     
    176169    a MANDATORY_MANPATH in <filename>/etc/man_db.conf</filename>.</para>
    177170
    178     <para>Packages in Xorg store their configuration files in
    179     <filename class="directory">$XORG_PREFIX/lib/X11</filename> by default.
    180     This is strictly against FHS guidelines.  To simplify installation,
    181     create the proper installation directories in
    182     <filename class="directory">/etc/X11</filename> and create symlinks
    183     in <filename class="directory">$XORG_PREFIX/lib/X11</filename> to
    184     satisfy the installation.  Execute the following commands as the
    185     <systemitem class="username">root</systemitem> user:</para>
    186 
    187 <screen role="root"><userinput>
    188 install -v -m755 -d \
    189     /etc/X11/{app-defaults,fs,twm,xdm,xinit,xkb,xsm} &amp;&amp;
    190 
    191 install -v -m755 -d $XORG_PREFIX/lib/X11 &amp;&amp;
    192 
    193 for link in \
    194     /etc/X11/{app-defaults,fs,twm,xdm,xinit,xkb,xsm}
    195 do
    196     ln -sv $link $XORG_PREFIX/lib/X11
    197 done
    198 </userinput></screen>
    199 
    200171  </sect2>
    201172
Note: See TracChangeset for help on using the changeset viewer.