Skip to content

fix smart install with --attempt failed

Hongxu Jia openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rootfs.py: catch inner warn messagemeta/lib/oe/rootfs.py+19 -10 replies
2/2package_manager.py: ignore failed smart install with --attemptmeta/lib/oe/package_manager.py+37 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] fix smart install with --attempt failed

Test steps:

1. vim local.conf
...
IMAGE_INSTALL_append = "shadow man-pages hdparm"
EXTRA_IMAGE_FEATURES += "doc-pkgs"
...

2. bitbake core-image-minimal
...
|WARNING: Unable attempt to install packages. Command '...' returned 1:
|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
|error: file /usr/share/man/man3/getspnam.3 from install of shadow-doc-4.2.1-r0.i586 conflicts with file from package man-pages-3.71-r0.i586

|WARNING: Attempt to install again:...
|NOTE: Tasks Summary: Attempted 2198 tasks of which 2172 didn't need to be rerun and all succeeded.
...

The rest doc packages installed successfully.

//Hongxu

The following changes since commit 8ac8eca2e3bd8c78e2b31ea974930ed0243258a3:

build-appliance-image: Update to dizzy head revision (2014-09-23 22:10:26 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib hongxu/fix-attempt-install
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-attempt-install

Hongxu Jia (2):
rootfs.py: catch inner warn message package_manager.py: ignore failed smart install with --attempt

 meta/lib/oe/package_manager.py | 38 +++++++++++++++++++++++++++++++++++++-
 meta/lib/oe/rootfs.py          | 20 +++++++++++++++++++-
 2 files changed, 56 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1