Fixes: * Remove boot image header v2 spaghetti Signed-off-by: Clayton Craft <craftyguy@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7418>
36 lines
1.3 KiB
Bash
36 lines
1.3 KiB
Bash
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=boot-deploy
|
|
pkgver=0.20.4
|
|
pkgrel=0
|
|
pkgdesc="tool for finalizing and deploying boot related files"
|
|
url="https://gitlab.postmarketos.org/postmarketOS/boot-deploy"
|
|
arch="noarch"
|
|
license="GPL-2.0-or-later"
|
|
source="
|
|
https://gitlab.postmarketos.org/postmarketOS/boot-deploy/-/archive/$pkgver/boot-deploy-$pkgver.tar.gz
|
|
|
|
os-customization
|
|
use-busybox-sh.patch
|
|
"
|
|
|
|
check() {
|
|
./test_boot_deploy_functions.sh
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 boot-deploy "$pkgdir"/usr/bin/boot-deploy
|
|
install -Dm755 boot-deploy-functions.sh \
|
|
"$pkgdir"/usr/share/boot-deploy/boot-deploy-functions.sh
|
|
install -Dm644 "$srcdir"/os-customization \
|
|
"$pkgdir"/usr/share/boot-deploy/os-customization
|
|
|
|
touch boot-deploy-trigger
|
|
install -Dm644 boot-deploy-trigger \
|
|
"$pkgdir"/usr/share/mkinitfs-triggers/boot-deploy
|
|
}
|
|
sha512sums="
|
|
4727f808a73150df889ac3bf6c8e0876b842c0837b36735b1803c0970cf5bd38a82ae3884b07bb7ad1672292bfb48fa4b0293d999bd344aeb76ab14bf461551a boot-deploy-0.20.4.tar.gz
|
|
a243975b9850d9933e0f917f7eb38fc4a76ea658c3dcc56f035f60ee6c62d6740c1107143b8210bdc0231d4c9b6b2003e458120985604eb09649322d359ae89f os-customization
|
|
5b3da17fab1b0e76b3686667c0c8c3a3e29a5794406875dd6375d73c5b1b47d60da6cf54720a3d8ad98b79c563af0863fedc87d2506b19055fb3fdea1cbd731d use-busybox-sh.patch
|
|
"
|