diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2016-11-30 15:07:18 +0100 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2016-12-02 09:58:08 +0000 |
commit | 11fb6fee5045401466763b5fd2985f708333f2ac (patch) | |
tree | 8f42705e9cf4535427c7ff28780557a862f3671a /templates/machine/porter/50_setup.sh | |
parent | fa6ff083c4b0b35bd750ad5fd6ce4121f03ef559 (diff) |
Set rootfs size based on real size of rootfs image
ROOTFS_SIZE is recomputed for each image type based on total size of
rootfs directory. If rootfs directory gets smaller between creation of
rootfs image and SD image, it fill result in corrupted SD image.
It should not happen in theory, but it happens occasionally for a reason
I could not identify.
Change-Id: I1c888c179fdcec32c3cacbbce7b2d34ec70bbb17
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'templates/machine/porter/50_setup.sh')
0 files changed, 0 insertions, 0 deletions