From 3b6ed0d8f142b9b48b3852f94be4e9a9a3ee094b Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 16 Apr 2019 22:51:17 -0400 Subject: install_find_pkgs(): Create /var/cache/opkg/ Needed by opkg-cert for last-cert-check file. --- 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 \ -- cgit v0.9.1