summaryrefslogtreecommitdiffstats
path: root/initrd
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2025-08-10 15:46:33 -0400
committerJon Santmyer <jon@jonsantmyer.com>2025-08-10 15:46:33 -0400
commit65ba015d6c1f248d36ad01a653bc49637804b15b (patch)
treea77c3fb3ca7ecac8f65eb9638d152f1e90307d0a /initrd
downloadjove-os-65ba015d6c1f248d36ad01a653bc49637804b15b.tar.gz
jove-os-65ba015d6c1f248d36ad01a653bc49637804b15b.tar.bz2
jove-os-65ba015d6c1f248d36ad01a653bc49637804b15b.zip
working usermode objdir iteration
Diffstat (limited to 'initrd')
-rw-r--r--initrd/Makefile12
-rwxr-xr-xinitrd/files/bin/initbin0 -> 16656 bytes
-rw-r--r--initrd/initrd.tarbin0 -> 10240 bytes
3 files changed, 12 insertions, 0 deletions
diff --git a/initrd/Makefile b/initrd/Makefile
new file mode 100644
index 0000000..bd4956d
--- /dev/null
+++ b/initrd/Makefile
@@ -0,0 +1,12 @@
+include $(CONFIG)
+
+FILESDIR := files
+ARCHIVEDIR := archive
+
+all: $(ARCHIVEDIR)
+ tar -cf $(OUT) -C $(ARCHIVEDIR) .
+
+.PHONY: $(ARCHIVEDIR)
+$(ARCHIVEDIR):
+ rm -rf $(ARCHIVEDIR)
+ cp -r $(FILESDIR)/ $(ARCHIVEDIR)/
diff --git a/initrd/files/bin/init b/initrd/files/bin/init
new file mode 100755
index 0000000..6fa149d
--- /dev/null
+++ b/initrd/files/bin/init
Binary files differ
diff --git a/initrd/initrd.tar b/initrd/initrd.tar
new file mode 100644
index 0000000..c684cd9
--- /dev/null
+++ b/initrd/initrd.tar
Binary files differ