Message ID | 20190514064216.4375-1-adrian.freihofer@siemens.com |
---|---|
State | Accepted |
Headers | show |
Series | [meta-swupdate] depend on efibootguard if CONFIG_BOOTLOADER_EBG=y | expand |
On 14/05/19 08:42, Adrian Freihofer wrote: > Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> > --- > 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 497a334..1f8c200 100644 > --- a/recipes-support/swupdate/swupdate.inc > +++ b/recipes-support/swupdate/swupdate.inc > @@ -105,6 +105,10 @@ python () { > > if 'CONFIG_MONGOOSE_WEB_API_V2=y\n' in features: > d.setVar('SWUPDATE_WWW', 'webapp') > + > + if 'CONFIG_BOOTLOADER_EBG=y\n' in features: > + depends = d.getVar('DEPENDS', False) > + d.setVar('DEPENDS', depends + ' efibootguard') > } > > do_configure () { > Applied to -master, -warrior and -thud, thanks ! Best regards, Stefano Babic
diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc index 497a334..1f8c200 100644 --- a/recipes-support/swupdate/swupdate.inc +++ b/recipes-support/swupdate/swupdate.inc @@ -105,6 +105,10 @@ python () { if 'CONFIG_MONGOOSE_WEB_API_V2=y\n' in features: d.setVar('SWUPDATE_WWW', 'webapp') + + if 'CONFIG_BOOTLOADER_EBG=y\n' in features: + depends = d.getVar('DEPENDS', False) + d.setVar('DEPENDS', depends + ' efibootguard') } do_configure () {
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> --- recipes-support/swupdate/swupdate.inc | 4 ++++ 1 file changed, 4 insertions(+)