From 65ba015d6c1f248d36ad01a653bc49637804b15b Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sun, 10 Aug 2025 15:46:33 -0400 Subject: working usermode objdir iteration --- initrd/Makefile | 12 ++++++++++++ initrd/files/bin/init | Bin 0 -> 16656 bytes initrd/initrd.tar | Bin 0 -> 10240 bytes 3 files changed, 12 insertions(+) create mode 100644 initrd/Makefile create mode 100755 initrd/files/bin/init create mode 100644 initrd/initrd.tar (limited to 'initrd') 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 Binary files /dev/null and b/initrd/files/bin/init differ diff --git a/initrd/initrd.tar b/initrd/initrd.tar new file mode 100644 index 0000000..c684cd9 Binary files /dev/null and b/initrd/initrd.tar differ -- cgit v1.2.1