[OE-core] [PATCH 1/3] oeqa: Added package installer to oetest to aid in future automatic install of packages

Burton, Ross ross.burton at intel.com
Tue Sep 9 13:27:04 UTC 2014


On 4 September 2014 12:27, Lucian Musat <georgex.l.musat at intel.com> wrote:
> +    #TODO: use package_manager.py to install packages on any type of image
> +    def install_packages(self, packagelist):
> +        for package in packagelist:
> +            (status, result) = self.target.run("smart install -y "+package)
> +            if status != 0:
> +                return status
> +

When this function is called on non-rpm images this should cause
explicit errors by throwing exceptions instead of mysterious errors
about smart not found.

Ross



More information about the Openembedded-core mailing list