[elbe-devel] [PATCH 4/5] initvm: don't compress initrd

Thomas Weißschuh thomas.weissschuh at linutronix.de
Tue Mar 5 16:11:58 CET 2024


It takes quite some time and the initrd is only used once and not very
big in the first place.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/init/Makefile.mako | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/elbepack/init/Makefile.mako b/elbepack/init/Makefile.mako
index d6ae8afa40eb..989e360cdd8d 100644
--- a/elbepack/init/Makefile.mako
+++ b/elbepack/init/Makefile.mako
@@ -44,7 +44,7 @@ if prj.has("portforwarding"):
 GEN=.elbe-gen
 IN=.elbe-in
 
-INITRD=$(GEN)/initrd-preseeded.gz
+INITRD=$(GEN)/initrd-preseeded
 VMLINUZ=$(IN)/vmlinuz
 
 INITRD_FILES=$(shell find $(IN)/initrd-tree -type f)
@@ -102,7 +102,6 @@ $(INITRD): $(INITRD_FILES)
 	mkdir -p $(GEN)
 	gzip -cd $(IN)/initrd.gz > $(GEN)/initrd-preseeded
 	cd $(IN)/initrd-tree && find . | cpio -H newc -o --append -F ../../$(GEN)/initrd-preseeded
-	gzip -9f $(GEN)/initrd-preseeded
 
 run:
 	$(INTERPRETER) -M $(MACHINE) \
-- 
2.44.0



More information about the elbe-devel mailing list