mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
fix(resume): regenerate and realign guix script entrypoint; suffix duplicate guix package names
This commit is contained in:
parent
076a70976a
commit
b18cba40b3
21 changed files with 23 additions and 6 deletions
17
rootfs.py
17
rootfs.py
|
|
@ -200,6 +200,23 @@ regen_block = (
|
|||
+ 'if [ -x /script-generator ] && [ -f /steps-guix/manifest ]; then\\n'
|
||||
+ '/script-generator /steps-guix/manifest /steps\\n'
|
||||
+ 'fi\\n'
|
||||
+ 'if [ -f /steps-guix/0.sh ] && grep -Eq "/steps-guix/[1-9][0-9]*\\\\.sh" "$0"; then\\n'
|
||||
+ 'if ! bash /steps-guix/0.sh; then\\n'
|
||||
+ 'status=$?\\n'
|
||||
+ 'echo "bootstrap script failed with status ${status}; dropping to rescue shell" >&2\\n'
|
||||
+ 'PATH=/bin:/usr/bin:/sbin:/usr/sbin:${PREFIX}/bin:${PATH}\\n'
|
||||
+ 'while true; do\\n'
|
||||
+ 'if command -v bash >/dev/null 2>&1; then\\n'
|
||||
+ 'env PS1="[FAIL ${status}] \\\\w # " bash -i\\n'
|
||||
+ 'elif command -v sh >/dev/null 2>&1; then\\n'
|
||||
+ 'env PS1="[FAIL ${status}] \\\\w # " sh -i\\n'
|
||||
+ 'else\\n'
|
||||
+ 'sleep 60\\n'
|
||||
+ 'fi\\n'
|
||||
+ 'done\\n'
|
||||
+ 'fi\\n'
|
||||
+ 'exit 0\\n'
|
||||
+ 'fi\\n'
|
||||
)
|
||||
gated_network_block = (
|
||||
'if [ -f /steps/env ]; then\\n'
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
# We need a 64-bit kernel to enable Guix to run 64-bit programs.
|
||||
# Build 64-bit kernel
|
||||
build: binutils-2.41
|
||||
build: gcc-15.2.0
|
||||
build: binutils-2.41-guix
|
||||
build: gcc-15.2.0-guix
|
||||
build: argp-standalone-1.4.1
|
||||
build: musl-fts-1.2.7
|
||||
build: musl-obstack-1.2.3
|
||||
|
|
@ -28,7 +28,7 @@ build: gnutls-3.8.12
|
|||
build: guile-gnutls-v5.0.1
|
||||
build: unzip-6.0
|
||||
build: sqlite-3510200
|
||||
build: zlib-1.3.1
|
||||
build: zlib-1.3.1-guix
|
||||
build: guile-sqlite3-0.1.3
|
||||
build: guile-zlib-0.2.2
|
||||
build: guile-lzlib-0.0.2
|
||||
|
|
@ -57,9 +57,9 @@ build: patch-2.7.6
|
|||
build: bash-5.3-1
|
||||
build: static-binaries-0-i686-linux
|
||||
# Build guile-static-stripped-2.2.4-i686-linux.tar.xz
|
||||
build: libunistring-1.4.1
|
||||
build: gc-8.2.12
|
||||
build: libffi-3.5.2
|
||||
build: libunistring-1.4.1-guix
|
||||
build: gc-8.2.12-guix
|
||||
build: libffi-3.5.2-guix
|
||||
build: guile-2.2.4
|
||||
# Build mes-minimal-stripped-0.19-i686-linux.tar.xz
|
||||
build: mes-minimal-stripped-0.19-i686-linux
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue