kubernetes-on-arm icon indicating copy to clipboard operation
kubernetes-on-arm copied to clipboard

$TMPDIR is not synced to the SDCard.

Open kenfallon opened this issue 8 years ago • 0 comments

Apologies if I'm missing something obvious but I don't think that the $TMPDIR is synced to the SDCard.

write.sh has A tmp dir to store things in, a boot partition and the root filesystem TMPDIR=$(mktemp -d /tmp/writesdcard.XXXXXXXX) ROOT=$TMPDIR/root

Eventually the file dynamic-rootfs.sh has rootfs() which writes the files to the $TMPDIR/root.

I don't see anywhere where the files are then copied from the $TMPDIR to the real root on the SDCARD.

kenfallon avatar Nov 08 '16 09:11 kenfallon