[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Customized Distribution
- From: "Ali Majdzadeh" <ali majdzadeh gmail com>
- To: "Discussion of Development and Customization of the Red Hat Linux Installer" <anaconda-devel-list redhat com>
- Subject: Re: Customized Distribution
- Date: Tue, 27 May 2008 10:26:14 +0430
Hello Jeroen
Thanks for your mail. I am going to test it. Thanks again.
Kind Regards
Ali Majdzadeh Kohbanani
2008/5/26, Jeroen van Meeuwen <kanarip kanarip com>:
Ali Majdzadeh wrote:
Hello All
Following the instructions mentioned at the following address:
http://fedoraproject.org/wiki/Anaconda/Customization
I am trying to build a custom distribution based on CentOs 5.01.
I have performed the following steps:
$ mount /dev/cdrom /mnt
$ mkdir ~/mydistro
$ cp -avp /mnt/* ~/mydistro
$ mv ~/mydistro/CentOS ~/mydistro/mydistro
$ cp /mnt/.discinfo ~/mydistro
$ createrepo -g ~/mydistro/repodata/comps.xml ~/mydistro/mydistro
$ mkdir -p ~/mydistro/mydistro/base
$ cp -avp ~/mydistro/repodata/* ~/mydistro/mydistro/base
$ buildinstall --version 2 --product "MyDistro" --release "MyDistro Linux" --prodpath mydistro ~/mydistro
$ rm -Rf ~/mydistro/.olddata
$ pkgorder ~/mydistro i386 mydistro | tee ~/mydistro/pkgfile
In the last step, i get the following error:
kernel-xen-2.6.18-53.el5.i686.rpm
kernel-PAE-devel-2.6.18-53.el5.i686.rpm
kernel-debug-devel-2.6.18-53.el5.i686.rpm
kernel-PAE-2.6.18-53.el5.i686.rpm
kernel-xen-devel-2.6.18-53.el5.i686.rpm
kernel-debug-2.6.18-53.el5.i686.rpm
kernel-2.6.18-53.el5.i686.rpm
kernel-doc-2.6.18-53.el5.noarch.rpm
kernel-headers-2.6.18-53.el5.i386.rpm
kernel-devel-2.6.18-53.el5.i686.rpm
Traceback (most recent call last):
File "/usr/lib/anaconda-runtime/pkgorder", line 164, in ?
addGroups(ds, ["core", "base", "text-internet"])
File "/usr/lib/anaconda-runtime/pkgorder", line 104, in addGroups
processTransaction(ds)
File "/usr/lib/anaconda-runtime/pkgorder", line 76, in processTransaction
ds.populateTs(keepold=0)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 150, in populateTs
self.downloadHeader(txmbr.po)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 774, in downloadHeader
raise Errors.RepoError, saved_repo_error
yum.Errors.RepoError: failure: CentOS/kudzu-1.2.57.1.15-1.el5.centos.i386.rpm from anaconda: [Errno 256] No more mirrors to try.
Any ideas? Why does it try to check the yum mirrors? Is there anyway to perform the operation locally?
Thanks in advance.
It does operate locally, it's a general error message.
Please try running:
createrepo -o ~/mydistro/. -g ~/mydistro/repodata/comps.xml \
~/mydistro/mydistro
Followed by:
pkgorder ~/mydistro/ i386 mydistro | tee ~/mydistro/pkgfile
(there's an additional / at the end of the base location or "topdir")
-Jeroen
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list redhat com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]