2024-12-12 20:20:14 +00:00
|
|
|
#!/bin/sh
|
2024-12-13 03:53:10 +00:00
|
|
|
set -e -o pipefail
|
2024-12-13 00:15:02 +00:00
|
|
|
retry="$(dirname $0)/guix-retry"
|
|
|
|
repo="$(realpath "$(dirname $0)/..")"
|
2024-12-13 03:53:10 +00: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 20:20:14 +00:00
|
|
|
date="$(date -Iseconds)"
|
2024-12-13 00:44:06 +00:00
|
|
|
cp $image "guix-installer-$date.iso"
|