]> code.ossystems Code Review - openembedded-core.git/commit
python-smartpm: report warn rather than error during install with --attempt
authorHongxu Jia <hongxu.jia@windriver.com>
Wed, 29 Oct 2014 05:54:50 +0000 (13:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Nov 2014 10:20:34 +0000 (10:20 +0000)
commitbeb2e989e24e671fecd37805876dfb2375ee0df6
tree24e21bc243c464d729302e47844850c7d8bfc279
parent32357da67fa640bc0c14048af1d7b8dbbe8e775e
python-smartpm: report warn rather than error during install with --attempt

With the following config and build image:
...
IMAGE_INSTALL_append = "shadow man-pages"
EXTRA_IMAGE_FEATURES += "doc-pkgs"
...

There is an error during install with --attempt, and it breaks the build.
...
|error: file /usr/share/man/man5/passwd.5 from install of
shadow-doc-4.2.1-r0.i586 conflicts with file from package
man-pages-3.71-r0.i586
...

For complementary and 'attemptonly' package processing, we should make sure
the warn rather than error messages reported.

[YOCTO #6769]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python-smartpm/smart-attempt.patch