]> code.ossystems Code Review - openembedded-core.git/commit
wic: fix bug in handling fsoptions
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 13 Apr 2016 07:25:31 +0000 (10:25 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Apr 2016 09:58:27 +0000 (10:58 +0100)
commitbe7ff1741e8ab5f2724b3f64da1bed8b0d3dcb7c
tree8b8e3937e3360fb830e9a562ec92d5f3dcc7dec1
parent1c187fd7f722b01e0284e4d368f6f9366e9c2f0b
wic: fix bug in handling fsoptions

Partitions specifying --fsoptions were silently skipped by wic
due to the old bug introduced when removing code related to
subvolume handling:

- if mountpoint == "/" or not fsopts or fsopts.find("subvol=") == -1
+ if mountpoint == "/" or not fsopts:

[YOCTO #9396]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/utils/partitionedfs.py