@ -362,7 +362,7 @@ class fillVars(object, varsShare):
'/var/calculate/remote/linux',
'/usr/calculate/share/linux']
if self.Get('os_builder_profile'):
imagePath.append(path.join("/var/calculate/remote/assemble",
imagePath.insert(0,path.join("/var/calculate/remote/assemble",
self.Get('os_builder_profile').replace('/','-'),
"linux"))
return imagePath
@ -63,8 +63,7 @@ class image_cmd(share_cmd):
def __sectionName(self):
"""Get section name of assemble.env by shortname and arch"""
return (self.logicObj.clVars.Get('os_builder_linux_shortname'),
self.logicObj.clVars.Get('os_builder_arch_machine'))
return self.logicObj.clVars.Get('os_builder_profile')
def isScratch(self,showError=True):
"""Detect scartch system"""