summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
l---------build-vyos-image2
-rwxr-xr-xscripts/image-build/build-vyos-image (renamed from scripts/build-vyos-image)5
-rw-r--r--scripts/image-build/defaults.py (renamed from scripts/vyos_build_defaults.py)2
-rw-r--r--scripts/image-build/utils.py (renamed from scripts/vyos_build_utils.py)5
4 files changed, 8 insertions, 6 deletions
diff --git a/build-vyos-image b/build-vyos-image
index 360be935..0c61a9d5 120000
--- a/build-vyos-image
+++ b/build-vyos-image
@@ -1 +1 @@
-scripts/build-vyos-image \ No newline at end of file
+scripts/image-build/build-vyos-image \ No newline at end of file
diff --git a/scripts/build-vyos-image b/scripts/image-build/build-vyos-image
index aa0a6aad..59ea0338 100755
--- a/scripts/build-vyos-image
+++ b/scripts/image-build/build-vyos-image
@@ -40,8 +40,9 @@ except ModuleNotFoundError as e:
print(f"Cannot load a required library: {e}")
print("Please make sure the following Python3 modules are installed: tomli jinja2 git")
-import vyos_build_utils as utils
-import vyos_build_defaults as defaults
+# Local modules
+import utils
+import defaults
# argparse converts hyphens to underscores,
# so for lookups in the original options hash we have to convert them back
diff --git a/scripts/vyos_build_defaults.py b/scripts/image-build/defaults.py
index 1e153f4b..1d7141ea 100644
--- a/scripts/vyos_build_defaults.py
+++ b/scripts/image-build/defaults.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2018 VyOS maintainers and contributors
+# Copyright (C) 2024 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
diff --git a/scripts/vyos_build_utils.py b/scripts/image-build/utils.py
index ed358848..6906c52d 100644
--- a/scripts/vyos_build_utils.py
+++ b/scripts/image-build/utils.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2015 VyOS maintainers and contributors
+# Copyright (C) 2024 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
@@ -21,7 +21,8 @@ import sys
import os
from distutils.spawn import find_executable
-import vyos_build_defaults as defaults
+# Local modules
+import defaults
def check_build_config():
if not os.path.exists(defaults.BUILD_CONFIG):