Add build-iso.sh script for local image generation

This commit is contained in:
David Wilson 2021-06-05 13:00:05 -07:00
parent 431d9d10c9
commit 261e39fc2c

9
build-iso.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
# Write out the current channels to be included with the image
guix describe -f channels > channels.scm
# Build the image and copy it to the current directory
image=$(guix system image -t iso9660 installer.scm)
echo "Built image: $image"
cp $image ./guix-installer.iso