Add checksums for kexec-fiwix and lwext4

This commit is contained in:
Eduardo Sánchez Muñoz 2023-04-14 23:17:13 +02:00
parent dd8ce0e516
commit 929eb69d03
4 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1 @@
afb30f2e80adefc979bdffdb525cf2862897f0beefbb0740fbd05ab3246a32c9 /usr/bin/kexec-fiwix

View file

@ -2,3 +2,14 @@
# SPDX-License-Identifier: MIT
cd src
tcc -m32 -march=i386 -std=c89 -I../../tcc/tcc-0.9.27/include -o ${bindir}/kexec-fiwix kexec-fiwix.c
cd ..
# Checksums
if match x${UPDATE_CHECKSUMS} xTrue; then
sha256sum -o ${pkg}.checksums \
/usr/bin/kexec-fiwix
cp ${pkg}.checksums ${srcdir}
else
sha256sum -c ${pkg}.checksums
fi