[jhalfs] branch trunk updated: Fix package management on sysv udev
"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Mon, 06 Jan 2025 08:18:31 +0000
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <173615151163.23530.10489246465367705510@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository jhalfs.
The following commit(s) were added to refs/heads/trunk by this push:
new 57afc00 Fix package management on sysv udev
57afc00 is described below
commit 57afc0019964e9cf0197dbea0087e398f05bfbdb
Author: Pierre Labastie <[email protected]>
AuthorDate: Mon Jan 6 09:14:27 2025 +0100
Fix package management on sysv udev
sysv udev uses
install -vm755 -d {/usr/lib,/etc}/udev/{hwdb.d,rules.d,network}
which is not prepended with $PKG_DEST. Add ' {/' to the patterns
that need prepending $PKG_DEST? so that it generates the right
code.
Report and fix by Jeremy Wiig on the alfs-discuss list.
---
LFS/lfs.xsl | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/LFS/lfs.xsl b/LFS/lfs.xsl
index dad7dab..d99794d 100644
--- a/LFS/lfs.xsl
+++ b/LFS/lfs.xsl
@@ -1037,6 +1037,13 @@ LOGLEVEL="</xsl:text>
<xsl:with-param name="outputstring" select="substring-after($outputstring,' /')"/>
</xsl:call-template>
</xsl:when>
+ <xsl:when test="contains($outputstring,' {/')">
+ <xsl:value-of select="substring-before($outputstring,' {/')"/>
+ <xsl:text> $PKG_DEST{/</xsl:text>
+ <xsl:call-template name="outputpkgdest">
+ <xsl:with-param name="outputstring" select="substring-after($outputstring,' {/')"/>
+ </xsl:call-template>
+ </xsl:when>
<xsl:otherwise>
<xsl:value-of select="$outputstring"/>
</xsl:otherwise>
--
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