From: Javier B Perez Hernandez <javier.b.perez.hernan...@linux.intel.com>
CreateAutoConf.py: 'start' modified to support the values custom_packages and custom_machine of force build GUI. Set the PACKAGE_CLASSES and MACHINE auto.conf properties accordingly. Signed-off-by: Javier B Perez Hernandez <javier.b.perez.hernan...@linux.intel.com> --- lib/python2.7/site-packages/autobuilder/buildsteps/CreateAutoConf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/CreateAutoConf.py b/lib/python2.7/site-packages/autobuilder/buildsteps/CreateAutoConf.py index 25ada04..bd1d057 100644 --- a/lib/python2.7/site-packages/autobuilder/buildsteps/CreateAutoConf.py +++ b/lib/python2.7/site-packages/autobuilder/buildsteps/CreateAutoConf.py @@ -75,6 +75,8 @@ class CreateAutoConf(ShellCommand): if self.packages: self.classes = [ "package_%s" % p for p in self.packages.split() ] fout = fout + 'PACKAGE_CLASSES = "' + " ".join(self.classes) + '"\n' + elif self.getProperty("custom_packages") is not None: + fout = fout + 'PACKAGE_CLASSES = "' + " ".join([ "package_%s" % p for p in self.getProperty("custom_packages") ]) + '"\n' else: fout = fout + 'PACKAGE_CLASSES = "package_rpm package_deb package_ipk"\n' repo=self.getProperty("repository") @@ -135,6 +137,8 @@ class CreateAutoConf(ShellCommand): if self.distro == "poky-rt": fout = fout + 'PREFERRED_PROVIDER_virtual/kernel="linux-yocto-rt" \n' machine=self.machine + if not machine and self.getProperty("custom_machine") is not None: + machine = self.getProperty("custom_machine") if layerversion is not None and int(layerversion) > 1: if self.machine == "atom-pc": machine = self.machine.replace("atom-pc", "genericx86") -- 1.9.3 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto