Re: [OE-core] [PATCH 23/36] rootfs_rpm.bbclass: migrate image creation to dnf

2017-02-15 Thread Alexander Kanavin
On 02/15/2017 01:18 PM, André Draszik wrote: Was there a specific reason to switch from rpm -e --nodeps to (the differently-working) dnf remove? No specific reason, just rewriting the code from scratch, coupled with poorly documented API for the class. There's too much cruft in the old code,

Re: [OE-core] [PATCH 23/36] rootfs_rpm.bbclass: migrate image creation to dnf

2017-02-15 Thread André Draszik
On Mon, 2017-02-13 at 17:05 +0200, Alexander Kanavin wrote: > To properly look at this patch, you probably need a side-by-side diff > viewing tool. I don't normally use rpm, but it seems to me that the new 'remove' is not right. Looking at the description, clean_requirements_on_remove is meant to

[OE-core] [PATCH 23/36] rootfs_rpm.bbclass: migrate image creation to dnf

2017-02-13 Thread Alexander Kanavin
To properly look at this patch, you probably need a side-by-side diff viewing tool. Signed-off-by: Alexander Kanavin --- meta/classes/rootfs_rpm.bbclass | 21 +- meta/lib/oe/package_manager.py | 1186 +++ meta/lib/oe/rootfs.py | 18 +- meta/lib