2024-12-12 15:20:14 -05:00
|
|
|
#!/bin/sh
|
2024-12-12 22:53:10 -05:00
|
|
|
set -e -o pipefail
|
2024-12-12 19:15:02 -05:00
|
|
|
retry="$(dirname $0)/guix-retry"
|
|
|
|
repo="$(realpath "$(dirname $0)/..")"
|
2024-12-12 22:53:10 -05:00
|
|
|
command="\"$retry\" guix system -L \"$repo/modules\" image -t iso9660 \"$repo/systems/installer.scm\""
|
|
|
|
image=$(sh -c "$command" | tee /dev/tty)
|
2024-12-12 15:20:14 -05:00
|
|
|
date="$(date -Iseconds)"
|
2024-12-12 19:44:06 -05:00
|
|
|
cp $image "guix-installer-$date.iso"
|