baseimager: remove INSTALLERFW_DISTRO_NAME
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Sat, 21 Dec 2013 12:27:15 +0000 (14:27 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sat, 21 Dec 2013 12:27:15 +0000 (14:27 +0200)
Stop exporting the INSTALLERFW_DISTRO_NAME because it is harful if installer
framework plugins start using it instead of taking the data from
/etc/os-release.

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

index 1196fe8..f04785a 100644 (file)
@@ -466,9 +466,6 @@ class BaseImageCreator(object):
         kernel_opts = self.ks.handler.bootloader.appendLine
         env[self.installerfw_prefix + "KERNEL_OPTS"] = kernel_opts
 
-        # Name of the distribution
-        env[self.installerfw_prefix + "DISTRO_NAME"] = self.distro_name
-
         # Name of the image creation tool
         env[self.installerfw_prefix + "INSTALLER_NAME"] = "mic"