summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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))