refactor: remove previous output artifact before creating new rootfs
This commit is contained in:
+2
-1
@@ -239,7 +239,8 @@ umount -lf "$ROOTFS/sys" || true
|
|||||||
echo "[+] Calculando tamaño"
|
echo "[+] Calculando tamaño"
|
||||||
|
|
||||||
SIZE=$(du -sb "$ROOTFS" | cut -f1)
|
SIZE=$(du -sb "$ROOTFS" | cut -f1)
|
||||||
|
echo "[+] Eliminando anterior ROOTFS"
|
||||||
|
rm -rvf $OUTPUT
|
||||||
echo "[+] Creando rootfs comprimido"
|
echo "[+] Creando rootfs comprimido"
|
||||||
|
|
||||||
tar \
|
tar \
|
||||||
|
|||||||
Reference in New Issue
Block a user