diff options
author | Simon Brand | 2023-02-16 20:39:27 +0000 |
---|---|---|
committer | Simon Brand | 2023-02-16 20:39:27 +0000 |
commit | 71c4893b460b997942aa3de177843510d51fbbad (patch) | |
tree | e4f96eff5f7ea5eadf35297e287905e67d0d83e1 | |
parent | c33e8d5c1c814c4573d6e8841cfcbe86864aa0d9 (diff) | |
download | aur-71c4893b460b997942aa3de177843510d51fbbad.tar.gz |
Update to 0.2.3
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 23 insertions, 11 deletions
@@ -1,6 +1,6 @@ pkgbase = verity-squash-root pkgdesc = Build signed efi files which mount a verified squashfs image as rootfs on boot - pkgver = 0.2.2 + pkgver = 0.2.3 pkgrel = 1 url = https://github.com/brandsimon/verity-squash-root/ arch = any @@ -20,8 +20,8 @@ pkgbase = verity-squash-root depends = tar optdepends = age: for encrypted secure boot keys backup = etc/verity_squash_root/config.ini - source = verity-squash-root-0.2.2.tar.gz::https://github.com/brandsimon/verity-squash-root/archive/refs/tags/0.2.2.tar.gz - sha512sums = 4aa24378702df2a83faf5d60ce3192f91a314284b13f2ba89c0e38ec2b04093a4c6e2b783b75f3c2a9929c1250df1becbbc293e6c75eedb9ede8454d24949452 - b2sums = 26000a61f469cecc8871904bd426c1f4c514b18dcf11c7763ee8c62114dc1c54c63ed23b2d4c160844568d465d436b11313f337c31d082eb4a86e0214a4bd660 + source = verity-squash-root-0.2.3.tar.gz::https://github.com/brandsimon/verity-squash-root/archive/refs/tags/0.2.3.tar.gz + sha512sums = b87cab3d11b8a372df1998e82d7c523deee4621812e625a4b047a7f9c9570e2578af013ae9eaaaa5d05d1d30e15b78deba919dc00ed2b1b2bee9cb16d941c9a8 + b2sums = a5ab66c74255e7a55aad010f8763e70ab1cb654a2c6658aa95b01516a72b0a083008951846ba7117fde69a15d62064bd95ec70a4048d740851dfd048922ee9b2 pkgname = verity-squash-root @@ -1,7 +1,7 @@ # Maintainer: Simon Brand <simon.brand@postadigitale.de> pkgname=verity-squash-root -pkgver=0.2.2 +pkgver=0.2.3 pkgrel=1 pkgdesc='Build signed efi files which mount a verified squashfs image as rootfs on boot' arch=(any) @@ -13,8 +13,8 @@ checkdepends=(flake8 mypy shellcheck) optdepends=('age: for encrypted secure boot keys') backup=(etc/verity_squash_root/config.ini) source=("${pkgname}-${pkgver}.tar.gz::https://github.com/brandsimon/verity-squash-root/archive/refs/tags/${pkgver}.tar.gz") -sha512sums=('4aa24378702df2a83faf5d60ce3192f91a314284b13f2ba89c0e38ec2b04093a4c6e2b783b75f3c2a9929c1250df1becbbc293e6c75eedb9ede8454d24949452') -b2sums=('26000a61f469cecc8871904bd426c1f4c514b18dcf11c7763ee8c62114dc1c54c63ed23b2d4c160844568d465d436b11313f337c31d082eb4a86e0214a4bd660') +sha512sums=('b87cab3d11b8a372df1998e82d7c523deee4621812e625a4b047a7f9c9570e2578af013ae9eaaaa5d05d1d30e15b78deba919dc00ed2b1b2bee9cb16d941c9a8') +b2sums=('a5ab66c74255e7a55aad010f8763e70ab1cb654a2c6658aa95b01516a72b0a083008951846ba7117fde69a15d62064bd95ec70a4048d740851dfd048922ee9b2') build() { cd "${pkgname}-${pkgver}" @@ -30,9 +30,21 @@ check() { package() { cd "${pkgname}-${pkgver}" + install -dm 755 "${pkgdir}" python -m installer --destdir="${pkgdir}" dist/*.whl - mkdir -p "${pkgdir}/usr/lib/" "${pkgdir}/usr/share/verity_squash_root/" "${pkgdir}/etc/verity_squash_root/" - cp -r usr/lib/* "${pkgdir}/usr/lib/" - cp src/verity_squash_root/default_config.ini "${pkgdir}/usr/share/verity_squash_root/default.ini" - cp src/verity_squash_root/default_config.ini "${pkgdir}/etc/verity_squash_root/config.ini" + install -dm 755 "${pkgdir}/usr/lib/"{initcpio,verity-squash-root} + install -dm 755 "${pkgdir}/usr/lib/initcpio/install" + install -dm 755 "${pkgdir}/usr/share/bash-completion/completions" + install -dm 755 "${pkgdir}/usr/share/verity_squash_root/" "${pkgdir}/etc/verity_squash_root/" + install -Dm 644 src/verity_squash_root/default_config.ini "${pkgdir}/usr/share/verity_squash_root/default.ini" + install -Dm 600 src/verity_squash_root/default_config.ini "${pkgdir}/etc/verity_squash_root/config.ini" + install -Dm 755 usr/lib/verity-squash-root/* "${pkgdir}/usr/lib/verity-squash-root" + install -dm 755 "${pkgdir}/usr/lib/dracut/modules.d/99verity-squash-root" + install -Dm 755 usr/lib/dracut/modules.d/99verity-squash-root/module-setup.sh \ + "${pkgdir}/usr/lib/dracut/modules.d/99verity-squash-root/" + install -Dm 644 usr/lib/dracut/modules.d/99verity-squash-root/verity_squash_root.conf \ + "${pkgdir}/usr/lib/dracut/modules.d/99verity-squash-root/" + install -Dm 644 usr/lib/initcpio/install/verity-squash-root "${pkgdir}/usr/lib/initcpio/install" + install -Dm 755 usr/share/bash-completion/completions/verity-squash-root \ + "${pkgdir}/usr/share/bash-completion/completions/" } |