From 7aa14bff1aecd178c6663925a3674b24af7ab4a3 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 18 Aug 2014 11:08:41 -0400 Subject: install: Put pkg idx files in /var/lib/opkg/lists --- (limited to 'lib/cmd') 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}") -- cgit v0.9.1