Commit Graph

12 Commits

Author SHA1 Message Date
Bruce Ashfield
41f00f1b28 ansible: remove uncessarily modules and fix post.yml
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>
2018-02-02 14:45:32 -05:00
Bruce Ashfield
1627b439fc tools: introduce udocker for docker-free searching of repos
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>
2018-01-31 15:46:56 -05:00
Mark Asselstine
0d875ada98 python-ansible: make py scripts use py3
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>
2017-07-13 14:56:06 -04:00
Mark Asselstine
6165cb839d python-ansible: add python3 support
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>
2017-06-29 15:04:14 -04:00
Mark Asselstine
8abf7cf529 python-ansible: uprev to v2.3.1.0 to allow for python3 support
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>
2017-06-29 15:04:14 -04:00
Bruce Ashfield
c9dd0b88c1 bbappends: sync to oe-core master
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-03-21 17:42:29 -04:00
Yunguo Wei
8ec899dc5c meta-overc: introduce ansible
We intend to switch puppet to ansible starting with this commit.

Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com>
2016-11-07 11:50:12 -05:00
Bruce Ashfield
200a6dfa4f bbappends: resync to oe-core and meta-oe (April 13, 2016)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-13 12:23:51 -04:00
Bruce Ashfield
091f3982cc smart: remove smart patches
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>
2015-10-27 01:45:34 -04:00
fli
94120b683a python-smartpm: add a config option to change data-dir
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>
2015-10-27 00:43:11 -04:00
fupan li
06d20aa35d python-smartpm: add builddep command to install all of the build required packages
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>
2015-10-27 00:42:41 -04:00
Bruce Ashfield
e3e9cc64c5 pod -> cube
'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>
2015-10-23 15:45:37 -04:00