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

Re: how do I build anaconda: (was) faster anaconda development cycle?

Before I start, I took the liberty of CC'ing list, I wish others find this useful.
This procedure works with Redhat 8, but would work with older/newer versions as well with minor modifications. (note: use it entirely at your own risk!)
1) Start with a fully installed redhat system. (from the cdroms, but I doubt that it matters).
2) Copy the whole contents of cdroms into some publicly (NFS/FTP/HTTP) accessible directory on my system (obviously, open to our intranet) on say, /home/ftp/pub/myredhat.

3) Install the anaconda source rpm. Do your modifications to it (_whatever_ they maybe.)
4) Build the binary rpms of anaconda (named anaconda-runtime and anaconda).
5) (Not really sure this step is necessary): install the binary rpms on your system.
6) Copy the binary rpms to /home/ftp/pub/myredhat/RedHat/RPMS/
(make sure you get rid of the old ones)
7) (assuming i386 architecture): Run this script:
--------------cut here----------------
export PYTHONPATH=/usr/lib/anaconda
export PATH="$PATH:/usr/lib/anaconda-runtime"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/X11R6/lib/"
pkgorder $LOCATION i386 > $LOCATION/../package-order
genhdlist --withnumbers --fileorder $LOCATION/../package-order $LOCATION ARCH=i386 ./buildinstall --comp $LOCATION/RedHat/base/comps.xml --pkgorder $LOCATION/../package-order --version 0.99 --release "my-custom-redhat" $LOCATION
---------- cut here -------------

After this, installer images would be (hopefully) available on /home/ftp/pub/myredhat/{images,RedHat/base}

There are other excellent pieces of documentation available at: *http://www.linuxworks.com.au/redhat-installer-howto.html*

Brian Harvell wrote:

Do you have any documentation for the procedures you use? I normally just
add things to an update image that gets loaded and I haven't bothered trying
anything else. Anaconda is rather temper-mental so I would rather not try to
figure it out on my own :)


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