From 4e468220a36e27a28a1ef211bbdd58c774f2f51f Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Wed, 19 Apr 2023 11:07:51 +0500 Subject: [PATCH] Update --- .SRCINFO | 2 +- PKGBUILD | 45 +++++++++++++++++++++++++++------------------ push.sh | 3 +++ sha256sum.txt | 6 ++++-- sign.sh | 6 ------ 5 files changed, 35 insertions(+), 27 deletions(-) create mode 100755 push.sh delete mode 100755 sign.sh diff --git a/.SRCINFO b/.SRCINFO index f2272c9..655621c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = melawy-dracut-ukify pkgdesc = Integration layer for dracut and systemd's ukify tool for Arch Linux. Placing kernels to /ESP_PATH/EFI/Linux - pkgver = 0 + pkgver = 1.5 pkgrel = 1 url = https://github.com/Valeria-Fadeeva/melawy-dracut-ukify arch = any diff --git a/PKGBUILD b/PKGBUILD index 58df712..675fb14 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,27 +1,36 @@ # Maintainer: Valeria Fadeeva -pkgname=melawy-dracut-ukify -pkgver=0 +pkgname="melawy-dracut-ukify" +pkgver=1.5 pkgrel=1 pkgdesc="Integration layer for dracut and systemd's ukify tool for Arch Linux. Placing kernels to /ESP_PATH/EFI/Linux" url="https://github.com/Valeria-Fadeeva/melawy-dracut-ukify" -arch=(any) -license=('AGPL3') -depends=(dracut systemd-ukify python util-linux python-pefile) -optdepends=( - 'sbsigntools: secureboot support' -) -source=('10-dracut-ukify-pre-install.hook' - '60-dracut-ukify-remove.hook' - '90-dracut-ukify-install.hook' - 'dracut-ukify') -sha256sums=('e9592f4f738e8ac70044db1e3f0c4839bc07f37662d5dbc221230cf1617a6b4d' - '341cd01546d840e7401f7bec868a78e2f6ca12563e93d993a07bc51efe674ed0' - '08225b2c3f5e2a734561b5fa9a3e84060dfffd85b2898adb0fff0ce3b068b4d0' - '45de7b379bca66b96327b0a7957fefce5acc53968828cc412f5e5d0f13c4151f') +arch=("any") +license=("AGPL3") +depends=("dracut" "systemd-ukify" "python" "util-linux" "python-pefile") +optdepends=("sbsigntools: secureboot support") +makedepends=() backup=() -provides=(dracut-hook) -conflicts=(dracut-hook-uefi dracut-uefi-hook) +provides=("dracut-hook") +conflicts=("dracut-hook-uefi" "dracut-uefi-hook") +source=("10-dracut-ukify-pre-install.hook" + "60-dracut-ukify-remove.hook" + "90-dracut-ukify-install.hook" + "dracut-ukify") +sha256sums=("e9592f4f738e8ac70044db1e3f0c4839bc07f37662d5dbc221230cf1617a6b4d" + "341cd01546d840e7401f7bec868a78e2f6ca12563e93d993a07bc51efe674ed0" + "08225b2c3f5e2a734561b5fa9a3e84060dfffd85b2898adb0fff0ce3b068b4d0" + "45de7b379bca66b96327b0a7957fefce5acc53968828cc412f5e5d0f13c4151f") + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} package() { install -Dm644 "${srcdir}/10-dracut-ukify-pre-install.hook" "${pkgdir}/usr/share/libalpm/hooks/10-dracut-ukify-pre-install.hook" diff --git a/push.sh b/push.sh new file mode 100755 index 0000000..a9a24d8 --- /dev/null +++ b/push.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +git add . && git commit -m "Update" && git push diff --git a/sha256sum.txt b/sha256sum.txt index ab9e7b1..5b41cb5 100644 --- a/sha256sum.txt +++ b/sha256sum.txt @@ -3,5 +3,7 @@ e9592f4f738e8ac70044db1e3f0c4839bc07f37662d5dbc221230cf1617a6b4d 10-dracut-ukif 08225b2c3f5e2a734561b5fa9a3e84060dfffd85b2898adb0fff0ce3b068b4d0 90-dracut-ukify-install.hook 45de7b379bca66b96327b0a7957fefce5acc53968828cc412f5e5d0f13c4151f dracut-ukify 8486a10c4393cee1c25392769ddd3b2d6c242d6ec7928e1414efff7dfb2f07ef LICENSE -42a0e788242b943cebe5ed2b7e47f2c97d23836e0abd41c8d2c1a81ba443fe83 melawy-dracut-ukify-0-1-any.pkg.tar.zst -3b388b0772ec118899c52aea924f6e03b575dfea368ecfb846cd3fcdf23c63eb README.md +6fd5d1159892b7f133a7ae44f14cc19a4e32d33642f08e4da42fdf3ef312ec77 melawy-dracut-ukify-0-1-any.pkg.tar.zst +e25e5913fb845ab9dcc3f2568bfaf2f4df844c23c3d8bafe4ac75cde32b90381 melawy-dracut-ukify-0-1-any.pkg.tar.zst.sig +a808cf303d7ee52a90dc8742deaf9add12eb66d044dee52c440319c3a204cb82 melawy-dracut-ukify-1.5-1-any.pkg.tar.zst +531e4e41b6253ae306d17d052aebff7d4e72dcb9c9d8915c5872fa0a00e0669a README.md diff --git a/sign.sh b/sign.sh deleted file mode 100755 index d2fb11d..0000000 --- a/sign.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -for i in *.zst; -do - gpg --detach-sign --output "$i.sig" "$i" -done