Message ID | 1552146551-28902-1-git-send-email-pjtexier@koncepto.io |
---|---|
State | Accepted |
Headers | show |
Series | swupdate: check if librsync is required | expand |
On 09/03/19 16:49, 'Pierre-Jean Texier' via swupdate wrote: > 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 5412952..6c675c1 100644 > --- a/recipes-support/swupdate/swupdate.inc > +++ b/recipes-support/swupdate/swupdate.inc > @@ -94,6 +94,10 @@ python () { > depends = d.getVar('DEPENDS', False) > d.setVar('DEPENDS', depends + ' libgpiod') > > + if 'CONFIG_RDIFFHANDLER=y\n' in features: > + depends = d.getVar('DEPENDS', False) > + d.setVar('DEPENDS', depends + ' librsync') > + > if 'CONFIG_MONGOOSE_WEB_API_V2=y\n' in features: > d.setVar('SWUPDATE_WWW', 'webapp') > } > Acked-by: Stefano Babic <sbabic@denx.de> Best regards, Stefano Babic
diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc index 5412952..6c675c1 100644 --- a/recipes-support/swupdate/swupdate.inc +++ b/recipes-support/swupdate/swupdate.inc @@ -94,6 +94,10 @@ python () { depends = d.getVar('DEPENDS', False) d.setVar('DEPENDS', depends + ' libgpiod') + if 'CONFIG_RDIFFHANDLER=y\n' in features: + depends = d.getVar('DEPENDS', False) + d.setVar('DEPENDS', depends + ' librsync') + if 'CONFIG_MONGOOSE_WEB_API_V2=y\n' in features: d.setVar('SWUPDATE_WWW', 'webapp') }
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> --- recipes-support/swupdate/swupdate.inc | 4 ++++ 1 file changed, 4 insertions(+)