From 67cfee95b97610453f76c0a4831c1f38878028ae Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 16 Jul 2026 13:55:17 +0200 Subject: [PATCH] refactor: remove previous output artifact before creating new rootfs --- build-rootfs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-rootfs.sh b/build-rootfs.sh index ac2bf29..88c1684 100644 --- a/build-rootfs.sh +++ b/build-rootfs.sh @@ -239,7 +239,8 @@ umount -lf "$ROOTFS/sys" || true echo "[+] Calculando tamaƱo" SIZE=$(du -sb "$ROOTFS" | cut -f1) - +echo "[+] Eliminando anterior ROOTFS" +rm -rvf $OUTPUT echo "[+] Creando rootfs comprimido" tar \