Closed cdsteinkuehler closed 7 years ago
The dtc build script leaves artifacts in the /tmp directory which don't really need to go into the uSD image.
This takes a heavy handed approach and just wipes the whole /tmp directory in the chroot before the chroot.sh script exits, but that's pretty much what happens on the first full boot anyway, so it should be OK.
Delete any files in the chroot /tmp/ directory before exiting.
Signed-off-by: Charles Steinkuehler charles@steinkuehler.net