baseimager: export partition device node
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 27 Jun 2013 03:56:29 +0000 (06:56 +0300)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 27 Jun 2013 04:16:44 +0000 (07:16 +0300)
commit3e359cf4b67b4e01206cf439f7f9676f3de47e7e
treead4ac4c5f339a4411dcbe4399969183f90688feb
parent9f29bf6ca40696c275e92a8298f4d9fe95872130
baseimager: export partition device node

Also export the device node name for each partition. This will be helpful when
we start generating fstab entries in the installer framework scripts.

In MIC environment, the device node name is easily constructed from the disk
name.  The disk name compes from the KS file from the --ondisk option of the
'part' command. And --ondisk is a mandatory argument.

In other installer environments, the disk names may be very different.

Change-Id: Idafce950e511f4a7693e17be10e69fbb1e7d00d8
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
mic/imager/baseimager.py