logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: 929eb69d03d8cc4c3f2983b6de3fab463119e097
parent dd8ce0e51695c036021ac795dc2ef4e8da409e18
Author: Eduardo Sánchez Muñoz <eduardosm-dev@e64.io>
Date:   Fri, 14 Apr 2023 23:17:13 +0200

Add checksums for kexec-fiwix and lwext4

Diffstat:

Asysa/kexec-fiwix/kexec-fiwix.checksums1+
Msysa/kexec-fiwix/kexec-fiwix.kaem11+++++++++++
Asysa/lwext4-1.0.0-lb1/lwext4-1.0.0-lb1.checksums1+
Msysa/lwext4-1.0.0-lb1/lwext4-1.0.0-lb1.kaem12++++++++++++
4 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/sysa/kexec-fiwix/kexec-fiwix.checksums 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 @@ -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 @@ -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 @@ -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