summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-09 20:46:43 +0100
committerGitHub <noreply@github.com>2022-11-09 20:46:43 +0100
commit77f4ba82f27552e2f395e1bd9d9b74c7368c03d2 (patch)
tree779003d3b0e42c54bddd62515a3f8fb2a3677dd5 /scripts
parent371cc7d6c7135da3d19bf44bac9bb8266fd93124 (diff)
parentca6a82792cfe8cc9df3610243a75720b678f75c7 (diff)
downloadvyos-build-77f4ba82f27552e2f395e1bd9d9b74c7368c03d2.tar.gz
vyos-build-77f4ba82f27552e2f395e1bd9d9b74c7368c03d2.zip
Merge pull request #276 from ssasso/fix_T4800
Fix T4800: wrong chroot_includes_dir var reference
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-vyos-image2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-vyos-image b/scripts/build-vyos-image
index 5242a7d..16b8228 100755
--- a/scripts/build-vyos-image
+++ b/scripts/build-vyos-image
@@ -412,7 +412,7 @@ if __name__ == "__main__":
## Create includes
if has_nonempty_key(build_config, "includes_chroot"):
for i in build_config["includes_chroot"]:
- file_path = os.path.join(includes_chroot_dir, i["path"])
+ file_path = os.path.join(chroot_includes_dir, i["path"])
os.makedirs(os.path.dirname(file_path), exist_ok=True)
with open(file_path, 'w') as f:
f.write(i["data"])