setup-efi-ivi: always use the mount prefix variable 42/10242/1
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 25 Sep 2013 07:47:38 +0000 (10:47 +0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 25 Sep 2013 11:36:42 +0000 (14:36 +0300)
commit4865d33478a240d3503e1e51e1d3af4fc5c5f068
treeba60aa919242549a8586bc7b3c2c4e5a1329a270
parent41e1f3703656de7b86eef6b688cb8e5011506a78
setup-efi-ivi: always use the mount prefix variable

Installer framework exports the INSTALLERFW_MOUNT_PREFIX varable which
basically tells what is the root directory for the system image. Usually this
is just "/". But it may be something else too, for example, when we install the
system to a different disk, all the disk partitions will be temporarily mounted
somewhere like /mnt/install_disk/, and this will be the mount prefix.

So, the problem is that we did not use the mount prefix for searching for
gummiboot. It is really expected to be present on the target
system/environment, not in the system/environment we are currently running.
This patch fixes the issue.

Change-Id: Ic414087fcac454109b8c50aa01643a00886bcb8c
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
setup-efi-ivi