partitionedfs: save the mapper device path
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 27 Sep 2013 07:40:34 +0000 (10:40 +0300)
committerGerrit Code Review <gerrit2@otctools.jf.intel.com>
Mon, 21 Oct 2013 03:34:32 +0000 (20:34 -0700)
commit65258850077d1569fbcb351ee84de75a8951f706
tree2525daeaa17f6e997e4c2c36ed57d4f89d480b24
parent28f95bd8a093ca86da7f6bbada79f43b2a59de9e
partitionedfs: save the mapper device path

For some legacy reasons related to grub, which we do not use, MIC creates
/dev/loopXpY files which are symlinks to the real /dev/mapper/loopXpY device
node files. Then MIC saves the /dev/loopXpY path in the internal data
structure, and drps the mapper device path.

This patch makes MIC also save the /dev/mapper/loopXpY in the internal data
structures for firther use. We'll use it later for creating a copy of device
nodes in the target image. Thede device nodes will be later used by installer
framework plugins.

Change-Id: Ia928669ffd40a8fbda472d2f9d9890053aa94f67
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
mic/utils/partitionedfs.py