| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
This reverts commit 716d41a0090047c3e943d102537b87d86fdcbe88.
We've decided to revert this feature on the 1.0.x series. We'll add it
back for 1.1
|
|
|
|
|
|
|
|
| |
This reverts commit e99adc9492ab1087018c630f68f75ebe79f56a76.
-n still works on Fedora, and trying to override -N with -n in epel
configs fails for things like koji generated configs. Falling back to
-n until that stops working for us.
|
|
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Add a utility function selinuxEnabled() that returns true
if SELinux is enabled on the host and false otherwise. Use
this in _setupDev() method of the Root object to avoid shelling
out unnecessarily to 'chcon'.
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
|
| |
New Fedora repositories require code from python-hashlib so
require that if the disto being built is EL5
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
| |
|
|
|
|
|
| |
EL doesn't support -N, but uses -n instead. So use -N by default, but
in the EL configs revert back to -n.
|
|
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
| |
Deleted F9 configs since F12 released
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
Added autoconf/automake mojo to choose rpmbuild-md5 if available
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
EPEL 5 on x86_64. BZ# 500617
Signed-off-by: Clark Williams <williams@redhat.com>
|
|
|
|
| |
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.
|