summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/__init__.py4
-rw-r--r--meta/lib/oe/buildhistory_analysis.py2
-rw-r--r--meta/lib/oe/cachedpath.py2
-rw-r--r--meta/lib/oe/classextend.py4
-rw-r--r--meta/lib/oe/classutils.py3
-rw-r--r--meta/lib/oe/copy_buildsystem.py3
-rw-r--r--meta/lib/oe/data.py4
-rw-r--r--meta/lib/oe/distro_check.py4
-rw-r--r--meta/lib/oe/elf.py4
-rw-r--r--meta/lib/oe/gpg_sign.py4
-rw-r--r--meta/lib/oe/license.py4
-rw-r--r--meta/lib/oe/lsb.py4
-rw-r--r--meta/lib/oe/maketype.py3
-rw-r--r--meta/lib/oe/manifest.py4
-rw-r--r--meta/lib/oe/package.py4
-rw-r--r--meta/lib/oe/package_manager.py4
-rw-r--r--meta/lib/oe/packagedata.py4
-rw-r--r--meta/lib/oe/packagegroup.py4
-rw-r--r--meta/lib/oe/patch.py4
-rw-r--r--meta/lib/oe/path.py4
-rw-r--r--meta/lib/oe/prservice.py3
-rw-r--r--meta/lib/oe/qa.py4
-rw-r--r--meta/lib/oe/recipeutils.py2
-rw-r--r--meta/lib/oe/rootfs.py3
-rw-r--r--meta/lib/oe/sdk.py4
-rw-r--r--meta/lib/oe/sstatesig.py3
-rw-r--r--meta/lib/oe/terminal.py3
-rw-r--r--meta/lib/oe/types.py4
-rw-r--r--meta/lib/oe/useradd.py3
-rw-r--r--meta/lib/oe/utils.py4
30 files changed, 105 insertions, 1 deletions
diff --git a/meta/lib/oe/__init__.py b/meta/lib/oe/__init__.py
index 3ad9513f40..4e7c09da04 100644
--- a/meta/lib/oe/__init__.py
+++ b/meta/lib/oe/__init__.py
@@ -1,2 +1,6 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1from pkgutil import extend_path 5from pkgutil import extend_path
2__path__ = extend_path(__path__, __name__) 6__path__ = extend_path(__path__, __name__)
diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py
index d3cde4f650..62c7a2e58e 100644
--- a/meta/lib/oe/buildhistory_analysis.py
+++ b/meta/lib/oe/buildhistory_analysis.py
@@ -3,6 +3,8 @@
3# Copyright (C) 2012-2013, 2016-2017 Intel Corporation 3# Copyright (C) 2012-2013, 2016-2017 Intel Corporation
4# Author: Paul Eggleton <paul.eggleton@linux.intel.com> 4# Author: Paul Eggleton <paul.eggleton@linux.intel.com>
5# 5#
6# SPDX-License-Identifier: GPL-2.0-only
7#
6# Note: requires GitPython 0.3.1+ 8# Note: requires GitPython 0.3.1+
7# 9#
8# You can use this from the command line by running scripts/buildhistory-diff 10# You can use this from the command line by running scripts/buildhistory-diff
diff --git a/meta/lib/oe/cachedpath.py b/meta/lib/oe/cachedpath.py
index 0840cc4c3f..254257a83f 100644
--- a/meta/lib/oe/cachedpath.py
+++ b/meta/lib/oe/cachedpath.py
@@ -1,4 +1,6 @@
1# 1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
2# Based on standard python library functions but avoid 4# Based on standard python library functions but avoid
3# repeated stat calls. Its assumed the files will not change from under us 5# repeated stat calls. Its assumed the files will not change from under us
4# so we can cache stat calls. 6# so we can cache stat calls.
diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py
index 662707b859..e25122e815 100644
--- a/meta/lib/oe/classextend.py
+++ b/meta/lib/oe/classextend.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import collections 5import collections
2 6
3class ClassExtender(object): 7class ClassExtender(object):
diff --git a/meta/lib/oe/classutils.py b/meta/lib/oe/classutils.py
index 45cd5249be..08bb66b365 100644
--- a/meta/lib/oe/classutils.py
+++ b/meta/lib/oe/classutils.py
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
1 4
2class ClassRegistryMeta(type): 5class ClassRegistryMeta(type):
3 """Give each ClassRegistry their own registry""" 6 """Give each ClassRegistry their own registry"""
diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py
index 7cb784cf8c..5b96121ddb 100644
--- a/meta/lib/oe/copy_buildsystem.py
+++ b/meta/lib/oe/copy_buildsystem.py
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
1# This class should provide easy access to the different aspects of the 4# This class should provide easy access to the different aspects of the
2# buildsystem such as layers, bitbake location, etc. 5# buildsystem such as layers, bitbake location, etc.
3# 6#
diff --git a/meta/lib/oe/data.py b/meta/lib/oe/data.py
index b8901e63f5..602130a904 100644
--- a/meta/lib/oe/data.py
+++ b/meta/lib/oe/data.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import json 5import json
2import oe.maketype 6import oe.maketype
3 7
diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py
index e775c3a6ec..88e46c354d 100644
--- a/meta/lib/oe/distro_check.py
+++ b/meta/lib/oe/distro_check.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1def create_socket(url, d): 5def create_socket(url, d):
2 import urllib 6 import urllib
3 from bb.utils import export_proxies 7 from bb.utils import export_proxies
diff --git a/meta/lib/oe/elf.py b/meta/lib/oe/elf.py
index 4cc9a9a097..2562cea1dd 100644
--- a/meta/lib/oe/elf.py
+++ b/meta/lib/oe/elf.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1def machine_dict(d): 5def machine_dict(d):
2# TARGET_OS TARGET_ARCH MACHINE, OSABI, ABIVERSION, Little Endian, 32bit? 6# TARGET_OS TARGET_ARCH MACHINE, OSABI, ABIVERSION, Little Endian, 32bit?
3 machdata = { 7 machdata = {
diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py
index ccd5aee420..a95d2ba34c 100644
--- a/meta/lib/oe/gpg_sign.py
+++ b/meta/lib/oe/gpg_sign.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1"""Helper module for GPG signing""" 5"""Helper module for GPG signing"""
2import os 6import os
3 7
diff --git a/meta/lib/oe/license.py b/meta/lib/oe/license.py
index 04f5b316a9..c1274a61de 100644
--- a/meta/lib/oe/license.py
+++ b/meta/lib/oe/license.py
@@ -1,4 +1,6 @@
1# vi:sts=4:sw=4:et 1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
2"""Code for parsing OpenEmbedded license strings""" 4"""Code for parsing OpenEmbedded license strings"""
3 5
4import ast 6import ast
diff --git a/meta/lib/oe/lsb.py b/meta/lib/oe/lsb.py
index 71c0992c5d..4f2b419edc 100644
--- a/meta/lib/oe/lsb.py
+++ b/meta/lib/oe/lsb.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1def get_os_release(): 5def get_os_release():
2 """Get all key-value pairs from /etc/os-release as a dict""" 6 """Get all key-value pairs from /etc/os-release as a dict"""
3 from collections import OrderedDict 7 from collections import OrderedDict
diff --git a/meta/lib/oe/maketype.py b/meta/lib/oe/maketype.py
index c36e7b5604..d929c8b3e5 100644
--- a/meta/lib/oe/maketype.py
+++ b/meta/lib/oe/maketype.py
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
1"""OpenEmbedded variable typing support 4"""OpenEmbedded variable typing support
2 5
3Types are defined in the metadata by name, using the 'type' flag on a 6Types are defined in the metadata by name, using the 'type' flag on a
diff --git a/meta/lib/oe/manifest.py b/meta/lib/oe/manifest.py
index 674303c866..f7c88f9a09 100644
--- a/meta/lib/oe/manifest.py
+++ b/meta/lib/oe/manifest.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1from abc import ABCMeta, abstractmethod 5from abc import ABCMeta, abstractmethod
2import os 6import os
3import re 7import re
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py
index 6e83f01f14..b59513227b 100644
--- a/meta/lib/oe/package.py
+++ b/meta/lib/oe/package.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import stat 5import stat
2import mmap 6import mmap
3import subprocess 7import subprocess
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 2835c1ddf8..06feb4def7 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1from abc import ABCMeta, abstractmethod 5from abc import ABCMeta, abstractmethod
2import os 6import os
3import glob 7import glob
diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py
index 32e5c82a94..cbde380b03 100644
--- a/meta/lib/oe/packagedata.py
+++ b/meta/lib/oe/packagedata.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import codecs 5import codecs
2import os 6import os
3 7
diff --git a/meta/lib/oe/packagegroup.py b/meta/lib/oe/packagegroup.py
index 4bc5d3e4bb..2419cbb6d3 100644
--- a/meta/lib/oe/packagegroup.py
+++ b/meta/lib/oe/packagegroup.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import itertools 5import itertools
2 6
3def is_optional(feature, d): 7def is_optional(feature, d):
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index f43cf047c0..d8e4ef5398 100644
--- a/meta/lib/oe/patch.py
+++ b/meta/lib/oe/patch.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import oe.path 5import oe.path
2import oe.types 6import oe.types
3 7
diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py
index c09eda5c42..fa209b9795 100644
--- a/meta/lib/oe/path.py
+++ b/meta/lib/oe/path.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import errno 5import errno
2import glob 6import glob
3import shutil 7import shutil
diff --git a/meta/lib/oe/prservice.py b/meta/lib/oe/prservice.py
index 32dfc15e88..b1132ccb11 100644
--- a/meta/lib/oe/prservice.py
+++ b/meta/lib/oe/prservice.py
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
1 4
2def prserv_make_conn(d, check = False): 5def prserv_make_conn(d, check = False):
3 import prserv.serv 6 import prserv.serv
diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py
index 59c72ce580..21066c4dc3 100644
--- a/meta/lib/oe/qa.py
+++ b/meta/lib/oe/qa.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import os, struct, mmap 5import os, struct, mmap
2 6
3class NotELFFileError(Exception): 7class NotELFFileError(Exception):
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index 4ca200d834..1e5b9a49f9 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -4,6 +4,8 @@
4# 4#
5# Copyright (C) 2013-2017 Intel Corporation 5# Copyright (C) 2013-2017 Intel Corporation
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7 9
8import sys 10import sys
9import os 11import os
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index b7c0b9c24b..9358f562c8 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
1from abc import ABCMeta, abstractmethod 4from abc import ABCMeta, abstractmethod
2from oe.utils import execute_pre_post_process 5from oe.utils import execute_pre_post_process
3from oe.package_manager import * 6from oe.package_manager import *
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py
index 878ee1647f..b4fbdb799e 100644
--- a/meta/lib/oe/sdk.py
+++ b/meta/lib/oe/sdk.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1from abc import ABCMeta, abstractmethod 5from abc import ABCMeta, abstractmethod
2from oe.utils import execute_pre_post_process 6from oe.utils import execute_pre_post_process
3from oe.manifest import * 7from oe.manifest import *
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index a83af519ec..417943db90 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
1import bb.siggen 4import bb.siggen
2import oe 5import oe
3 6
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index e4045559fc..9bda3efdc7 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
1import logging 4import logging
2import oe.classutils 5import oe.classutils
3import shlex 6import shlex
diff --git a/meta/lib/oe/types.py b/meta/lib/oe/types.py
index 1eebba5a38..77ee7ee541 100644
--- a/meta/lib/oe/types.py
+++ b/meta/lib/oe/types.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import errno 5import errno
2import re 6import re
3import os 7import os
diff --git a/meta/lib/oe/useradd.py b/meta/lib/oe/useradd.py
index 179ac76b5e..bedfe0ecb5 100644
--- a/meta/lib/oe/useradd.py
+++ b/meta/lib/oe/useradd.py
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
1import argparse 4import argparse
2import re 5import re
3 6
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index 59251810d4..d686ce1bf6 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -1,3 +1,7 @@
1#
2# SPDX-License-Identifier: GPL-2.0-only
3#
4
1import subprocess 5import subprocess
2import multiprocessing 6import multiprocessing
3import traceback 7import traceback