3 Commits
Author SHA1 Message Date
Tudor Marcu aab6e7cca9 Always set UPSTREAM_URL
This was not set in the codepath where a user does not have a local
rpmdir defined. It must always be substituted else yum will fail because
the URL is incorrect.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2017-12-21 11:44:06 -08:00
Caio Marcelo de Oliveira Filho 1eda116165 builder: create a temp dir and use as stage dir for ister
Mixer calls ister, that calls swupd (client), that uses a staging
directory to cache downloaded files. If not specified, it defaults to
the system one, which is not what we want, since the system might not
be using the mix we are creating.

Without passing this, build-image works only if there is no conflict
with some previous version (from any stream) that it used before.

Fix based on diagnostic by Tudor and William.

Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
2017-12-19 14:40:31 -08:00
Tudor Marcu 9607078d6d Update mixer-tools structure and Makefile
Follow the expected Go convention for packages, and put the project
under github.com/clearlinux/mixer-tools with the correct hierarchy.
Simplify Makfile for the time being.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2017-12-18 17:12:15 -08:00