pmaports/main/postmarketos-mkinitfs-hook-netboot/APKBUILD

26 lines
858 B
Text

# Maintainer: Mark <clashclanacc2602@gmail.com>
pkgname=postmarketos-mkinitfs-hook-netboot
pkgver=4.0.1
pkgrel=0
pkgdesc="Netboot postmarketOS using nbd feature"
url="https://postmarketos.org"
depends="devicepkg-utils postmarketos-mkinitfs"
source="
netboot.sh
netboot.modules
"
arch="noarch"
license="GPL-2.0-or-later"
options="!check" # No tests
package() {
install -Dm644 "$srcdir"/netboot.sh \
"$pkgdir"/usr/share/mkinitfs/hooks/netboot.sh
install -Dm644 "$srcdir"/netboot.modules \
"$pkgdir"/usr/share/mkinitfs/modules/30-netboot.modules
}
sha512sums="
dc9252c771ccfa34caffe5cbe5177a2f10f4a41b98a9d173b54e5b60867d795be278899482cac2eb16d865391dc758bd981c35784704c60d6faee00a2ff061a0 netboot.sh
3c9c812a6cd25640e6cf4d722cff6c6356d5666ec6009b4c65f89e62211cc406d2cd09e0fdda6b1c1906ee32c3854988ab701cee8811208e3ef666f09e638568 netboot.modules
"