On Mon, Nov 28, 2016 at 7:51 PM, Frank Meerkoetter <
[email protected]> wrote:
> WARNING: /projects/meta-chip/recipes-kernel/linux/linux-chip_git.bb:
> <string>:14: ResourceWarning: unclosed file <_io.TextIOWrapper
> name='/projects/meta-chip/recipes-kernel/linux/linux-chip/defconfig'
> mode='r' encoding='UTF-8'>
> ---
> recipes-kernel/linux/linux-chip_git.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/recipes-kernel/linux/linux-chip_git.bb
> b/recipes-kernel/linux/linux-chip_git.bb
> index 6f0b193..38df4ad 100644
> --- a/recipes-kernel/linux/linux-chip_git.bb
> +++ b/recipes-kernel/linux/linux-chip_git.bb
> @@ -69,4 +69,6 @@ python () {
> if 'CONFIG_KERNEL_LZO=y\n' in configfile.readlines():
> depends = d.getVar('DEPENDS', False)
> d.setVar('DEPENDS', depends + ' lzop-native')
> +
> + configfile.close()
> }
Fixed in master and pyro. Thank you.
--
Andrei Gherzan
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto