-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 23 Jul 2009, Chris Lumens wrote:
diff --git a/yuminstall.py b/yuminstall.py
index 035c4b1..3553927 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -533,6 +533,12 @@ class AnacondaYum(YumSorter):
del(repo)
raise RepoError, "Repo %s contains -source or -debuginfo, excluding" % name
+ # this is a little hard-coded, but it's effective
+ if not BETANAG and (repo.id.find("rawhide") or repo.id.find("development")):
+ name = repo.name
+ del(repo)
+ raise RepoError, "Excluding devel repo %s for non-devel anaconda" % name
+
if BETANAG and not repo.enabled:
name = repo.name
del(repo)
I've always hated doing this, but okay. I'll look the other way and you
commit it and we'll pretend it never happened.
Sort of agree here. We flip this stuff back and forth in anaconda. Could the
install tree not provide this information for us? i.e., make it someone
else's problem?
- --
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkppBSwACgkQ5hsjjIy1VklDbgCg8Bt9RRnTEsCDRtjreElN7pHV
RskAnjKvk9AF2YteRT2Br1TKFgonNHP7
=ZCrv
-----END PGP SIGNATURE-----
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list