Message ID | 1561665249-23531-2-git-send-email-pjtexier@koncepto.io |
---|---|
State | Accepted |
Headers | show |
Series | None | expand |
Hi Pierre-Jean, Le 27/06/2019 à 21:54, 'Pierre-Jean Texier' via swupdate a écrit : > Check if libwebsockets, uriparser & curl are required > > Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> > --- > recipes-support/swupdate/swupdate.inc | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc > index 1f8c200..392af31 100644 > --- a/recipes-support/swupdate/swupdate.inc > +++ b/recipes-support/swupdate/swupdate.inc > @@ -99,6 +99,10 @@ python () { > depends = d.getVar('DEPENDS', False) > d.setVar('DEPENDS', depends + ' libgpiod') > > + if 'CONFIG_SWUFORWARDER_HANDLER=y\n' in features: > + depends = d.getVar('DEPENDS', False) > + d.setVar('DEPENDS', depends + ' curl libwebsockets uriparser') > + > if 'CONFIG_RDIFFHANDLER=y\n' in features: > depends = d.getVar('DEPENDS', False) > d.setVar('DEPENDS', depends + ' librsync') Tested-by: Joris Offouga <offougajoris@gmail.com> Best Regards, Joris Offouga
diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc index 1f8c200..392af31 100644 --- a/recipes-support/swupdate/swupdate.inc +++ b/recipes-support/swupdate/swupdate.inc @@ -99,6 +99,10 @@ python () { depends = d.getVar('DEPENDS', False) d.setVar('DEPENDS', depends + ' libgpiod') + if 'CONFIG_SWUFORWARDER_HANDLER=y\n' in features: + depends = d.getVar('DEPENDS', False) + d.setVar('DEPENDS', depends + ' curl libwebsockets uriparser') + if 'CONFIG_RDIFFHANDLER=y\n' in features: depends = d.getVar('DEPENDS', False) d.setVar('DEPENDS', depends + ' librsync')
Check if libwebsockets, uriparser & curl are required Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> --- recipes-support/swupdate/swupdate.inc | 4 ++++ 1 file changed, 4 insertions(+)