summaryrefslogtreecommitdiff
path: root/packages/linux-kernel/build-jool.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-04 21:13:49 +0200
committerChristian Breunig <christian@breunig.cc>2024-09-07 21:31:46 +0200
commitfd7d1d0d208f5857d84f1bc48577ff775a67b823 (patch)
tree1bc41376624394fc4d9f6bc940bacb7e1ba60115 /packages/linux-kernel/build-jool.py
parentae3e89deeaf80eb2457aa9235e19e9da1fb2f1ad (diff)
downloadvyos-build-fd7d1d0d208f5857d84f1bc48577ff775a67b823.tar.gz
vyos-build-fd7d1d0d208f5857d84f1bc48577ff775a67b823.zip
Kernel: T861: remove superfluous architecture from Kernel string
Diffstat (limited to 'packages/linux-kernel/build-jool.py')
-rwxr-xr-xpackages/linux-kernel/build-jool.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/linux-kernel/build-jool.py b/packages/linux-kernel/build-jool.py
index 1781a6c8..3f8fd3a5 100755
--- a/packages/linux-kernel/build-jool.py
+++ b/packages/linux-kernel/build-jool.py
@@ -29,9 +29,8 @@ def add_depends(package_dir: str, package_name: str,
# find kernel version and source path
arch: str = find_arch()
defaults_file: str = Path('../../data/defaults.toml').read_text()
-architecture_file: str = Path(f'../../data/architectures/{arch}.toml').read_text()
KERNEL_VER: str = toml_loads(defaults_file).get('kernel_version')
-KERNEL_FLAVOR: str = toml_loads(architecture_file).get('kernel_flavor')
+KERNEL_FLAVOR: str = toml_loads(defaults_file).get('kernel_flavor')
KERNEL_SRC: str = Path.cwd().as_posix() + '/linux'
# define variables