UBUNTU: [Packaging] update annotations scripts
BugLink: https://bugs.launchpad.net/bugs/1786013 Signed-off-by: Mehmet Basaran <mehmet.basaran@canonical.com>
This commit is contained in:
Vendored
+1
@@ -18,6 +18,7 @@ import sys
|
||||
sys.dont_write_bytecode = True
|
||||
|
||||
import os # noqa: E402 Import not at top of file
|
||||
|
||||
from kconfig import run # noqa: E402 Import not at top of file
|
||||
|
||||
|
||||
|
||||
+1
-2
@@ -6,10 +6,9 @@ import json
|
||||
import re
|
||||
import shutil
|
||||
import tempfile
|
||||
|
||||
from abc import abstractmethod
|
||||
from ast import literal_eval
|
||||
from os.path import dirname, abspath
|
||||
from os.path import abspath, dirname
|
||||
|
||||
from kconfig.version import ANNOTATIONS_FORMAT_VERSION
|
||||
|
||||
|
||||
Vendored
+5
-6
@@ -2,11 +2,11 @@
|
||||
# Manage Ubuntu kernel .config and annotations
|
||||
# Copyright © 2022 Canonical Ltd.
|
||||
|
||||
import sys
|
||||
import os
|
||||
import argparse
|
||||
import json
|
||||
from signal import signal, SIGPIPE, SIG_DFL
|
||||
import os
|
||||
import sys
|
||||
from signal import SIG_DFL, SIGPIPE, signal
|
||||
|
||||
try:
|
||||
from argcomplete import autocomplete
|
||||
@@ -17,9 +17,8 @@ except ModuleNotFoundError:
|
||||
|
||||
|
||||
from kconfig.annotations import Annotation, KConfig # noqa: E402 Import not at top of file
|
||||
from kconfig.utils import autodetect_annotations, arg_fail # noqa: E402 Import not at top of file
|
||||
from kconfig.version import VERSION, ANNOTATIONS_FORMAT_VERSION # noqa: E402 Import not at top of file
|
||||
|
||||
from kconfig.utils import arg_fail, autodetect_annotations # noqa: E402 Import not at top of file
|
||||
from kconfig.version import ANNOTATIONS_FORMAT_VERSION, VERSION # noqa: E402 Import not at top of file
|
||||
|
||||
SKIP_CONFIGS = (
|
||||
# CONFIG_VERSION_SIGNATURE is dynamically set during the build
|
||||
|
||||
Reference in New Issue
Block a user