Rename checksums to ${pkg}.checksums

This commit is contained in:
Dor Askayo 2022-05-20 18:10:20 +03:00
parent d12d0e0f9c
commit 18fa642100
26 changed files with 16 additions and 19 deletions

View File

@ -9,6 +9,6 @@ Source: https://github.com/fosslinux/live-bootstrap
# Copyright: $YEAR $NAME <$CONTACT>
# License: ...
Files: SHA256SUMS.sources sysa/pre-sha.sha256sums sysa/*/checksums sysa/SHA256SUMS.pkgs
Files: SHA256SUMS.sources sysa/pre-sha.sha256sums sysa/*/*.checksums sysa/SHA256SUMS.pkgs
Copyright: none
License: MIT

View File

@ -40,7 +40,7 @@ It then diverges based upon which driver is being used:
There are default functions run which can be overridden by an optional script
`package-version.sh` within the package-specific directory.
In this folder, there are other folders/files. `src` and `checksums` are
In this folder, there are other folders/files. `src` and `*.checksums` are
required, others are optional.
Permissable folders/files:
@ -50,11 +50,8 @@ Permissable folders/files:
- `patches`: patches for the source.
- `src`: the upstream unmodified source code. This may be either a submodule or
nonexistent.
- `checksums`: the checksums for the resulting binaries and libraries that
are compiled and installed. This may be either a folder or a file. It should
be a folder when there are multiple checksumming files required (normally
multiple seperate passes) but a file when there is only one checksumming
file.
- `*.checksums`: files containing the checksums for the resulting binaries and
libraries that are compiled and installed.
- Up to and including `patch`, `fletcher16` is used for the checksumming.
- After `patch`, `sha-2` is built which contains an external implementation of
`sha256sum`. We then use that currently for all remaining software.

View File

@ -51,4 +51,4 @@ ln -s ${prefix}/bin/bash ${prefix}/bin/sh
cd ../..
# Checksums
sha256sum -c checksums
sha256sum -c ${pkg}.checksums

View File

@ -35,4 +35,4 @@ bzip2 --help
cd ../..
# Checksums
sha256sum -c checksums
sha256sum -c ${pkg}.checksums

View File

@ -38,4 +38,4 @@ cd ../..
rm -r src/
# Checksums
sha256sum -c checksums
sha256sum -c ${pkg}.checksums

View File

@ -37,4 +37,4 @@ chmod 755 ${bindir}/gunzip
cd ../..
# Checksums
sha256sum -c checksums
sha256sum -c ${pkg}.checksums

View File

@ -44,4 +44,4 @@ install -m 644 ncform ${lexdir}
cd ../../..
# Checksums
sha256sum -c checksums
sha256sum -c ${pkg}.checksums

View File

@ -55,4 +55,4 @@ make --version
cd ../..
# Checksums
sha256sum -c checksums
sha256sum -c ${pkg}.checksums

View File

@ -316,4 +316,4 @@ cp include/sys/wait.h ${incdir}/sys/wait.h
# Checksums
cd ../..
sha256sum -c checksums
sha256sum -c ${pkg}.checksums

View File

@ -34,4 +34,4 @@ chmod 755 ${prefix}/bin/patch
cd ../..
# Checksums
sha256sum -c checksums
sha256sum -c ${pkg}.checksums

View File

@ -31,4 +31,4 @@ chmod 755 ${prefix}/bin/sed
cd ../..
# Checksums
sha256sum -c checksums
sha256sum -c ${pkg}.checksums

View File

@ -34,4 +34,4 @@ chmod 755 ${prefix}/bin/tar
cd ../..
# Checksums
sha256sum -c checksums
sha256sum -c ${pkg}.checksums

View File

@ -388,4 +388,4 @@ tcc -ar cr ${libdir}/libgetopt.a getopt.o
cd ../..
# Checksums
sha256sum -c checksums
sha256sum -c ${pkg}.checksums

View File

@ -47,4 +47,4 @@ tcc -version
cd ../..
# Checksums
sha256sum -c checksums
sha256sum -c ${pkg}.checksums