mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-20 02:02:58 +01:00
Rename /after to /sysa.
This commit is contained in:
parent
3e2673e274
commit
7a8567dc78
13 changed files with 92 additions and 79 deletions
|
|
@ -7,6 +7,9 @@
|
|||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. bootstrap.cfg
|
||||
|
||||
# Find a list of links
|
||||
get_links() {
|
||||
original="${1:-${PWD}/}"
|
||||
|
|
@ -151,8 +154,7 @@ build() {
|
|||
# Various shenanigans must be implemented for repoducibility
|
||||
# as a result of timestamps
|
||||
|
||||
echo "${pkg}: checksumming created package."
|
||||
_grep "${pkg}_${revision}" "${SOURCES}/SHA256SUMS.pkgs" | sha256sum -c
|
||||
src_checksum
|
||||
|
||||
echo "${pkg}: cleaning up."
|
||||
rm -rf "${SOURCES}/${pkg}/build"
|
||||
|
|
@ -272,6 +274,13 @@ src_pkg() {
|
|||
fi
|
||||
}
|
||||
|
||||
src_checksum() {
|
||||
if ! [ "$UPDATE_CHECKSUMS" = True ] ; then
|
||||
echo "${pkg}: checksumming created package."
|
||||
_grep "${pkg}_${revision}" "${SOURCES}/SHA256SUMS.pkgs" | sha256sum -c
|
||||
fi
|
||||
}
|
||||
|
||||
src_apply() {
|
||||
if command -v xbps-install >/dev/null 2>&1; then
|
||||
xbps-install -y -R /usr/src/repo "${pkg%%-[0-9]*}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue