[OE-core] [PATCH 1/2] kernel.bbclass: handle embedding of initramfs images
Paul Eggleton
paul.eggleton at linux.intel.com
Fri Jul 8 08:36:04 UTC 2011
On Friday 08 July 2011 01:53:38 Khem Raj wrote:
> > On Fri, Jul 8, 2011 at 1:11 AM, Andrea Adami <andrea.adami at gmail.com> > >>
> >> + image = bb.data.getVar('INITRAMFS_IMAGE', d, True)
> >> + if image != '' and image is not None:
> ^^^
> Is this ok ?
Probably "if image:" would be better.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list