2021-06-05 20:00:05 +00:00
|
|
|
#!/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
|
2021-06-05 20:00:05 +00:00
|
|
|
|
|
|
|
# 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)
|
2021-06-05 20:00:05 +00:00
|
|
|
echo "Built image: $image"
|
|
|
|
cp $image ./guix-installer.iso
|