Is it a bug of mock?
by Kirby Zhou
/usr/lib/python2.6/site-packages/mockbuild/uid.py
mock-1.1.18-1.el6.noarch
ccache plugin calls changeOwner to take the ownership of ccache directory,
but why set gid to uid?
70 decorate(traceLog())
71 def changeOwner(self, path, uid=None, gid=None):
72 self._elevatePrivs()
73 if uid is None:
74 uid = self.unprivUid
75 if gid is None:
76 gid = uid
77 os.chown(path, uid, gid)
Regards
Kirby Zhou
+86 (10) 6272 8261
11 years, 8 months
Adding kernel modules to the installation tree.
by William F. Acker WB2FLW +1 303 722 7209
Hi all,
The question is really: how do I stop Lorax from removing kernel
modules that I need. I can't find any documentation on the configuration
file for Lorax.
TIA.
--
Bill in Denver
11 years, 9 months
PATH in mock disappears
by Elias Abacioglu
Hey,
I have an issue. Trying to build a package in mock, package B. Package B
requires a installed package, package A.
Package A installs on a custom PATH and requires the PATH to be set in
order for package B to compile.
I tried adding config_opts['environment']['PATH'] = '/bin:/blabla:....' to
/etc/mock/site-defaults.cfg.
The path works when i use mock --shell.
But when I do a mock --no-clean package.B.src.rpm, the path is missing, and
the build fails.
Is there a way to set the PATH so that it is used during the "--rebuild"
process?
I'm running mock 1.1.18.
Thanks,
Elias
11 years, 9 months