Enhance cleanup script with comprehensive cleanup and root privileges
- Added root privilege check (must be run with sudo) - Added removal of build logs (build.log, build_retry.log) - Added removal of .build directory - Added removal of cache directory - Added removal of all ISO files (*.iso) - Added automatic unmounting of chroot filesystems (dev/pts, dev/shm, proc, sys, etc.) - Added force unmount for any remaining mounted filesystems - Ensures clean state for subsequent builds - Prevents permission issues during cleanup
Showing
Please
register
or
sign in
to comment