Message ID | 20201111014451.2878554-1-raj.khem@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [meta-swupdate] swupdate: Depend on util-linux if CONFIG_DISKPART is set | expand |
Hi Khem, On 11.11.20 02:44, Khem Raj wrote: > it depends on libfdisk/libfdisk.h for disk parition management > which is provided by util-linux > > Signed-off-by: Khem Raj <raj.khem@gmail.com> > --- > recipes-support/swupdate/swupdate.inc | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc > index 51befed..7146e98 100644 > --- a/recipes-support/swupdate/swupdate.inc > +++ b/recipes-support/swupdate/swupdate.inc > @@ -169,6 +169,9 @@ python () { > if 'CONFIG_ZSTD=y\n' in features: > depends += ' zstd' > > + if 'CONFIG_DISKPART=y\n' in features: > + depends += ' util-linux' > + > d.setVar('DEPENDS', depends) > > if 'CONFIG_MONGOOSE=y\n' in features: > Reviewed-by: Stefano Babic <sbabic@denx.de> Best regards, Stefano Babic
On 11.11.20 09:17, Stefano Babic wrote: > Hi Khem, > > On 11.11.20 02:44, Khem Raj wrote: >> it depends on libfdisk/libfdisk.h for disk parition management >> which is provided by util-linux >> >> Signed-off-by: Khem Raj <raj.khem@gmail.com> >> --- >> recipes-support/swupdate/swupdate.inc | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc >> index 51befed..7146e98 100644 >> --- a/recipes-support/swupdate/swupdate.inc >> +++ b/recipes-support/swupdate/swupdate.inc >> @@ -169,6 +169,9 @@ python () { >> if 'CONFIG_ZSTD=y\n' in features: >> depends += ' zstd' >> >> + if 'CONFIG_DISKPART=y\n' in features: >> + depends += ' util-linux' >> + >> d.setVar('DEPENDS', depends) >> >> if 'CONFIG_MONGOOSE=y\n' in features: >> > > Reviewed-by: Stefano Babic <sbabic@denx.de> Applied to -master and -gatesworth, thanks ! Best regards, Stefano Babic
diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc index 51befed..7146e98 100644 --- a/recipes-support/swupdate/swupdate.inc +++ b/recipes-support/swupdate/swupdate.inc @@ -169,6 +169,9 @@ python () { if 'CONFIG_ZSTD=y\n' in features: depends += ' zstd' + if 'CONFIG_DISKPART=y\n' in features: + depends += ' util-linux' + d.setVar('DEPENDS', depends) if 'CONFIG_MONGOOSE=y\n' in features:
it depends on libfdisk/libfdisk.h for disk parition management which is provided by util-linux Signed-off-by: Khem Raj <raj.khem@gmail.com> --- recipes-support/swupdate/swupdate.inc | 3 +++ 1 file changed, 3 insertions(+)