]> code.ossystems Code Review - openembedded-core.git/commit
wic: don't throw away our created swap partition
authorChristopher Larson <chris_larson@mentor.com>
Thu, 25 Feb 2016 17:21:49 +0000 (10:21 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:38 +0000 (11:32 +0000)
commit7580942a66f84c2120763c2d9665e2cec8e25138
tree3fae706088025148627626c0fa4a0c4c66a26cbf
parente9db0ae11d95f3c375b27d5c10606efd8b568fbf
wic: don't throw away our created swap partition

We were creating the partition, mkswap'ing it, and then not dd'ing it into
place in the final image, as source_file wasn't being set for swap partitions.
This would result in a swap partition that couldn't be enabled on target until
mkswap was run.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/partition.py