Hello everybody,
I am following the steps for compiling a custom kernel from here:
http://fedoraproject.org/wiki/Docs/CustomKernel
I issue the following commands as regular user:
cd; rpmdev-setuptree
(this creates a rpmbuild directory in my home directory)
yumdownloader --source kernel
The result is:
Loading "installonlyn" plugin
Enabling fedora-source repository
Traceback (most recent call last):
File "/usr/bin/yumdownloader", line 190, in <module>
util = YumDownloader()
File "/usr/bin/yumdownloader", line 41, in __init__
self.main()
File "/usr/bin/yumdownloader", line 67, in main
self.setupSourceRepos()
File "/usr/bin/yumdownloader", line 80, in setupSourceRepos
self._getRepos(thisrepo=r.id,doSetup=True)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 341, in _getRepos
repo.setup(self.conf.cache, self.mediagrabber)
File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 634, in setup
self.dirSetup()
File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 439, in dirSetup
"Cannot access repository dir %s" % dir
yum.Errors.RepoError: Cannot access repository dir /var/tmp/yum-<username>-bT6Ghr/fedora-source
-- where <username> is my user name
What could I do to fix this? The directory /var/tmp/yum-<username>-bT6Ghr/ exists, is accesible - but yumdownloader does not want to create the directory fedora-source and its sub-directories by itself. If I create those directories manually, yumdownloader finally complains about a missing xml file.
Thanks,
Ovidiu