diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-16 22:51:17 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-16 22:51:17 (EDT) |
commit | 3b6ed0d8f142b9b48b3852f94be4e9a9a3ee094b (patch) | |
tree | f715941ad53a27fcc8bd3b7aab58d307f301dc17 /src | |
parent | ceb64508effc1b9223ea07866418760f434e57a2 (diff) |
install_find_pkgs(): Create /var/cache/opkg/
Needed by opkg-cert for last-cert-check file.
Diffstat (limited to 'src')
-rw-r--r-- | src/install.sh | 2 |
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 \ |