guix-installer/build-iso.sh

10 lines
285 B
Bash
Raw Normal View History

#!/bin/sh
# Write out the current channels to be included with the image
2021-06-22 13:12:29 +00:00
guix describe -f channels > ./channels.scm
# Build the image and copy it to the current directory
2021-06-22 13:12:29 +00:00
image=$(guix system image -t iso9660 ./installer.scm)
echo "Built image: $image"
cp $image ./guix-installer.iso