firmware: Use "/plain" for browsing the tree of the git repo, and add the correct URL for cloning

Fixes #18632.
This commit is contained in:
Xi Ruoyao 2023-09-25 18:12:30 +08:00
parent a6039f209b
commit 6478cf610e
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -3,6 +3,7 @@
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY linux-firmware-git "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git">
]>
<sect1 id="postlfs-firmware" xreflabel="About Firmware">
@ -24,8 +25,8 @@
<para>
Currently, most firmware can be found at a <userinput>git</userinput>
repository: <ulink url=
"https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/"/>.
repository which can be viewed in the browser with the URL
<ulink url="&linux-firmware-git;/plain"/>.
For convenience, the LFS Project has created a mirror, updated daily, where
these firmware files can be accessed via <userinput>wget</userinput> or a
web browser at <ulink url="&sources-anduin-http;/linux-firmware/"/>.
@ -33,8 +34,12 @@
<para>
To get the firmware, either point a browser to one of the above
repositories and then download the item(s) which you need, or install
<xref linkend="git"/> and clone that repository.
repositories and then download the item(s) which you need. If you want
all these firmware files (for example you are distributing the system
onto multiple hardware systems), install <xref linkend="git"/> and clone
<ulink url='&linux-firmware-git;'/>, or open this URL in a browser and
download the latest snapshot listed in the <literal>Tag</literal>
table.
</para>
<para>