mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 19:46:31 +01:00
fix(rootfs): persist semantic internal-ci resume target instead of resuming from script head
This commit is contained in:
parent
bab05bbbe3
commit
74da573c33
2 changed files with 107 additions and 16 deletions
|
|
@ -4,4 +4,14 @@
|
|||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
resume_next_path="/steps/.lb-resume-next"
|
||||
|
||||
if [ -n "${LB_RESUME_NEXT_SCOPE:-}" ] && [ -n "${LB_RESUME_NEXT_PACKAGE:-}" ]; then
|
||||
mkdir -p "$(dirname "${resume_next_path}")"
|
||||
cat > "${resume_next_path}" <<EOF
|
||||
scope=${LB_RESUME_NEXT_SCOPE}
|
||||
package=${LB_RESUME_NEXT_PACKAGE}
|
||||
EOF
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue