[Buildroot] [PATCH] Fix restorecond startup for sysvinit builds

José Pekkarinen jose.pekkarinen at unikie.com
Mon Jul 26 05:06:41 UTC 2021


On Fri, Jul 23, 2021 at 5:42 PM Baruch Siach <baruch at tkos.co.il> wrote:

> [...]
>
> > diff --git a/package/restorecond/restorecond.mk b/package/restorecond/
> restorecond.mk
> > index 7ab7e978dd..1546661baf 100644
> > --- a/package/restorecond/restorecond.mk
> > +++ b/package/restorecond/restorecond.mk
> > @@ -9,7 +9,7 @@ RESTORECOND_SITE =
> https://github.com/SELinuxProject/selinux/releases/download/2
> >  RESTORECOND_LICENSE = GPL-2.0
> >  RESTORECOND_LICENSE_FILES = COPYING
> >
> > -RESTORECOND_DEPENDENCIES = libglib2 libsepol libselinux dbus-glib
> > +RESTORECOND_DEPENDENCIES = libglib2 libsepol libselinux dbus-glib daemon
>
> This is a run-time dependency, right? If so there is no need for daemon
> to build before restorecond. But add a "runtime" comment next to
> select BR2_PACKAGE_DAEMON.
>

Hi,

Yes, this is a runtime dependency as it comes from the

original source code, the init script provided from upstream calls
it in. If we want it to work out-of-the-box we have to automatically
select it at least.

Thanks for the comments!


José.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210726/997a7c6a/attachment.html>


More information about the buildroot mailing list