Automatic merge of trunk into multilib

This commit is contained in:
Thomas Trepl 2023-12-04 21:37:03 +01:00
commit 9830e45abc
3 changed files with 19 additions and 11 deletions

View File

@ -30,10 +30,7 @@
in addition to those on the first list, need to be available in order to run
the test suites. The fourth list of dependencies are packages that require
this package to be built and installed in its final location before they are
built and installed. In most cases, this is because these packages will hard
code paths to binaries within their scripts. If not built in a certain order,
this could result in paths of /tools/bin/[binary] being placed inside scripts
installed to the final system. This is obviously not desirable.</para>
built and installed.</para>
<para>The last list of dependencies are optional packages that are not
addressed in LFS, but could be useful to the user. These packages may have

View File

@ -39,6 +39,17 @@
<listitem revision="sysv"> or <listitem revision="systemd"> as
appropriate for the entry or if needed the entire day's listitem.
-->
<listitem>
<para>2023-12-04</para>
<itemizedlist>
<listitem>
<para>[thomas] - Modify commands for install Python docs to avoid
too restrictive permissions on the files and dirs.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem revision='sysv'>
<para>2023-12-01</para>
<itemizedlist>

View File

@ -155,21 +155,21 @@ EOF
<screen><userinput remap="install">install -v -dm755 /usr/share/doc/python-&python-version;/html
tar --strip-components=1 \
--no-same-owner \
--no-same-permissions \
-C /usr/share/doc/python-&python-version;/html \
-xvf ../python-&python-version;-docs-html.tar.bz2</userinput></screen>
tar --no-same-owner \
-xvf ../python-&python-version;-docs-html.tar.bz2
cp -R --no-preserve=mode python-&python-version;-docs-html/* \
/usr/share/doc/python-&python-version;/html</userinput></screen>
<variablelist>
<title>The meaning of the documentation install commands:</title>
<varlistentry>
<term><option>--no-same-owner</option> and <option>--no-same-permissions</option></term>
<term><option>--no-same-owner</option> (tar) and <option>--no-preserve=mode</option> (cp)</term>
<listitem>
<para>Ensure the installed files have the correct ownership and
permissions. Without these options, <application>tar</application>
will install the package files with the upstream creator's values.
will install the package files with the upstream creator's values
and files would have restrictive permissions.
</para>
</listitem>
</varlistentry>