| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
EL doesn't support -N, but uses -n instead. So use -N by default, but
in the EL configs revert back to -n.
|
|
|
|
|
|
|
|
| |
Added patch from Seth Vidal <skvidal@fedoraproject.org> to
automatically run createrepo on the generated rpms
Signed-off-by: Seth Vidal <skvidal@fedoraproject.org>
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
|
| |
Add logic to run with unprivleged uid:gid in interactive
chroot shell. (BZ# 522505)
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
|
|
| |
EPEL distros are older and have different behavior of the
/dev/pts filesystem than newer kernels in Fedora. Deal with
that when setting up devices.
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
|
|
| |
Add a default IPv6 entry for BZ545435, to fix failure in curl
test suite. In addition, remove the result of gethostname(),
since this causes koji to insert 'localhost' into rpms
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Patch submitted by Paul Howarth <paul@city-fan.org> to prevent
race condition when creating root cache tarballs and to remove
partial tarballs on error.
Signed-off-by: Clark Williams <williams@redhat.com>
CC: Paul Howarth <paul@city-fan.org>
|
|
|
|
|
|
|
|
|
|
| |
changed setup of devpts inside chroot so that /dev/ptmx is a symlink
to /dev/pty/ptmx and that it's mounted with all read/write permissions
so that pty's are usable inside the chroot. Also called devSetup when
running interactive shell, so that shell chroot matches build chroot
environment.
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
| |
import fails (as it will on RHEL5)
|
|
|
|
|
|
| |
This causes largely unnecessary yum runs and delays builds.
The new behavior would just skip the yum call all together, unless
the chroot was cleaned, in which case the setup command is called.
|
|
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
|
| |
to use the 'newinstance' mount option if the kernel version
is >= 2.6.29
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
| |
BZ# 460574
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
| |
chroot. BZ# 506288
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
| |
group for /dev/pts mounted in chroot (BZ# 510183)
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds configuration options that influence how is the root
cache compressed:
config_opts['plugin_conf']['root_cache_opts']['compress_program'] = "gzip"
config_opts['plugin_conf']['root_cache_opts']['extension'] = ".gz"
Motivation to do this was to be able to use lzma compression. While it
takes a long time to compress, for me it was more than two times faster
than gzip when decompressing. Since I only seldom regenerate the root cache
while doing a lot of builds, I was able to gain a considerable speed up.
|
|
|
|
|
| |
Copy /etc/hosts from host when resolver configuration is being
copied, otherwise add hostname as a loopback alias.
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* buildsrpm:
unlink->rmdir
another srpm -> spec change in buildsrpm. add state for building srpm.
cant use srpm var, use spec file instead. its ofr info only.
initial work to copy spec/sources and build srpm.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \ |
|
| |\| |
| | | |
| | | |
| | | | |
git+ssh://jcwillia@git.fedoraproject.org/git/hosted/mock
|
| | |/
| | |
| | |
| | | |
friendly error message.
|
| | | |
|
| | | |
|
| |/
| |
| |
| | |
removed trailing slash from basedir
|
|/ |
|
| |
|
|
|
|
| |
Signed-off-by: Mike McLean <mikem@redhat.com>
|
|
|
|
| |
cache
|
| |
|
|\
| |
| |
| | |
git+ssh://jcwillia@git.fedoraproject.org/git/hosted/mock
|
| |
| |
| |
| | |
raise exception)
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
* ssh://mock/var/ftp/pub/Applications/git/mock:
updates to mock.util.do(): 1) nonblocking read, 2) dont leave zombies (waitpid).
we now run /etc/profile, so no need to manually do ccache stuff.
use makeChrootPath() functionality rather than obscure string interpolation
|
| | |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 'master' of /var/ftp/pub/Applications/git/mock:
get rid of one level of shell indirection where possible.
revert accidental comment-out of test cleanup that I was using to debug tar problem.
add back in dropped '.' to tar cvf command that is causing root cache creation to fail. Add debug logging for running commands.
convert mock.util.do() to use subprocess.Popen() rather than raw fork/exec.\nThis cleans up the code considerably. Also, start reducing the places where we use a shell in the subcommand.
better unit test error message.
mount everything when running chroot command.
updated change log
added compat symlinks
version bump
update manpage with new site-defaults ref.
the great config file rename.
some manpage clarifications and arrangements.
clarify info message to make it obvious that root cache is being unpacked.
cleanup trailing whitespace.
cleanup trailing whitespace.
add ability to conditionally enable tmpfs based on minimum ram availability.
add initfailed hook so tmpfs plugin can properly unmount tmpfs on failure. make sure we call postbuild hooks even on failure.
|
| | | |
|