Re: new custom dvd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



George,
Hello
The documents which you attached are too old, they are outdated. The build process in Fedora (4 and later), RHEL (5 and later) and CentOS (5 and later) is changed. For example, the genhdlist command is completely removed. Recently, I followed the steps below to create a customized distribution:
0) Consider the following assumptions:
0-1) Our build tree is located under /mydistro and it only contains a folder named distro which is populated with desired and required rpms.
0-2) We name our distribution, distro.
0-3) anaconda and anaconda-runtime packages should be installed. (Using yum is highly recommended)
0-4) $ export PATH=$PATH:/usr/lib/anaconda-runtime
0-5) $ export PYTHONPATH=/usr/lib/anaconda
0-6) We should create our desired groups file (e.g. comps.xml) and put it in /mydistro/distro.
0-7) Our target architecture for our distribution is i386.

1) Package selection: In this phase, we should select our desired rpms. The important thing is that all the dependencies should be met. For that, we can use revisor. Once all the desired and required rpms are identified, they should all be copied into /mydistro/distro folder.
2) Creating repository information:
    $ cd /mydistro
    $ createrepo -d -g comps.xml distro
    $ mv /mydistro/distro/repodata /mydistro
3) Building installation images:
    $ buildinstall --comps /mydistro/distro --version "..." --product distro --release "..." --prodpath distro --discs "..." /mydistro/distro
4) Package order:
    $ pkgorder /mydistro/distro i386 distro | tee /mydistro/pkgfile
5) Splitting build tree:
    $ splittree.py --arch=i386 --total-discs=<total_desired_number_of_discs> --bin-discs=<total_desired_number_of_bin_discs> --src-discs=<total_desired_number_of_src_discs> --release-string="..." --pkgorderfile=/mydistro/pkgfile --distdir=/mydistro/distro --srcdir=/mydistro/SRPMS --productpath=distro
(The output of this command reports errors about SRPMs, this is not important)
6) Splitting repository:
    $ cp /mydistro/repodata/comps.xml /mydistro/
    $ createrepo -v -g comps.xml --baseurl=media://`head -1 /mydistro-disc1/.discinfo` --split /mydistro-disc1

Kind Regards
Ali Majdzadeh Kohbanani

2008/9/18 George Machitidze <giomac@xxxxxxxxx>

http://fedoraproject.org/wiki/Anaconda

http://www.uibk.ac.at/zid/software/unix/linux/rhel-rebuild.pdf

http://fedoranews.org/contributors/gene_czarcinski/update_distro/fedoranews-update-distro.pdf

At first try to not change core anaconda-dependent packages like python and try to build the distro with exact same packages (e.g. just rebuild) .... 

2008/9/18 sameer <sameer.chandorkar@xxxxxxxxxxxxxxxxxxxx>
i need steps help me to create custom rhel 5.1 dvd with my custom add on 
rpm .


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list



--

Best Regards,
George Machitidze

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux