diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-06-16 16:19:30 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-23 11:44:12 +0100 |
commit | 44023e6c41a57d93d7b3a7c6d297e1ca77cd69ff (patch) | |
tree | b72af608826fb59f78c02b1c0d95731fadae4cd8 /meta/recipes-core/init-ifupdown | |
parent | 247b7a8c3aee8a1a3e28e196aaad964c4598edb6 (diff) | |
download | poky-44023e6c41a57d93d7b3a7c6d297e1ca77cd69ff.tar.gz |
wic: fix restoring of original fstab
Wic updates fstab if mount points are specified in .wks.
After partition images are created the original fstab is restored.
However, if exception is raised when partition image being prepared
wic doesn't restore original fstab. This can cause duplication of
added lines in fstab when 'wic create' runs next time.
Wrapping call of 'prepare' method and restoring original fstab
even if exception occurs should fix this.
[YOCTO #11633]
(From OE-Core rev: 29f7735030d383f9614bdb148b52a47c79f05eea)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/init-ifupdown')
0 files changed, 0 insertions, 0 deletions