|
|
|
@ -6,7 +6,7 @@ Signed-off-by: Nicolas Thill <nico@openwrt.org>
|
|
|
|
|
|
|
|
|
|
--- a/libopkg/opkg_conf.c
|
|
|
|
|
+++ b/libopkg/opkg_conf.c
|
|
|
|
|
@@ -62,6 +62,7 @@
|
|
|
|
|
@@ -62,6 +62,7 @@ opkg_option_t options[] = {
|
|
|
|
|
{ "download_only", OPKG_OPT_TYPE_BOOL, &_conf.download_only },
|
|
|
|
|
{ "nodeps", OPKG_OPT_TYPE_BOOL, &_conf.nodeps },
|
|
|
|
|
{ "offline_root", OPKG_OPT_TYPE_STRING, &_conf.offline_root },
|
|
|
|
@ -16,7 +16,7 @@ Signed-off-by: Nicolas Thill <nico@openwrt.org>
|
|
|
|
|
{ "query-all", OPKG_OPT_TYPE_BOOL, &_conf.query_all },
|
|
|
|
|
--- a/libopkg/opkg_conf.h
|
|
|
|
|
+++ b/libopkg/opkg_conf.h
|
|
|
|
|
@@ -76,6 +76,7 @@
|
|
|
|
|
@@ -76,6 +76,7 @@ struct opkg_conf
|
|
|
|
|
int check_signature;
|
|
|
|
|
int nodeps; /* do not follow dependences */
|
|
|
|
|
char *offline_root;
|
|
|
|
@ -34,7 +34,7 @@ Signed-off-by: Nicolas Thill <nico@openwrt.org>
|
|
|
|
|
|
|
|
|
|
#include "pkg.h"
|
|
|
|
|
#include "pkg_hash.h"
|
|
|
|
|
@@ -189,13 +190,24 @@
|
|
|
|
|
@@ -189,13 +190,24 @@ static int
|
|
|
|
|
verify_pkg_installable(pkg_t *pkg)
|
|
|
|
|
{
|
|
|
|
|
unsigned long kbs_available, pkg_size_kbs;
|
|
|
|
|