summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStefano Sasso <852093+ssasso@users.noreply.github.com>2022-11-05 13:08:28 +0000
committerStefano Sasso <852093+ssasso@users.noreply.github.com>2022-11-05 13:08:28 +0000
commitca6a82792cfe8cc9df3610243a75720b678f75c7 (patch)
treefd69e2034dbe68f493a5d31f0918fa77ec1b5028 /scripts
parent3871fb67ec18f841c5168be0b267427efaf74cdb (diff)
downloadvyos-build-ca6a82792cfe8cc9df3610243a75720b678f75c7.tar.gz
vyos-build-ca6a82792cfe8cc9df3610243a75720b678f75c7.zip
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 9bb48ed1..2362ab1f 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"])