mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 01:35:24 +01:00
Add checksums for kexec-fiwix and lwext4
This commit is contained in:
parent
dd8ce0e516
commit
929eb69d03
4 changed files with 25 additions and 0 deletions
1
sysa/kexec-fiwix/kexec-fiwix.checksums
Normal file
1
sysa/kexec-fiwix/kexec-fiwix.checksums
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
afb30f2e80adefc979bdffdb525cf2862897f0beefbb0740fbd05ab3246a32c9 /usr/bin/kexec-fiwix
|
||||||
|
|
@ -2,3 +2,14 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
cd src
|
cd src
|
||||||
tcc -m32 -march=i386 -std=c89 -I../../tcc/tcc-0.9.27/include -o ${bindir}/kexec-fiwix kexec-fiwix.c
|
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
|
||||||
|
|
|
||||||
1
sysa/lwext4-1.0.0-lb1/lwext4-1.0.0-lb1.checksums
Normal file
1
sysa/lwext4-1.0.0-lb1/lwext4-1.0.0-lb1.checksums
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
0a3f0012c01cb5aee0643f1674f265e68b5eeadb37596bcc4fe60aad55c9d3d7 /usr/bin/make_fiwix_initrd
|
||||||
|
|
@ -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 -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
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue