Add build-iso.sh script for local image generation
This commit is contained in:
parent
431d9d10c9
commit
261e39fc2c
9
build-iso.sh
Executable file
9
build-iso.sh
Executable 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
|
Loading…
Reference in a new issue