From 27cf4b1923629cbf71609311d004914c2508c03a Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 18 Sep 2021 12:15:58 +0200 Subject: `init`: implement a working tar driver --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 208b304..ca3184f 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ out/raw_init: src/init/linker.ld $(call from_sources, src/init/) @$(CC) $(LFLAGS) -T $^ -o $@ out/initrd.tar: $(shell find initrd/) - tar cf $@ initrd/ + cd initrd; tar cf ../$@ * out/fs/boot/init: out/raw_init out/initrd.tar @mkdir -p $(@D) -- cgit v1.2.3