summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJames Simpson <james.simpson@canonical.com>2022-11-07 13:48:50 +0800
committerjsimpso <james.simpson@canonical.com>2022-11-07 14:26:43 +0800
commit048aa40655583543b8e67313f7d57307592910cc (patch)
tree8d441ccf0a27a63a9d62a52d7eb2e52c81a76dea /scripts
parent509d4500da6868381b770539e8474ccee5212458 (diff)
downloadvyos-build-048aa40655583543b8e67313f7d57307592910cc.tar.gz
vyos-build-048aa40655583543b8e67313f7d57307592910cc.zip
T4796: Fix ARCHIVES_DIR 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 0b12752c..a9859ee6 100755
--- a/scripts/build-vyos-image
+++ b/scripts/build-vyos-image
@@ -397,7 +397,7 @@ if __name__ == "__main__":
# Add custom APT keys
if has_nonempty_key(build_config, 'custom_apt_key'):
- key_dir = ARCHIVES_DIR
+ key_dir = defaults.ARCHIVES_DIR
for k in build_config['custom_apt_key']:
dst_name = '{0}.key.chroot'.format(os.path.basename(k))
shutil.copy(k, os.path.join(key_dir, dst_name))