Commit Graph

2 Commits

Author SHA1 Message Date
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