]> code.ossystems Code Review - openembedded-core.git/commit
wic: Refactor fstab update code
authorEd Bartosh <ed.bartosh@linux.intel.com>
Sat, 27 Jun 2015 15:24:50 +0000 (18:24 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jul 2015 22:01:43 +0000 (23:01 +0100)
commite663b1857fd2975585003bfa4739f8f84c652708
tree8dc6d533862243609a20c86ffbe23df20d884fb7
parentc7ffe3785e61f3c57aeeebc34ec573685f0ea6a8
wic: Refactor fstab update code

Made the code to backup and restore fstab only if it's modified.

Cleaned up the code. Made it more pythonic.

Improved code readability by moving code from several tiny
methods into one place.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
scripts/lib/wic/imager/direct.py