Add Guix step including bootstrap bin, build guix, build iso and fix some small bug

This commit is contained in:
vxtls 2026-02-28 19:19:18 -05:00
parent fb146bbf97
commit 3178f1f9e0
36 changed files with 890 additions and 7 deletions

View file

@ -2,4 +2,21 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
exec /steps/improve/after.sh
set -e
. /steps/bootstrap.cfg
. /steps/env
if [ "${INTERACTIVE}" = True ]; then
env - PATH=${PREFIX}/bin PS1="\w # " setsid openvt -fec1 -- bash -i
fi
if [ "${CHROOT}" = False ]; then
# Ignore errors due to missing swap/fstab.
swapoff -a >/dev/null 2>&1 || true
sync
echo u > /proc/sysrq-trigger
mount -o remount,ro /
echo o > /proc/sysrq-trigger
while true; do sleep 1; done
fi