Re: Sysv Udev failing with package management

"Bruce Dubbs" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
On 12/30/24 09:55, Pierre Labastie ([email protected] via alfs-discuss Mailing 
List) wrote:
> Le lundi 30 décembre 2024 à 08:09 -0700, jeremy wiig a écrit :
>> Hello all,
>>
>> Building LFS 12.2 SYSV with package management selected is failing at
>> 874-udev because the following install line is not being prepended
>> with $PKG_DEST by the lfs.xsl:
>>
>> install -vm755 -d {/usr/lib,/etc}/udev/{hwdb.d,rules.d,network}
>>
>> I haven't dug too far into the stylesheet yet but highly suspect the
>> curly braces are the issue.
> 
> Yes they are. The stylesheet only looks for '>/' and ' /' and replace
> them respectively with '>$PKG_DEST/' and ' $PKG_DEST/'. This is a case
> where having some tag to distinguish what should be prepended with
> PKG_DEST instead of just letting the stylesheet guessing would be
> beneficial. But up to now, there was not a consensus to make any
> modification to the book for package management...
> 
> Maybe adding ' {/' to the patterns that should include $PKG_DEST could
> solve the issue...

I think I'm OK with tags in the book that don't change appearance but support ALFS. 
I'm not a huge fan of changing actual rendered commands though, but even a few minor 
changes there should be OK.

   -- Bruce

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.