[OE-core] [PATCH 2/5] bbclass: fix spelling mistakes

Maxin B. John maxin.john at intel.com
Fri Nov 6 10:18:02 UTC 2015


Hi Sona,

On Fri, Nov 06, 2015 at 09:33:06AM +0000, Sona Sarmadi wrote:
> Hi Maxin,
> 
> I think the warning below " bb.warn" is incorrect, it should be " dirname" instead of " patch",  see below:
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/spdx.bbclass (master)
> 
> def get_ver_code(dirname):
>     chksums = []
>     for f_dir, f in list_files(dirname):
>         hash = hash_file(os.path.join(dirname, f_dir, f))
>         if not hash is None:
>             chksums.append(hash)
>         else:
>             bb.warn("SPDX: Could not hash file: " + patch) <<< dirname
> 
> Could you please have a look at this as well?

Sure, Thanks for spotting it :)

> Regrads
> //Sona

> > -----Original Message-----
> > From: openembedded-core-bounces at lists.openembedded.org
> >  # We need special processing for vardeps because it can not work on -#
> > modified flag values.  So we agregate the flags into a new variable
> > +# modified flag values.  So we aggregate the flags into a new variable
> >  # and include that vairable in the set.
> >  UPDALTVARS  = "ALTERNATIVE ALTERNATIVE_LINK_NAME
> > ALTERNATIVE_TARGET ALTERNATIVE_PRIORITY"
> >
<snip>

Best Regards,
Maxin



More information about the Openembedded-core mailing list