...
|
...
|
@@ -49,7 +49,7 @@ class ToolChainUtils(object):
|
49
|
49
|
cmd=self.rpmbuildCommand+" -ba --nocheck --define \'_topdir "+chrootID+constants.topDirPath+"\' --define \'_dbpath "+chrootID+"/var/lib/rpm\' --define \'dist "+constants.dist+"\' "+specFile
|
50
|
50
|
self.logger.info(cmd)
|
51
|
51
|
cmdUtils.runCommandInShell(cmd,self.logPath+"/filesystem.log")
|
52
|
|
- filesystemrpmFile = cmdUtils.findFile(package+"-*.rpm", chrootID)
|
|
52
|
+ filesystemrpmFile = cmdUtils.findFile(package+"-*.rpm", chrootID+constants.topDirPath+"/RPMS")
|
53
|
53
|
if len(filesystemrpmFile) > 0:
|
54
|
54
|
shutil.copy2(filesystemrpmFile[0],constants.rpmPath+"/x86_64/")
|
55
|
55
|
rpmFile=pkgUtils.findRPMFileForGivenPackage(package)
|