mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
build scripts: T3664: move image build scripts to a dedicated directory
to avoid a mix of image build scripts and ancilliary scripts in the same directory
This commit is contained in:
parent
f08721e15b
commit
750819bfec
@ -1 +1 @@
|
||||
scripts/build-vyos-image
|
||||
scripts/image-build/build-vyos-image
|
||||
@ -39,8 +39,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
|
||||
@ -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
|
||||
@ -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):
|
||||
Loading…
x
Reference in New Issue
Block a user