update-kernel: option/condition to set TMPDIR on disk
update-kernel may fail to update disk-less setup on some RAM-limited device such as PiZero, due to default
TMPDIR location in RAM.
Would it make sense to:
- either create an optional parameter to set that temporary directory in some disk/SD location
- or conditionally set location to disk if available RAM is under an arbitrary value (or HW specific)
- and report out-of-memory situation for /tmp
Thanks for consideration