4 Commits
Author SHA1 Message Date
Leandro Dorileo e0a2933bce Introduce pre build and koji targets
These are targets to be executed before build and koji targets. They
are meant to execute security and validation checks.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-01-10 12:57:33 -08:00
Icarus Sparry 56b23370bd Remove an extra layer of shell
As pointed out by Kai, I can avoid one level of shell wrapping. Mock
is already running this via "/bin/sh -c" (function doshell in
/usr/lib/python2.7/site-packages/mockbuild/util.py currently).

Signed-off-by: Icarus Sparry <icarus.w.sparry@intel.com>
2017-12-24 12:47:13 -08:00
Icarus Sparry f99b2de07e Add rootshell target and change shell to be unprivileged
Change the "make shell" command to invoke a shell as the "mockbuild"
user and starting in ~mockbuild. This is typically what you want when
you enter the build environment.

Add a new target, "rootshell", which gives the old behavior, a root
shell starting at /.

Signed-off-by: Icarus Sparry <icarus.w.sparry@intel.com>
2017-12-23 14:40:53 -08:00
Patrick McCarty c18abdb9db Initial import
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2017-12-22 22:51:05 -08:00