From c974102403fbf612310964b0fe77cd3c1f6d5879 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Thu, 9 Dec 2010 13:55:00 -0600 Subject: [PATCH] Makefile: use makefs instead of genufs, since it seems to work better at creating shrink-wrap filesystems --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6aa7e87..2f51020 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,9 @@ genuzip = script/genuzip gencard = script/gencard # Image utilities +makefs != which makefs +makefs_opts ?= -t ffs -o version=2,optimization=space -b 8 -f 8 +tunefs != which tunefs mkuzip != which mkuzip mkuzip_opts ?= -s 65536 mkisofs != which mkisofs @@ -53,7 +56,9 @@ $(worktree)/card.img: $(worktree)/boot.img $(worktree)/root.img $(worktree)/boot.img: $(worktree)/boot $(checkroot) - ${genufs} -p $(boot_pad) -l boot -o $(worktree)/boot.img $(worktree)/boot + #${genufs} -p $(boot_pad) -l boot -o $(worktree)/boot.img $(worktree)/boot + ${makefs} ${makefs_opts} $(worktree)/boot.img $(worktree)/boot + ${tunefs} -L boot $(worktree)/boot.img $(worktree)/root.img: $(worktree)/root.iso $(checkroot) -- 2.42.0