[Buildroot] [PATCH 1/2] systemd: Build legacy pc files when liblogging is
Eric Le Bihan
eric.le.bihan.dev at free.fr
Mon Apr 14 09:35:46 UTC 2014
On Fri, Apr 11, 2014 at 09:51:09AM +0100, Vicente Olivert Riera wrote:
> On 04/10/2014 10:18 PM, Peter Korsgaard wrote:
> >>>>>>"Eric" == Eric Le Bihan <eric.le.bihan.dev at free.fr> writes:
> >
> >Hi,
> >
> > > Maybe some other packages depend on these compatibility libraries, so instead
> > > of referring to BR2_PACKAGE_LIBLOGGING in systemd.mk, it would be best to add
> > > a generic configuration option to systemd, as done for berkeleydb with
> > > BR2_PACKAGE_BERKELEYDB_COMPAT185. It could be named BR2_PACKAGE_SYSTEMD_COMPAT.
> >
> > > Then, in package/liblogging/Config.in, we would have:
> >
> > > select BR2_PACKAGE_SYSTEMD_COMPAT if BR2_INIT_SYSTEMD
> >
> > > And this would be removed when liblogging is fixed upstream.
> >
> >Yes, I agree.
> >
> > > What do think of this?
> >
> >Care to send an updated patch series doing that?
> >
>
> I didn't do that in purpose, because I thought it would be a good
> idea to catch those packages that still look for legacy systemd
> files, so we could tell upstream about that, as I did for
> liblogging.
I posted an implementation of BR2_PACKAGE_SYSTEMD_COMPAT. If other packages
depend on the old libsystemd-*.so, I think this will allow us to catch them
too, as they will not select this new symbol yet.
>
> If we put that option as a generic one, then we will never remove it
> from there and we will be using the not-default systemd config
> forever.
As a reminder, I added a comment in the log about this.
Best regards,
ELB
More information about the buildroot
mailing list