From 4a844dc630cf7de0470da68c43606e4d2df225dc Mon Sep 17 00:00:00 2001 From: Minecrell Date: Tue, 28 Jan 2020 21:15:44 +0100 Subject: [PATCH] asus-me176c: reduce rootfs size by installing only needed Mesa driver (!910) The mesa-dri-intel package is deprecated since it was replaced with mesa-dri-classic and mesa-dri-gallium. Installing mesa-dri-intel causes both packages to be installed. The Intel graphics in asus-me176c are not supported by the new Gallium "iris" driver, therefore asus-me176c can only use the old i965 driver available in mesa-dri-classic. Removing mesa-dri-gallium reduces the disk space needed for a minimal installation on asus-me176c: - Before: 329M - After: 256M (-73M) --- device/device-asus-me176c/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/device/device-asus-me176c/APKBUILD b/device/device-asus-me176c/APKBUILD index 5e6340e15..0df2e9081 100644 --- a/device/device-asus-me176c/APKBUILD +++ b/device/device-asus-me176c/APKBUILD @@ -1,5 +1,6 @@ # Reference: # Contributor: Mis012 +# Contributor: Minecrell pkgname="device-asus-me176c" pkgdesc="ASUS MeMO Pad 7 (ME176C(X))" pkgver=1 @@ -8,7 +9,7 @@ url="https://postmarketos.org" license="MIT" arch="x86_64" options="!check !archcheck" -depends="postmarketos-base linux-asus-me176c firmware-asus-me176c-acpi $pkgname-factory intel-ucode mesa-dri-intel" +depends="postmarketos-base linux-asus-me176c firmware-asus-me176c-acpi intel-ucode $pkgname-factory mesa-dri-classic" makedepends="devicepkg-dev meson eudev-dev" _commit=3155254999ac36c3051a2118c415de25a072c0f6