devnodes-minimal: new recipe to create /dev/console and /dev/null
[opendreambox.git] / meta-opendreambox / recipes-devtools / opkg / opkg / 0012-don-t-install-recommended-packages-automatically-but.patch
1 From 7e8d883597fb4195f268cb5dc3777e1ec84fbd29 Mon Sep 17 00:00:00 2001
2 From: Andreas Monzner <andreas.monzner@dream-property.net>
3 Date: Tue, 5 Mar 2013 22:25:44 +0100
4 Subject: [PATCH 12/17] don't install recommended packages automatically, but
5  print a message
6
7 ---
8  libopkg/pkg_depends.c | 5 +++++
9  1 file changed, 5 insertions(+)
10
11 diff --git a/libopkg/pkg_depends.c b/libopkg/pkg_depends.c
12 index 2422fb5..e4bac38 100644
13 --- a/libopkg/pkg_depends.c
14 +++ b/libopkg/pkg_depends.c
15 @@ -236,6 +236,11 @@ pkg_hash_fetch_unsatisfied_dependencies(pkg_t * pkg, pkg_vec_t *unsatisfied,
16                          /* just mention it politely */
17                          opkg_msg(NOTICE, "package %s suggests installing %s\n",
18                                 pkg->name, satisfier_entry_pkg->name);
19 +                   }
20 +                   else if (compound_depend->type == RECOMMEND) {
21 +                        /* just mention it politely */
22 +                        opkg_msg(NOTICE, "package %s recommend installing %s\n",
23 +                               pkg->name, satisfier_entry_pkg->name);
24                     } else {
25                          char ** newstuff = NULL;
26  
27 -- 
28 1.8.1.2
29