From 9bdf0fbfd0058efe8692b19132937f8acfecfb6f Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 9 Mar 2023 09:07:28 -0600 Subject: [PATCH] build: Trigger rebuild on overlay changes If any file in the `overlay` directory changes, the `build-rootfs.sh` script needs to be re-run in order to copy the changes into the destination root and regenerate the SquashFS image. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 84276f9..8ab232e 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,7 @@ $(O)/.ready: \ installonly.packages \ busybox.symlinks \ $(O)/linux/arch/arm64/boot/Image.gz \ + $(shell find overlay -type f) \ $(O)/.host-tools \ $(O)/.built ./build-rootfs.sh