pmaports/main/postmarketos-installkernel/APKBUILD
Aster Boese 06f3537a7f
main/postmarketos-installkernel: install to usr/sbin
The kernel searches for installkernel in /sbin/. Since postmarketOS
is usr-merged, that would be /usr/sbin/. The installkernel binary
was moved to /usr/bin/ instead, which is the wrong path due to
postmarketOS not being bin-merged.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9012>
2026-07-13 16:23:37 +02:00

23 lines
789 B
Text

# Co-Maintainer: Alexey Minnekhanov <alexeymin@postmarketos.org>
# Co-Maintainer: Achill Gilgenast <achill@achill.org>
maintainer="Aelin <aelin@postmarketos.org>"
pkgname=postmarketos-installkernel
pkgver=2
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"
source="installkernel-pmos"
options="!check" # no test suite
provides="installkernel=9999$pkgver-r$pkgver"
package() {
install -Dm755 "$srcdir"/installkernel-pmos \
"$pkgdir"/usr/sbin/installkernel
}
sha512sums="
ba3bdb2d27f7b866a49354fcc4b83ec85747a71265c6b585cb062fc1ff00e88faeba7b77f463d6699e81685c8927ee1d316d5934f374aeebfd4949007d8cb4d8 installkernel-pmos
"