diff --git a/Makefile b/Makefile index a45baa7..3814b02 100644 --- a/Makefile +++ b/Makefile @@ -59,9 +59,14 @@ $(O)/squashfs.exclude: \ mkdir -p $(O) sort $^ > $@ +$(O)/squashfs.pseudo: \ + $(wildcard $(CONFIGDIR)/squashfs.pseudo) + sort /dev/null $^ > $@ + $(IMAGESDIR)/rootfs.squashfs: \ build-squashfs.sh \ $(O)/squashfs.exclude \ + $(O)/squashfs.pseudo \ $(O)/.ready ./build-squashfs.sh "$(O)" "$(IMAGESDIR)" diff --git a/build-squashfs.sh b/build-squashfs.sh index c90af07..c622d07 100755 --- a/build-squashfs.sh +++ b/build-squashfs.sh @@ -14,6 +14,7 @@ mksquashfs \ "${IMAGESDIR}"/rootfs.squashfs \ -comp gzip \ -ef "${O}"/squashfs.exclude \ + -pf "${O}"/squashfs.pseudo \ -no-exports \ -noappend \ -wildcards