Typos on comments.

These changes are all in comments that do not affect the books in any way.
This commit is contained in:
Bruce Dubbs 2024-08-23 13:59:56 -05:00
parent 54c0a86cd0
commit 872a378f5e
17 changed files with 26 additions and 26 deletions

View File

@ -15,7 +15,7 @@ base=$(basename $bootscripts .tar.xz)
bootsize=$(ls -l --block-size=1024 $bootscripts | cut -f5 -d" ")
bootmd5=$(md5sum $bootscripts | cut -f1 -d" ")
# Figure intalled size of bootscripts
# Figure installed size of bootscripts
TOPDIR=$(pwd)
TMP_DIR=$(mktemp -d /tmp/lfsbootfiles.XXXXXX)
pushd $TMP_DIR > /dev/null

View File

@ -19,7 +19,7 @@ if [ -e LFS-RELEASE ]; then
fi
if ! git status > /dev/null; then
# Either it's not a git repository, or git is unavaliable.
# Either it's not a git repository or git is unavaliable.
# Just workaround.
echo "<![ %sysv; [" > version.ent
echo "<!ENTITY version \"unknown\">" >> version.ent

View File

@ -322,7 +322,7 @@ function get_current()
$file = basename( $line ) . "\n";
if ( preg_match( "/patch$/", $file ) ) { continue; } // Skip patches
$file = preg_replace( "/bz2/", '', $file ); // The 2 confusses the regex
$file = preg_replace( "/bz2/", '', $file ); // The 2 confuses the regex
$file = rtrim( $file );
$pkg_pattern = "/(\D*).*/";

View File

@ -2,7 +2,7 @@
<!-- Notes:
For empty *-home entities use " " not ""
Packages sizes allways in KB
Packages sizes always in KB
Allowed deviation in SBUs : 10%
Allowed deviation in disk usage : 2%

View File

@ -8,7 +8,7 @@
exclude-result-prefixes="cf exsl">
<!-- Top-level chunked code for fast processing.
Import standart customized chunk code.
Import standard customized chunk code.
Replaces {docbook-xsl}/xhtml/chunkfast.xsl
Note: Using this file as the top-level for chunked output implies that

View File

@ -36,7 +36,7 @@
</xsl:template>
<!-- indexterm:
Dropping unneeded anchors and fo:wraper elemments. -->
Dropping unneeded anchors and fo:wrapper elemments. -->
<!-- The original templates are in {docbook-xsl}/{xhtml,fo}/index.xsl -->
<xsl:template match="indexterm"/>
@ -111,7 +111,7 @@
</xsl:when>
<xsl:when test="$section.autolabel != 0">
<xsl:choose>
<!-- If the first sect2 isn't numbered, renumber the remainig sections -->
<!-- If the first sect2 isn't numbered, renumber the remaining sections -->
<xsl:when test="string-length(../sect2[1]/title) = 0">
<xsl:variable name="totalsect2">
<xsl:number count="sect2"/>

View File

@ -27,7 +27,7 @@
<xsl:include href="pdf/lfs-pagesetup.xsl"/>
<xsl:include href="pdf/lfs-xref.xsl"/>
<!-- Activate FOP-1 extensions. We use FOP-0.93 as the FO procesor. -->
<!-- Activate FOP-1 extensions. We use FOP-0.93 as the FO processor. -->
<xsl:param name="fop1.extensions" select="1"/>
<!-- Deactivate draft mode. -->
@ -93,7 +93,7 @@
<!-- Processing instruction for hard page breaks.
FOP-0.93 supports @keep-*.*, @orphans, and @widows attributes,
that solves several page break issues.
It also supports the soft page break procesing instruction included
It also supports the soft page break processing instruction included
in the DocBook stylesheets.
But sometimes we may need hard page breaks for final book versions.
To understand all of the page break features, see

View File

@ -39,8 +39,8 @@
<xsl:param name="variablelist.max.termlength">35</xsl:param>
<!-- varlistentry mode block:
Addibg a bullet, left alignament, and @kepp-*.* attributes
for packages and paches list. -->
Addibg a bullet, left alignment, and @kepp-*.* attributes
for packages and patches list. -->
<!-- The original template is in {docbook-xsl}/fo/list.xsl -->
<xsl:template match="varlistentry" mode="vl.as.blocks">
<xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
@ -135,7 +135,7 @@
</xsl:template>
<!-- simplelist:
Self-made template. Wrap it into a fo:block and process member childs.
Self-made template. Wrap it into a fo:block and process member child.
If @type is specified, the original templates will be used.
NOTE: when using type='horiz' or type='vert', FOP-0.93 will complaints
about not supported table-layout="auto" -->

View File

@ -128,7 +128,7 @@
</xsl:template>
<!-- literal:
Be sure that literal will use allways normal font weight. -->
Be sure that literal will use always normal font weight. -->
<!-- The original template is in {docbook-xsl}/fo/inline.xsl -->
<xsl:template match="literal">
<fo:inline font-weight="normal">
@ -139,7 +139,7 @@
<!-- inline.monoseq:
Added hyphenate-url support to classname, exceptionname, interfacename,
methodname, computeroutput, constant, envar, filename, function, code,
literal, option, promt, systemitem, varname, sgmltag, tag, and uri -->
literal, option, prompt, systemitem, varname, sgmltag, tag, and uri -->
<!-- The original template is in {docbook-xsl}/fo/inline.xsl -->
<xsl:template name="inline.monoseq">
<xsl:param name="content">

View File

@ -176,7 +176,7 @@
</xsl:template>
<!-- chapter title:
Small font size and left alignament. -->
Small font size and left alignment. -->
<!-- The original template is in {docbook-xsl}/fo/titlepage.templates.xsl -->
<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
<fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style"

View File

@ -4,9 +4,9 @@
xmlns="http://www.w3.org/1999/xhtml"
version="1.0">
<!-- This stylesheet contains misc templates for output formating.
<!-- This stylesheet contains misc templates for output formatting.
This file is for that templates that don't fit in other files
and that not afect the chunk algorithm. -->
and that do not affect the chunk algorithm. -->
<!-- Individual elements templates -->
@ -187,7 +187,7 @@
</xsl:template>
<!-- para/simplelist:
Self-made template. Add a line break and process the childs.
Self-made template. Add a line break and process the child.
If @type is specified, the original templates should be used,
but not tested. -->
<xsl:template match="para/simplelist">
@ -208,7 +208,7 @@
</xsl:template>
<!-- Named formating templates -->
<!-- Named formatting templates -->
<!-- Body attributes:
Add to the body XHTML output tag a class attribute with the book type

View File

@ -145,7 +145,7 @@
</xsl:template>
<!-- sect1:
When there is a role attibute, use it as the class value.
When there is a role attribute, use it as the class value.
Process the SVN keywords found in sect1info as a footnote.
Output title before the containing <div> so that the title
can be at a fixed position.
@ -171,7 +171,7 @@
</xsl:template>
<!-- sect2:
When there is a role attibute, use it as the class value.
When there is a role attribute, use it as the class value.
Removed unused code. -->
<!-- The original template is in {docbook-xsl}/xhtml/sections.xsl -->
<xsl:template match="sect2">

View File

@ -65,7 +65,7 @@
</xsl:template>
<!-- toc.line:
Adding the h* tags and dropping unneded links.
Adding the h* tags and dropping unneeded links.
This template is a full re-made version of the original one. -->
<!-- The original template is in {docbook-xsl}/xhtml/autotoc.xsl -->
<xsl:template name="toc.line">

View File

@ -51,7 +51,7 @@ exit
<xsl:template match="//text()"/>
<xsl:template match="//ulink">
<!-- Match only local patches links and skip duplicated URLs splitted for PDF output-->
<!-- Match only local patch links and skip duplicated URLs split for PDF output-->
<xsl:if test="contains(@url, '.patch') and contains(@url, '&patches-root;')
and not(ancestor-or-self::*/@condition = 'pdf')">
<xsl:variable name="patch.name" select="substring-after(@url, '&patches-root;')"/>

View File

@ -15,7 +15,7 @@
<xsl:template match="ulink">
<!-- If some package don't have the predefined strings in their
name, the next test must be fixed to match it also. Skip possible
duplicated URLs due that may be splitted for PDF output -->
duplicated URLs due that may be split for PDF output -->
<xsl:if test="(contains(@url, '.tar.') or
contains(@url, '.tgz') or
contains(@url, '.patch')) and

View File

@ -1,6 +1,6 @@
The udev-lfs set of files is a customization of systemd.
In 2012, udev was merged with systemd and a build methodology
incompatible with LFS. These files add cusom udev rules
incompatible with LFS. These files add custom udev rules
for LFS.
These files are distributed in the form of a tar file available

View File

@ -2,7 +2,7 @@
# This script generates rules for persistent network device naming
# Data from udev-182 75-persistent-net-generator.rules
# Updated fof udev-197 (DEVICES=en*)
# Updated for udev-197 (DEVICES=en*)
RULES=/etc/udev/rules.d/70-persistent-net.rules
DEVICES=$(eval echo /sys/class/net/{en*,eth*,ath*,wlan*[0-9],msh*,ra*,sta*,ctc*,lcs*,hsi*})