aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKenny Ballou <kb@devnulllabs.io>2023-02-27 14:52:08 -0700
committerKenny Ballou <kb@devnulllabs.io>2023-03-06 13:55:53 -0700
commit3ce02667840ac7962abddd653a899e8c55ae1ae5 (patch)
tree77c3d8b1c1963df59e1d5ce92b87ef351cd80262 /Makefile
parent9ac0992899402bde134694e790dd4d44d90570d0 (diff)
downloaddotfiles-3ce02667840ac7962abddd653a899e8c55ae1ae5.tar.gz
dotfiles-3ce02667840ac7962abddd653a899e8c55ae1ae5.tar.xz
iso: create basic installer ISO image
Since the hardware I use requires nonfree'ness, I need the "corrupted" kernel and firmware. Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9ecf9f3e..3b97f102 100644
--- a/Makefile
+++ b/Makefile
@@ -75,6 +75,10 @@ $(HOMES):
$(SYSTEMS):
guix time-machine -C $(CHANNEL_FILE) -- system $(LOAD_PATH) build --cores=$(CORES) $@.scm
+.PHONY: iso
+iso: iso/installer.scm
+ guix time-machine -C $(CHANNEL_FILE) -- system image --cores=$(CORES) --image-type=iso9660 $^
+
## Private targets
config/emacs/emacs.d/init.el config/emacs/emacs.d/early-init.el: config/emacs/emacs.d/emacs.org
emacs -Q --batch --eval "(progn (require 'ob-tangle) (dolist (file command-line-args-left) (with-current-buffer (find-file-noselect file) (org-babel-tangle))))" "$<"