]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
package_manager: Move OpkgDpkgPM into common module
authorPhilip Lorenz <philip.lorenz@bmw.de>
Thu, 16 May 2024 07:24:38 +0000 (09:24 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 May 2024 08:38:20 +0000 (09:38 +0100)
commitc7830c5879f6fa68fa9f47ee59b7bf7f2d276c81
tree97aa6b5a379205fcc904bc36533ec958b57bc81a
parent1e2b02a54f482159e21902eeb997b21e00e9588e
package_manager: Move OpkgDpkgPM into common module

The OpkgDpkgPM class was introduced to share common functionality
between the Opkg and Debian package manager implementations. However,
for unknown reasons , the refactoring done in
5bc67f55028407de78ac09f97f9a47b165ae8760 duplicated the common class
into the deb and ipk modules. Undo this part of the change by moving the
common base class into a newly created module.

The two variants did not diverge a lot (next to the payload name
generalization, the Debian variant missed
17e2eaed036e1da8e7cb42cb3de51b9523ba54ec) and as such no regressions
should be expected.

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager/common_deb_ipk.py [new file with mode: 0644]
meta/lib/oe/package_manager/deb/__init__.py
meta/lib/oe/package_manager/ipk/__init__.py