summaryrefslogtreecommitdiffstats
path: root/initrd
diff options
context:
space:
mode:
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