Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$TMPDIR is not synced to the SDCard. #143

Open
kenfallon opened this issue Nov 8, 2016 · 0 comments
Open

$TMPDIR is not synced to the SDCard. #143

kenfallon opened this issue Nov 8, 2016 · 0 comments

Comments

@kenfallon
Copy link

kenfallon commented Nov 8, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant