From 74ff0a243a34a56d9cf71e459ce259aefb85b73e Mon Sep 17 00:00:00 2001 From: bjs Date: Tue, 20 Feb 2024 23:05:07 +0000 Subject: [PATCH] fix change of payload or ramfs not syncing --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4b0cf5e..4e8812a 100644 --- a/Makefile +++ b/Makefile @@ -18,11 +18,11 @@ $(BUILD)/efi.img: $(UEFI) $(BUILD)/initramfs.img: $(BUILD)/initramfs.root.img $(BUILD)/initramfs.exe.img @cat $^ > $@ -$(BUILD)/initramfs.root.img: ramfs/* +$(BUILD)/initramfs.root.img: ramfs/ $(wildcard ramfs/*) @mkdir -p $(BUILD) @(cd ramfs && find .|cpio -o -H newc)|gzip > $@ -$(BUILD)/initramfs.exe.img: payload/* +$(BUILD)/initramfs.exe.img: payload/ $(wildcard payload/*) @mkdir -p $(BUILD) @(find payload|cpio -o -H newc)|gzip > $@