[PATCH] img/app: Use set -euo pipefail for building the erofs
This caught problems when I was trying to filter the set of files to be built. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> --- img/app/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/img/app/Makefile b/img/app/Makefile index 981889ebe55d9ba03228977f3dc0ea3f26d5c4fb..48eba871339d314479f730101246ace3fa39e2db 100644 --- a/img/app/Makefile +++ b/img/app/Makefile @@ -46,6 +46,7 @@ build/empty: mkdir -p $@ build/rootfs.erofs: ../../scripts/make-erofs.sh $(PACKAGES_FILE) $(FILES) $(BUILD_FILES) build/empty build/fifo file-list.mk + set -euo pipefail; \ { \ cat $(PACKAGES_FILE) ;\ for file in $(FILES) $(LINKS); do printf '%s\n%s\n' $$file "$${file#image/}"; done ;\ --- base-commit: 22e216712322cdfb85094bbd27ff34c4366fad41 change-id: 20251107-pipefail-92dd75264707 -- Sincerely, Demi Marie Obenour (she/her/hers)
This patch has been committed as 7f90dafab8e8b8a4f43cc95934ce49b31111a5a2, which can be viewed online at https://spectrum-os.org/git/spectrum/commit/?id=7f90dafab8e8b8a4f43cc95934ce.... This is an automated message. Send comments/questions/requests to: Alyssa Ross <hi@alyssa.is>
participants (3)
-
Alyssa Ross -
Alyssa Ross -
Demi Marie Obenour