summaryrefslogtreecommitdiffstats
path: root/src/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/install.sh')
-rw-r--r--src/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.sh b/src/install.sh
index 8b97d4f..1db5154 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -145,7 +145,7 @@ install_find_pkgs()
# This is a hack to generate a fake certificate with some valid
# (but incorrect) key and the mirror-specific certificate URL to
# make opkg-cert download and verify the actual certificate.
- mkdir -p "${root}/etc/opkg/keys/"
+ mkdir -p "${root}/etc/opkg/keys/" "${root}/var/cache/opkg/"
root_key="$(profile_get_root_key)"
printf '%s\n' "${root_key}" \
>"${root}/etc/opkg/keys/$(_usign_fingerprint \