Ansible installs a lot of modules that we don't use. To save the
disk space, we remove them in our install rule.
We also fixup the post.yml rule to work with the new set of
streamlined modules.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
To allow the searching of a registry without needing the docker
tools, we introduce 'udocker', which is a python script capabable
of doing searches.
This script does much more than search, but we only use it for
this capability.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
The upstream project has been working on py3 support but the scripts
still use py2 with no builtin way to change this, so for now we apply
a patch.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Since v2.2 the upstream ansible project has indicated that it could be
used with python3. Create a common .inc file and break out py and py3
recipe files to allow either to be built.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
The upstream ansible project has/is working on ensuring ansible works
with python3 but this support is only available after v2.2.0.0. In
order to allow us to make a python3 version of ansible available I am
therefor completing this uprev first.
This was tested with a local ping test, a minimal playbook and the
default cube-essential playbook, all work as they did previously.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
The patches referenced by the smart bbappend do not currently
apply to the tip of oe/meta-oe branches.
We comment out the patches, but keep the bbappend to remind us
to port the changes.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
The /var/ dir sometimes are mount on volatile device, which will cause
problem, so add an option to change it to a more safe place.
To enable it, please add the following line into a conf file.
PACKAGECONFIG_append_pn-python-smartpm = " change-data-dir"
Signed-off-by: fli <fupan.li@windriver.com>
Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This command will figure out of the build required packages
for a given srpm package and try to install all of these
packages in the system. If a new version of an already installed
package is available, it will be selected for installation.
BTW, this patch only implemented the cache.py, not touched the ccache.c.
For more information about its usage, please run:
$smart builddep -h.
Signed-off-by: fupan li <fupan.li@windriver.com>
Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
'pods' are used in many projects and places. To clear up the namespace, we now
call the building blocks of an OverC system 'cubes'.
This switches the images, variables and READMEs to talk about 'cubes'.
We also move the distro conf to meta-overc, and ensure the distro is "overc".
And finally, the meta-cube layer priority is bumped to ensure its configs take
precence.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>