From 737f33e5612e5e4b1669f0f37863c42ef2de93b8 Mon Sep 17 00:00:00 2001 From: clayton craft Date: Wed, 28 Oct 2020 22:29:48 -0700 Subject: [PATCH] pine64-pinephone: add workaround for purging the -elogind subpackage (MR 1660) This subpackage was removed when a proper fix for suspend was merged, however apk doesn't know to purge this subpackage, so the old elogind hook workaround stuck around. This workaround could probably be removed once we're sure all folks on edge have installed this upgraded package with the 'provides'... --- device/community/device-pine64-pinephone/APKBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/device/community/device-pine64-pinephone/APKBUILD b/device/community/device-pine64-pinephone/APKBUILD index 881fb0ed9..0e7669dde 100644 --- a/device/community/device-pine64-pinephone/APKBUILD +++ b/device/community/device-pine64-pinephone/APKBUILD @@ -4,7 +4,7 @@ # Co-Maintainer: Bart Ribbers pkgname=device-pine64-pinephone pkgver=0.10 -pkgrel=2 +pkgrel=3 pkgdesc="PINE64 PinePhone" url="https://postmarketos.org" license="MIT" @@ -28,6 +28,9 @@ source="deviceinfo eg25.initd setup-modem.sh " +# workaround to purge the -elogind subpackage that was previously +# created/installed +provides="$pkgname-elogind=$pkgver-r$pkgrel" build() { devicepkg_build $startdir $pkgname