main/postmarketos-base: add service to mount /tmp as tmpfs
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
And enable it by default, since it's a sensible thing to do, specially in mobile devices where we can reduce writes to flash storage.
This makes the bootmisc config file unnecessary, since it was only used before to make sure that /tmp was wiped on every boot.
Mounting /tmp as a tmpfs will be skipped if:
deviceinfo_tmp_as_tmpfs_size=0
The options for mounting /tmp has been copied from my local debian tmp.mount service. The only real difference is that we are mounting it after /etc/fstab, and they do so before.
Warning, I only tested this in alpine. Should also work in pmOS, but have not had the opportunity to test it yet.
REMOVE BEFORE MERGE: Comments:
Fixes #2233 (closed)
Push commits to the source branch or add previously merged commits to review them.