Re: Sysv Udev failing with package management

"jeremy wiig" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <CAB=uRVy-MtfsY19e48M5dYGCBWAJLMu9k4+UV2FE64E5d6cV3w@mail.gmail.com>
On Mon, Dec 30, 2024 at 8:55 AM Pierre Labastie <
[email protected]> 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...
>
> Pierre
> --
>
>
I have a patch for the stylesheet that fixed the udev script by matching on
{/, haven't done any testing yet as i'm away from my build machine, but
i'll upload it here shortly.

-- 
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.