diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2018-07-20 15:44:50 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-26 13:16:40 +0100 |
commit | b7b203d8ea30056b5e03e7ef04504e5d5bee1a1a (patch) | |
tree | 5758f2f01ab0f5cb0dc23c6fc23cae6021f03482 /scripts/contrib | |
parent | 866e437f21bfe491ae7dbcd9a7cbb0fd465b3669 (diff) | |
download | poky-b7b203d8ea30056b5e03e7ef04504e5d5bee1a1a.tar.gz |
wic/engine: improve error reporting when using rm with wic
When trying to delete something from an ext partition using debugfs, we
don't show any error to the user when that operation fails.
Change this behavior to show the error generated by debugfs. Also,
fallback to use rmdir in case we are trying to delete a directory. However,
unlike mdeltree that is used for a FAT partition, there's no easy way to
delete a non empty directory. Show an error instead when that happens so
user can take appropriate action.
(From OE-Core rev: a405383e63c35d7b56108f192ca74755b122a639)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib')
0 files changed, 0 insertions, 0 deletions