[FIX] point_of_sale: Cleanup computer after build of IoT Box
We must delete the folder "MOUNT_POINT" before the "zerofree" closes odoo/odoo#41399 X-original-commit: 4dffb76fab1a44eb79b2770100eef000ef23a9e5 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
This commit is contained in:
@@ -125,9 +125,9 @@ done
|
||||
# cleanup
|
||||
umount -f "${MOUNT_POINT}"/boot/
|
||||
umount -f "${MOUNT_POINT}"
|
||||
rm -rf "${MOUNT_POINT}"
|
||||
|
||||
echo "Running zerofree..."
|
||||
zerofree -v "${LOOP_MAPPER_PATH}" || true
|
||||
|
||||
kpartx -d "${LOOP_PATH}"
|
||||
rm -rf "${MOUNT_POINT}"
|
||||
|
||||
Reference in New Issue
Block a user