diff options
author | Paul Barker <paul@paulbarker.me.uk> | 2014-04-24 21:56:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-25 17:19:19 +0100 |
commit | 9183987e6b6302a40bed83dc0bcf908d9a00b86b (patch) | |
tree | 8b854527beb7afd96f8fa43a30d64dace5c5a5a3 /meta/recipes-devtools/opkg/opkg/no-install-recommends.patch | |
parent | 4c14b094985216c433d330fb3d9532d4b6c91fcf (diff) | |
download | poky-9183987e6b6302a40bed83dc0bcf908d9a00b86b.tar.gz |
opkg: Upgrade to v0.2.2
The patches for opkg have been rebased using git so that they apply cleanly onto
the new release.
(From OE-Core rev: 354e25fe51a8e85122898d1849008ace5dbe9461)
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg/no-install-recommends.patch')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg/no-install-recommends.patch | 53 |
1 files changed, 33 insertions, 20 deletions
diff --git a/meta/recipes-devtools/opkg/opkg/no-install-recommends.patch b/meta/recipes-devtools/opkg/opkg/no-install-recommends.patch index 6d1ccecbf4..bcca56c6ce 100644 --- a/meta/recipes-devtools/opkg/opkg/no-install-recommends.patch +++ b/meta/recipes-devtools/opkg/opkg/no-install-recommends.patch | |||
@@ -1,14 +1,24 @@ | |||
1 | From 610207c9bc82f20c77d6f234465e36857c997ea0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Barker <paul@paulbarker.me.uk> | ||
3 | Date: Fri, 28 Mar 2014 15:19:08 +0000 | ||
4 | Subject: [PATCH 1/2] opkg-0.2.x: no-install-recommends | ||
5 | |||
1 | Add the ability to not install ANY recommended packages. | 6 | Add the ability to not install ANY recommended packages. |
2 | 7 | ||
3 | Upstream-Status: Pending | 8 | Upstream-Status: Pending |
4 | 9 | ||
5 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | 10 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> |
11 | --- | ||
12 | libopkg/opkg_conf.h | 1 + | ||
13 | libopkg/pkg_depends.c | 3 ++- | ||
14 | src/opkg-cl.c | 7 +++++++ | ||
15 | 3 files changed, 10 insertions(+), 1 deletion(-) | ||
6 | 16 | ||
7 | Index: trunk/libopkg/opkg_conf.h | 17 | diff --git a/libopkg/opkg_conf.h b/libopkg/opkg_conf.h |
8 | =================================================================== | 18 | index 38fa375..6045a58 100644 |
9 | --- trunk.orig/libopkg/opkg_conf.h | 19 | --- a/libopkg/opkg_conf.h |
10 | +++ trunk/libopkg/opkg_conf.h | 20 | +++ b/libopkg/opkg_conf.h |
11 | @@ -80,6 +80,7 @@ struct opkg_conf | 21 | @@ -82,6 +82,7 @@ struct opkg_conf |
12 | int prefer_arch_to_version; | 22 | int prefer_arch_to_version; |
13 | int check_signature; | 23 | int check_signature; |
14 | int nodeps; /* do not follow dependencies */ | 24 | int nodeps; /* do not follow dependencies */ |
@@ -16,10 +26,10 @@ Index: trunk/libopkg/opkg_conf.h | |||
16 | char *offline_root; | 26 | char *offline_root; |
17 | char *overlay_root; | 27 | char *overlay_root; |
18 | int query_all; | 28 | int query_all; |
19 | Index: trunk/libopkg/pkg_depends.c | 29 | diff --git a/libopkg/pkg_depends.c b/libopkg/pkg_depends.c |
20 | =================================================================== | 30 | index a4df7de..d2d279e 100644 |
21 | --- trunk.orig/libopkg/pkg_depends.c | 31 | --- a/libopkg/pkg_depends.c |
22 | +++ trunk/libopkg/pkg_depends.c | 32 | +++ b/libopkg/pkg_depends.c |
23 | @@ -19,6 +19,7 @@ | 33 | @@ -19,6 +19,7 @@ |
24 | #include <ctype.h> | 34 | #include <ctype.h> |
25 | 35 | ||
@@ -28,7 +38,7 @@ Index: trunk/libopkg/pkg_depends.c | |||
28 | #include "opkg_utils.h" | 38 | #include "opkg_utils.h" |
29 | #include "pkg_hash.h" | 39 | #include "pkg_hash.h" |
30 | #include "opkg_message.h" | 40 | #include "opkg_message.h" |
31 | @@ -204,7 +205,7 @@ pkg_hash_fetch_unsatisfied_dependencies( | 41 | @@ -204,7 +205,7 @@ pkg_hash_fetch_unsatisfied_dependencies(pkg_t * pkg, pkg_vec_t *unsatisfied, |
32 | /* user request overrides package recommendation */ | 42 | /* user request overrides package recommendation */ |
33 | if (satisfying_pkg != NULL | 43 | if (satisfying_pkg != NULL |
34 | && (compound_depend->type == RECOMMEND || compound_depend->type == SUGGEST) | 44 | && (compound_depend->type == RECOMMEND || compound_depend->type == SUGGEST) |
@@ -37,10 +47,10 @@ Index: trunk/libopkg/pkg_depends.c | |||
37 | opkg_msg(NOTICE, "%s: ignoring recommendation for " | 47 | opkg_msg(NOTICE, "%s: ignoring recommendation for " |
38 | "%s at user request\n", | 48 | "%s at user request\n", |
39 | pkg->name, satisfying_pkg->name); | 49 | pkg->name, satisfying_pkg->name); |
40 | Index: trunk/src/opkg-cl.c | 50 | diff --git a/src/opkg-cl.c b/src/opkg-cl.c |
41 | =================================================================== | 51 | index b711511..0315d41 100644 |
42 | --- trunk.orig/src/opkg-cl.c | 52 | --- a/src/opkg-cl.c |
43 | +++ trunk/src/opkg-cl.c | 53 | +++ b/src/opkg-cl.c |
44 | @@ -50,6 +50,7 @@ enum { | 54 | @@ -50,6 +50,7 @@ enum { |
45 | ARGS_OPT_NODEPS, | 55 | ARGS_OPT_NODEPS, |
46 | ARGS_OPT_AUTOREMOVE, | 56 | ARGS_OPT_AUTOREMOVE, |
@@ -68,11 +78,14 @@ Index: trunk/src/opkg-cl.c | |||
68 | conf->download_only = 1; | 78 | conf->download_only = 1; |
69 | break; | 79 | break; |
70 | @@ -293,6 +298,8 @@ usage() | 80 | @@ -293,6 +298,8 @@ usage() |
71 | printf("\t--noaction No action -- test only\n"); | 81 | printf("\t--noaction No action -- test only\n"); |
72 | printf("\t--download-only No action -- download only\n"); | 82 | printf("\t--download-only No action -- download only\n"); |
73 | printf("\t--nodeps Do not follow dependencies\n"); | 83 | printf("\t--nodeps Do not follow dependencies\n"); |
74 | + printf("\t--no-install-recommends\n"); | 84 | + printf("\t--no-install-recommends\n"); |
75 | + printf("\t Do not install any recommended packages\n"); | 85 | + printf("\t Do not install any recommended packages\n"); |
76 | printf("\t--force-removal-of-dependent-packages\n"); | 86 | printf("\t--force-removal-of-dependent-packages\n"); |
77 | printf("\t Remove package and all dependencies\n"); | 87 | printf("\t Remove package and all dependencies\n"); |
78 | printf("\t--autoremove Remove packages that were installed\n"); | 88 | printf("\t--autoremove Remove packages that were installed\n"); |
89 | -- | ||
90 | 1.9.1 | ||
91 | |||