diff options
author | Anton D. Kachalov <gmouse@google.com> | 2021-03-21 11:26:16 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2021-03-31 05:08:47 -1000 |
commit | d913d2fbd431ccc10a6197c4dc8858dfd9a91426 (patch) | |
tree | 4b20e09989237926c68429e05a0e279913cbb55e /meta-selftest/wic | |
parent | cd247306566313517b69b4ae321476b8ea9ab46f (diff) | |
download | openembedded-core-contrib-d913d2fbd431ccc10a6197c4dc8858dfd9a91426.tar.gz |
run-postinsts: do not remove postinsts directory.
When running on the systems having read-only rootfs backed by overlayfs,
removing the whole directory lead to create a special char device file
on the upperdir to reflect directory's removal. Once it is required to
upgrade the whole read-only image that might contain new postinsts scripts,
it will be impossible to run such scripts with a "deletion mark" file
on the overlayfs -- the whole directory will be marked as deleted regardless
new files in it.
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a27b62b225ffeecec47c249a0b86cc54d775add)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta-selftest/wic')
0 files changed, 0 insertions, 0 deletions