diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-08-10 11:13:33 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-12 17:21:54 +0100 |
commit | 93084574046b2b64826bd5ebde55a0504f3b9283 (patch) | |
tree | 523ff2167f66b670746930e855281d91e9fe35c2 /meta/recipes-devtools/rpm/rpm/rpm-no-loopmsg.patch | |
parent | 8bc2ebf59a82de568b6543246d6e5aa9769a03d5 (diff) | |
download | poky-93084574046b2b64826bd5ebde55a0504f3b9283.tar.gz |
rpm: Fix the canonical arch --target processing and cleanup
[YOCTO #1352]
Fix the canonical arch --target processor to work with the way OE
handles the GNU canonical arch.
Also cleanup a number of files that are no longer used, and refactor
the no-loop patch into the "no-loopmsg" patch.
(From OE-Core rev: 25904ad2bdeadda9189805bb7a210eafe5795024)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/rpm-no-loopmsg.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm/rpm-no-loopmsg.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-no-loopmsg.patch b/meta/recipes-devtools/rpm/rpm/rpm-no-loopmsg.patch new file mode 100644 index 0000000000..4aded7518e --- /dev/null +++ b/meta/recipes-devtools/rpm/rpm/rpm-no-loopmsg.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | lib/order.c: Make the dependency loop messages into debug msgs | ||
2 | |||
3 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
4 | |||
5 | diff -urN rpm-5.4.0.orig/lib/order.c rpm-5.4.0/lib/order.c | ||
6 | --- rpm-5.4.0.orig/lib/order.c 2010-12-13 17:36:39.000000000 -0600 | ||
7 | +++ rpm-5.4.0/lib/order.c 2011-08-10 11:11:43.194686332 -0500 | ||
8 | @@ -2170,7 +2170,7 @@ | ||
9 | const char * dp; | ||
10 | rpmlogLvl msglvl = (anaconda || (rpmtsDFlags(ts) & RPMDEPS_FLAG_DEPLOOPS)) | ||
11 | ? RPMLOG_WARNING : RPMLOG_ERR; | ||
12 | -#if defined(RPM_VENDOR_MANDRIVA) /* loop-detection-optional-loglevel */ | ||
13 | +#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_POKY) /* loop-detection-optional-loglevel */ | ||
14 | // Report loops as debug-level message by default (7 = RPMLOG_DEBUG), overridable | ||
15 | msglvl = rpmExpandNumeric("%{?_loop_detection_loglevel}%{?!_loop_detection_loglevel:7}"); | ||
16 | #endif | ||