summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPhilip J Freeman <elektron@halo.nu>2025-05-31 12:34:14 -0700
committerPhilip J Freeman <elektron@halo.nu>2025-05-31 15:47:31 -0700
commit34105077c777b0d2c5c69f39921f376b84ce1443 (patch)
tree606152d6f739a0ee7fd8e5127e79b595f3fe8c85 /Makefile
parent5392080129b1093f36533e47c155f618c283ea57 (diff)
Deploying a demo amd64 debian-based OS via ostree
This is a prototype outline for building and deploying a debian based OS with ostree. For purposes of demonstration, the OS runs from a bootable USB device on a UEFI capable amd64 machine. Once a USB device is created and booted, the OS can be updated using a simple shell script. <https://ostreedev.github.io/ostree/> <https://www.nin.wiki/Halo_numbers>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..d024955
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+scripts := build-os commit-os publish-repo generate-usb-img sync-repo
+hooks := hooks/build-os/* hooks/build-os-post/*
+
+check: $(scripts)
+ shellcheck -x $(scripts)
+ shellcheck -x $(hooks)
+
+clean:
+ rm -rf build-repo halo-*-usb-*
+
+distclean: clean
+ rm -rf roots repo