]> code.ossystems Code Review - openembedded-core.git/commit
mkefidisk: Unmount after partitioning
authorDarren Hart <dvhart@linux.intel.com>
Thu, 25 Apr 2013 21:27:29 +0000 (14:27 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 May 2013 16:41:23 +0000 (17:41 +0100)
commitf1854e458e5e77806b1fc837033500fa91272261
tree2def53016bb91a3d8285c61078f03a4bc0efb5b6
parent733f1d2a1bcf1c115613e21f7d09f1b4bee216ce
mkefidisk: Unmount after partitioning

Some automounters are rather overzealous and like to mount things
immediately after partitioning. This can happen if the disk is being
reused and the partitions align exactly with the existing partitions
which have already been formatted. Move the unmount code into a function
and call it before and after partitioning.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
scripts/contrib/mkefidisk.sh