Changeset 2fcfa27


Ignore:
Timestamp:
05/08/2021 07:39:02 PM (6 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/usr-move
Children:
d719b5f
Parents:
4bcd65c
Message:

Revert "usr-move: configure shadow not to include /bin or /sbin in PATH"

This reverts commit 4bcd65c281d798880a1afde5a7467a5063f68c96.

Distros with merged usr configuration are still using /bin and /sbin in
PATH, so we will keep them as well (at least for now).

Note that /bin in PATH may cause some issue building packages
(observed in WebKitGTK with bwrap). Some workarounds may be needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/shadow.xml

    r4bcd65c r2fcfa27  
    119119
    120120<screen><userinput remap="install">make install</userinput></screen>
    121 
    122     <para>Adjust the configuration file <filename>login.defs</filename> to
    123     set up <envar>PATH</envar> correctly for the merged
    124     <filename class="directory">/usr</filename> hierarchy of LFS:</para>
    125 
    126 <screen><userinput remap="install">sed 's@/sbin:@@; s@/bin:@@' -i /etc/login.defs</userinput></screen>
    127121
    128122  </sect2>
Note: See TracChangeset for help on using the changeset viewer.