pmb.aportgen.device: no depend on mesa-dri-gallium (MR 2210)
Device packages shouldn't depend on it anymore, in order to end up with a smaller installation for ui=none this package only gets pulled in by postmarketos-base if mesa is installed. Related: pmaports MR 3478
This commit is contained in:
parent
248fe447bd
commit
35784a5fd7
|
@ -239,7 +239,6 @@ def generate_apkbuild(args, pkgname, name, arch, flash_method):
|
|||
depends.append("mkbootimg")
|
||||
if flash_method == "0xffff":
|
||||
depends.append("uboot-tools")
|
||||
depends.append("mesa-dri-gallium")
|
||||
|
||||
# Whole APKBUILD
|
||||
depends.sort()
|
||||
|
|
|
@ -129,7 +129,6 @@ def test_aportgen_device_wizard(args, monkeypatch):
|
|||
assert apkbuild["pkgname"] == "device-testsuite-testdevice"
|
||||
assert apkbuild["pkgdesc"] == "Testsuite Testdevice"
|
||||
assert apkbuild["depends"] == ["linux-testsuite-testdevice",
|
||||
"mesa-dri-gallium",
|
||||
"postmarketos-base"]
|
||||
|
||||
assert apkbuild_linux["pkgname"] == "linux-testsuite-testdevice"
|
||||
|
@ -166,7 +165,6 @@ def test_aportgen_device_wizard(args, monkeypatch):
|
|||
answers["Path"] = ""
|
||||
deviceinfo, apkbuild, apkbuild_linux = generate(args, monkeypatch, answers)
|
||||
assert apkbuild["depends"] == ["linux-testsuite-testdevice",
|
||||
"mesa-dri-gallium",
|
||||
"mkbootimg",
|
||||
"postmarketos-base"]
|
||||
|
||||
|
@ -177,7 +175,6 @@ def test_aportgen_device_wizard(args, monkeypatch):
|
|||
answers["Flash method"] = "0xffff"
|
||||
deviceinfo, apkbuild, apkbuild_linux = generate(args, monkeypatch, answers)
|
||||
assert apkbuild["depends"] == ["linux-testsuite-testdevice",
|
||||
"mesa-dri-gallium",
|
||||
"postmarketos-base",
|
||||
"uboot-tools"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue