Hi Michael

On Fri, Jun 25, 2021 at 5:41 AM Michael Olbrich <[email protected]>
wrote:

> On Tue, Jun 22, 2021 at 04:35:04PM +0000, [email protected] wrote:
> > From: Jon Ringle <[email protected]>
> >
> > Doing a full install that include dev files is
> > helpful if a project needs this support.
> >
> > I created a host-sdbus-cpp project that depends
> > on libsystemd. The -Drootprefix=/ was required
> > to have cmake pkg-config work properly.
> >
> > Signed-off-by: Jon Ringle <[email protected]>
> > ---
> >  rules/host-systemd.in   | 7 +++++++
> >  rules/host-systemd.make | 7 +++++++
> >  2 files changed, 14 insertions(+)
> >
> > diff --git a/rules/host-systemd.in b/rules/host-systemd.in
> > index f80d9de10..828694f80 100644
> > --- a/rules/host-systemd.in
> > +++ b/rules/host-systemd.in
> > @@ -7,3 +7,10 @@ config HOST_SYSTEMD
> >       select HOST_GPERF
> >       select HOST_UTIL_LINUX_NG
> >       select HOST_LIBCAP
> > +
> > +config HOST_SYSTEMD_INSTALL_DEV
> > +     bool
> > +     default n
> > +     help
> > +      Install host systemd development headers/libs
> > +
> > diff --git a/rules/host-systemd.make b/rules/host-systemd.make
> > index 42409d7b5..58b44a683 100644
> > --- a/rules/host-systemd.make
> > +++ b/rules/host-systemd.make
> > @@ -20,6 +20,7 @@ HOST_SYSTEMD_CONF_TOOL      := meson
> >  HOST_SYSTEMD_CONF_OPT        := \
> >       $(HOST_MESON_OPT) \
> >       -Dprefix=/usr \
> > +     -Drootprefix=/ \
>
> This breaks hwdb: The path for the output file is hardcoded as
> "${destdir}${rootprefix}/lib/udev/hwdb.bin"
>
> This breaks hwdb for the host package?


> Hmmm, maybe we could add '/usr' to the destdir. Please try that. This is
> the '--root' argument the systemd-hwdb package.
> If it works then the systemd-hwdb package should generate a hwdb that is
> about 10MB in size.
>
> If it works, remove the prefix instead of adding the rootprefix.
>
>
I'm trying to work out how the systemd-hwdb package relates to the
host-systemd package...

-Jon
_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to