[jhalfs] 03/04: Implementation of dependency checking 3
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository jhalfs. commit 42dfc6ef21cbb2c7b5a2b4b60d399e1de0413f77 Author: Pierre Labastie <[email protected]> AuthorDate: Thu Mar 23 18:37:20 2023 +0100 Implementation of dependency checking 3 Add an XSL stylesheet for listing packages in LFS. Those are not listed anywhere else, but they are considered dependencies of everything, so should never be erased. --- BLFS/gen_pkg_book.sh | 1 + BLFS/xsl/list_lfs.xsl | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/BLFS/gen_pkg_book.sh b/BLFS/gen_pkg_book.sh index 44877d4..dd8f633 100755 --- a/BLFS/gen_pkg_book.sh +++ b/BLFS/gen_pkg_book.sh @@ -28,6 +28,7 @@ declare BookXml="${TOPDIR}/book.xml" declare MakeBook="${TOPDIR}/xsl/make_book.xsl" declare GetVersion="${TOPDIR}/xsl/get_version.xsl" declare MakeScripts="${TOPDIR}/xsl/scripts.xsl" +declare ListLFS="${TOPDIR}/xsl/list_lfs.xsl" declare BookHtml="${TOPDIR}/book-html" declare BLFS_XML="${TOPDIR}/blfs-xml" declare -a TARGET diff --git a/BLFS/xsl/list_lfs.xsl b/BLFS/xsl/list_lfs.xsl new file mode 100644 index 0000000..87fe253 --- /dev/null +++ b/BLFS/xsl/list_lfs.xsl @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + + <xsl:output method="text"/> + + <xsl:template match="/"> + <xsl:text>bootscripts </xsl:text> + <xsl:text>lfs-bootscripts </xsl:text> + <xsl:text>kernel </xsl:text> + <xsl:apply-templates select=".//chapter[@id='chapter-building-system']/sect1/sect1info/productname"/> + </xsl:template> + + <xsl:template match="productname"> + <xsl:copy-of select="text()"/> + <xsl:text> </xsl:text> + </xsl:template> + +</xsl:stylesheet> -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page