libopkg: mark to-be-installed non-local, non-url packages for detail parsing
authorJo-Philipp Wich <jo@mein.io>
Wed, 15 Feb 2017 22:54:13 +0000 (23:54 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 16 Feb 2017 16:02:30 +0000 (17:02 +0100)
commite9405aa794b033500d17d75923b7358616b00c08
tree37c2819d74c68536a0b40b385ade39f29a630d45
parent7c48e3fca6faf9bfa1461392dbe18a58a797653d
libopkg: mark to-be-installed non-local, non-url packages for detail parsing

When just a package name is passed to opkg install, we need to retrieve
information about this package from the feeds list so stage an abstract
package with the given name and flag it with SF_NEED_DETAIL.

Packages specified as local file paths or direct download URLs do not
need this special treatment as the required details can be extracted
from their embedded control files.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/opkg_download.c