diff --git a/sysa/kexec-fiwix/kexec-fiwix.checksums b/sysa/kexec-fiwix/kexec-fiwix.checksums new file mode 100644 index 0000000..8a275f2 --- /dev/null +++ b/sysa/kexec-fiwix/kexec-fiwix.checksums @@ -0,0 +1 @@ +afb30f2e80adefc979bdffdb525cf2862897f0beefbb0740fbd05ab3246a32c9 /usr/bin/kexec-fiwix diff --git a/sysa/kexec-fiwix/kexec-fiwix.kaem b/sysa/kexec-fiwix/kexec-fiwix.kaem index 67017ac..40be767 100755 --- a/sysa/kexec-fiwix/kexec-fiwix.kaem +++ b/sysa/kexec-fiwix/kexec-fiwix.kaem @@ -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 diff --git a/sysa/lwext4-1.0.0-lb1/lwext4-1.0.0-lb1.checksums b/sysa/lwext4-1.0.0-lb1/lwext4-1.0.0-lb1.checksums new file mode 100644 index 0000000..9f6e5b1 --- /dev/null +++ b/sysa/lwext4-1.0.0-lb1/lwext4-1.0.0-lb1.checksums @@ -0,0 +1 @@ +0a3f0012c01cb5aee0643f1674f265e68b5eeadb37596bcc4fe60aad55c9d3d7 /usr/bin/make_fiwix_initrd diff --git a/sysa/lwext4-1.0.0-lb1/lwext4-1.0.0-lb1.kaem b/sysa/lwext4-1.0.0-lb1/lwext4-1.0.0-lb1.kaem index bfea081..3d20a72 100755 --- a/sysa/lwext4-1.0.0-lb1/lwext4-1.0.0-lb1.kaem +++ b/sysa/lwext4-1.0.0-lb1/lwext4-1.0.0-lb1.kaem @@ -46,3 +46,15 @@ catm make_fiwix_initrd.c ../../../files/make_fiwix_initrd.c tcc -m32 -march=i386 -std=c89 -I../include -I../build_generic/include -I../../tcc/tcc-0.9.27/include -DVERSION="\"1.0\"" -c make_fiwix_initrd.c tcc -m32 -o ${bindir}/make_fiwix_initrd ext4.o ext4_balloc.o ext4_bcache.o ext4_bitmap.o ext4_block_group.o ext4_blockdev.o ext4_crc32.o ext4_debug.o ext4_dir.o ext4_dir_idx.o ext4_extent.o ext4_fs.o ext4_hash.o ext4_ialloc.o ext4_inode.o ext4_journal.o ext4_mbr.o ext4_mkfs.o ext4_super.o ext4_trans.o ext4_xattr.o ../blockdev/linux/file_dev.o make_fiwix_initrd.o + +cd ../../.. + +# Checksums +if match x${UPDATE_CHECKSUMS} xTrue; then + sha256sum -o ${pkg}.checksums \ + /usr/bin/make_fiwix_initrd + + cp ${pkg}.checksums ${srcdir} +else + sha256sum -c ${pkg}.checksums +fi