From 4b95b1e12835500466b8dab7fa78986ecd953eb2 Mon Sep 17 00:00:00 2001 From: Aster Boese Date: Thu, 9 Jul 2026 01:41:00 +0200 Subject: [PATCH] main/postmarketos-installkernel: modernize Reorders the keys to match newapkbuild and fixed the provider, since the current logic made it always be considered a lower provider priority than the Alpine installkernel. Also moved the location of the installed binary to not need to replace Alpine's installkernel. Signed-off-by: Aster Boese Part-of: --- main/postmarketos-installkernel/APKBUILD | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/main/postmarketos-installkernel/APKBUILD b/main/postmarketos-installkernel/APKBUILD index 2d759ab46..311bac549 100644 --- a/main/postmarketos-installkernel/APKBUILD +++ b/main/postmarketos-installkernel/APKBUILD @@ -1,27 +1,21 @@ -# APKBUILD is inspired by Alpine's: -# https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/main/installkernel # Co-Maintainer: Alexey Minnekhanov # Co-Maintainer: Achill Gilgenast maintainer="Aelin " pkgname=postmarketos-installkernel -pkgver=0.1 -pkgrel=5 +pkgver=1 +pkgrel=0 pkgdesc="postmarketOS script for installing mainline kernels" url="https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/main/main/postmarketos-installkernel" arch="noarch" license="GPL-2.0-only" -options="!check" # no test suite -provides="installkernel=3.5-r1" -provider_priority=100 -replaces="installkernel" source="installkernel-pmos" +options="!check" # no test suite -build() { - return 0 -} +provides="installkernel=9999$pkgver-r$pkgver" package() { - install -Dm755 "$srcdir"/installkernel-pmos "$pkgdir"/sbin/installkernel + install -Dm755 "$srcdir"/installkernel-pmos \ + "$pkgdir"/usr/bin/installkernel } sha512sums="