summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/libmatchbox
diff options
context:
space:
mode:
authorMaciej Borzecki <maciej.borzecki@open-rnd.pl>2014-07-24 14:27:16 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-26 09:01:02 +0100
commita9e59d7b1fa1ed33ce9678fb77a367800d7a8f87 (patch)
tree61fff3f96537ca7ea684ffdb35df1cee1f31059b /meta/recipes-graphics/libmatchbox
parent859bdcc1691ec3fd9e88cf60b5d96f0239d72bce (diff)
downloadopenembedded-core-a9e59d7b1fa1ed33ce9678fb77a367800d7a8f87.tar.gz
openembedded-core-a9e59d7b1fa1ed33ce9678fb77a367800d7a8f87.tar.bz2
openembedded-core-a9e59d7b1fa1ed33ce9678fb77a367800d7a8f87.zip
wic: do not overwrite autogenerated /etc/fstab with original too early
DirectImageCreator.__write_fstab() generates new /etc/fstab in sysroot with rootfs contents. The fstab entries are generated base on the initialn contents of /etc/fstab, plus any extra (other than / or /boot) partitions listed in *.wks. A backup of original /etc/fstab is done in a temp location. Subsequent call to __restore_fstab() restores the backup copy, replacing the autogenerated one. Calling __restore_fstab() before Wic_PartData.prepare() brings back the original fstab before the partition image file actually is created. As such, the autogenerated /etc/fstab will not make it to the partition. Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libmatchbox')
0 files changed, 0 insertions, 0 deletions