mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-14 15:25:23 +01:00
Add support for --update-checksums in early bootstrap
This allows creating *.checksums files instead of checking against them when UPDATE_CHECKSUMS is set to True in bootstrap.cfg. The checksums are also copied to /usr/src so they can be accessed easily after the bootstrap completes.
This commit is contained in:
parent
18fa642100
commit
653f31b59f
14 changed files with 187 additions and 20 deletions
|
|
@ -51,4 +51,11 @@ ln -s ${prefix}/bin/bash ${prefix}/bin/sh
|
|||
cd ../..
|
||||
|
||||
# Checksums
|
||||
sha256sum -c ${pkg}.checksums
|
||||
if match x${UPDATE_CHECKSUMS} xTrue; then
|
||||
sha256sum -o ${pkg}.checksums \
|
||||
/usr/bin/bash
|
||||
|
||||
install ${pkg}.checksums ${srcdir}
|
||||
else
|
||||
sha256sum -c ${pkg}.checksums
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue