logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

pass1.kaem (459B)


  1. #!/bin/sh
  2. # SPDX-FileCopyrightText: 2023 fosslinux <fosslinux@aussies.space>
  3. #
  4. # SPDX-License-Identifier: GPL-3.0-or-later
  5. set -ex
  6. # Build & install
  7. M2-Mesoplanet --architecture ${ARCH} -f src/simple-patch.c -o ${BINDIR}/simple-patch
  8. # Checksums
  9. if match x${UPDATE_CHECKSUMS} xTrue; then
  10. sha256sum -o ${pkg}.${ARCH}.checksums \
  11. /usr/bin/simple-patch
  12. cp ${pkg}.${ARCH}.checksums ${SRCDIR}
  13. else
  14. sha256sum -c ${pkg}.${ARCH}.checksums
  15. fi