From edb0d801c3c8b915a4fcea8a310420df52fea8c1 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Mon, 16 Aug 2021 23:47:25 -0700 Subject: [PATCH] boot-deploy: new aport (MR 2426) This tool is used by the new mkinitfs to finalize/install boot files. It's based on the old mkinitfs_functions.sh, but includes some improvements like verifying free space in target directory, and trying to atomically mv files. --- main/boot-deploy/APKBUILD | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 main/boot-deploy/APKBUILD diff --git a/main/boot-deploy/APKBUILD b/main/boot-deploy/APKBUILD new file mode 100644 index 000000000..984cc0fb7 --- /dev/null +++ b/main/boot-deploy/APKBUILD @@ -0,0 +1,20 @@ +# Maintainer: Clayton Craft +pkgname=boot-deploy +pkgver=0.1 +pkgrel=0 +pkgdesc="tool for finalizing and deploying boot-related files" +url="https://gitlab.com/postmarketos/boot-deploy" +arch="noarch" +license="GPL-2.0-or-later" +source="https://gitlab.com/postmarketOS/boot-deploy/-/archive/$pkgver/boot-deploy-$pkgver.tar.gz" +options="!check" + +package() { + install -Dm755 boot-deploy "$pkgdir"/sbin/boot-deploy + install -Dm755 boot-deploy-functions.sh \ + "$pkgdir"/usr/share/boot-deploy/boot-deploy-functions.sh +} + +sha512sums=" +5650abe612eb386d2505b571ffcbd102d896ff27490d60d17c1bd3697a80035351f173054fbb577d06a2528072861c47e939958578acc8624185087049e94e81 boot-deploy-0.1.tar.gz +"