summaryrefslogtreecommitdiffstats
path: root/lib/cmd/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cmd/install.sh')
-rw-r--r--lib/cmd/install.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh
index 6cee601..f9ac390 100644
--- a/lib/cmd/install.sh
+++ b/lib/cmd/install.sh
@@ -82,13 +82,15 @@ cmd_install_find_pkgs()
local feed_idx=
local feed=
+ mkdir -p "${chroot}/var/lib/opkg/lists"
+
while read -r feed_idx feed; do
feed_download "${feed}" \
- >"${chroot}/.prokit/${feed_idx}.index"
+ >"${chroot}/var/lib/opkg/lists/${feed_idx}"
feed_find_pkgs 'profile_include_pkg' "$(profile_dep_fields)" \
"${chroot}/.prokit/${feed_idx}.depends" \
"${chroot}/.prokit/${feed_idx}.filenames" \
- <"${chroot}/.prokit/${feed_idx}.index" \
+ <"${chroot}/var/lib/opkg/lists/${feed_idx}"
>>"${chroot}/.prokit/packages"
done <<-EOF
$(profile_feeds "${arch}" "${plat}" "${suite}")