]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
package_manager: Share more common DEB / IPK code
authorPhilip Lorenz <philip.lorenz@bmw.de>
Thu, 16 May 2024 07:24:39 +0000 (09:24 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 May 2024 08:38:20 +0000 (09:38 +0100)
commitc4b126e216dfe8251ec55074be78188fcc3fcea8
treee1433802298f667662c53761c255cebc826342ab
parentc7830c5879f6fa68fa9f47ee59b7bf7f2d276c81
package_manager: Share more common DEB / IPK code

Avoid code duplication by making `extract` a shared method (and
retrieving the package manager specific input via an abstract method).
Additionally, follow Python conventions and prefix class internal
methods with "_" to indicate that they shouldn't be called externally.

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
meta/lib/oe/package_manager/deb/__init__.py
meta/lib/oe/package_manager/ipk/__init__.py