This commit is contained in:
Valeria Fadeeva 2023-04-19 11:07:51 +05:00
parent 51eebb85eb
commit 4e468220a3
5 changed files with 35 additions and 27 deletions

View File

@ -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

View File

@ -1,27 +1,36 @@
# Maintainer: Valeria Fadeeva <valeria@fadeeva.me>
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"

3
push.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
git add . && git commit -m "Update" && git push

View File

@ -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

View File

@ -1,6 +0,0 @@
#!/bin/bash
for i in *.zst;
do
gpg --detach-sign --output "$i.sig" "$i"
done