summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_conf.h
diff options
context:
space:
mode:
authorpixdamix@gmail.com <pixdamix@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2012-11-22 04:18:13 (EST)
committer pixdamix@gmail.com <pixdamix@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2012-11-22 04:18:13 (EST)
commit15f255915ce893750165c89af9d1ebbbc571a8dc (patch)
tree6b2a4e8bf8572fab6e57a6f9062638c3dbb83168 /libopkg/opkg_conf.h
parent2ba1bc82c6dd55d6ad3903d7b9f25861f1b42ef8 (diff)
Add the --prefer-arch-to-version option
If there were more than one candidate which had the same pkg name in the candidate list, for example, the same pkg with different versions, then it would use the last one which was the highest version one in the past, but it will use the higher arch priority when this option is specified. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> git-svn-id: http://opkg.googlecode.com/svn/trunk@643 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg_conf.h')
-rw-r--r--libopkg/opkg_conf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopkg/opkg_conf.h b/libopkg/opkg_conf.h
index 3a60bc5..75b4cd6 100644
--- a/libopkg/opkg_conf.h
+++ b/libopkg/opkg_conf.h
@@ -77,6 +77,7 @@ struct opkg_conf
int force_removal_of_essential_packages;
int force_postinstall;
int force_remove;
+ int prefer_arch_to_version;
int check_signature;
int nodeps; /* do not follow dependencies */
char *offline_root;