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")
|
depends.append("mkbootimg")
|
||||||
if flash_method == "0xffff":
|
if flash_method == "0xffff":
|
||||||
depends.append("uboot-tools")
|
depends.append("uboot-tools")
|
||||||
depends.append("mesa-dri-gallium")
|
|
||||||
|
|
||||||
# Whole APKBUILD
|
# Whole APKBUILD
|
||||||
depends.sort()
|
depends.sort()
|
||||||
|
|
|
@ -129,7 +129,6 @@ def test_aportgen_device_wizard(args, monkeypatch):
|
||||||
assert apkbuild["pkgname"] == "device-testsuite-testdevice"
|
assert apkbuild["pkgname"] == "device-testsuite-testdevice"
|
||||||
assert apkbuild["pkgdesc"] == "Testsuite Testdevice"
|
assert apkbuild["pkgdesc"] == "Testsuite Testdevice"
|
||||||
assert apkbuild["depends"] == ["linux-testsuite-testdevice",
|
assert apkbuild["depends"] == ["linux-testsuite-testdevice",
|
||||||
"mesa-dri-gallium",
|
|
||||||
"postmarketos-base"]
|
"postmarketos-base"]
|
||||||
|
|
||||||
assert apkbuild_linux["pkgname"] == "linux-testsuite-testdevice"
|
assert apkbuild_linux["pkgname"] == "linux-testsuite-testdevice"
|
||||||
|
@ -166,7 +165,6 @@ def test_aportgen_device_wizard(args, monkeypatch):
|
||||||
answers["Path"] = ""
|
answers["Path"] = ""
|
||||||
deviceinfo, apkbuild, apkbuild_linux = generate(args, monkeypatch, answers)
|
deviceinfo, apkbuild, apkbuild_linux = generate(args, monkeypatch, answers)
|
||||||
assert apkbuild["depends"] == ["linux-testsuite-testdevice",
|
assert apkbuild["depends"] == ["linux-testsuite-testdevice",
|
||||||
"mesa-dri-gallium",
|
|
||||||
"mkbootimg",
|
"mkbootimg",
|
||||||
"postmarketos-base"]
|
"postmarketos-base"]
|
||||||
|
|
||||||
|
@ -177,7 +175,6 @@ def test_aportgen_device_wizard(args, monkeypatch):
|
||||||
answers["Flash method"] = "0xffff"
|
answers["Flash method"] = "0xffff"
|
||||||
deviceinfo, apkbuild, apkbuild_linux = generate(args, monkeypatch, answers)
|
deviceinfo, apkbuild, apkbuild_linux = generate(args, monkeypatch, answers)
|
||||||
assert apkbuild["depends"] == ["linux-testsuite-testdevice",
|
assert apkbuild["depends"] == ["linux-testsuite-testdevice",
|
||||||
"mesa-dri-gallium",
|
|
||||||
"postmarketos-base",
|
"postmarketos-base",
|
||||||
"uboot-tools"]
|
"uboot-tools"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue