Re: Sysv Udev failing with package management

"Pierre Labastie" ([email protected] via alfs-discuss Mailing List) <[email protected]> Mon, 06 Jan 2025 09:20:36 +0100
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
Le lundi 30 décembre 2024 à 10:16 -0600, Bruce Dubbs a écrit :
> 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.

Jeremy sent a patch privately. Fixed at commit 57afc00. Thanks

Pierre

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page