Specifications

<some_directory>/
build/cross_rpms/<package_name>/SPECS/...
SOURCES/...
target_rpms/<package_name>/SPECS/...
SOURCES/...
install/install.c
Makefile
misc/ELDK_MAKEDEV
ELDK_FIXOWNER
README.html
cpkgs.lst
tpkgs.lst
build.sh
ELDK_BUILD
SRPMS.lst
tarballs.lst
tarballs/....
SRPMS/....
SRPMS-updates/....
In subdirectories of the cross_rpms and target_rpms directories, the sources and RPM spec files of,
respectively, the ELDT and target packages are stored. The install subdirectory contains the sources of the
installation utility which will be built and placed in the root of the ISO image. tarballs directory contains the
source tarballs of the packages that are included in the ELDK but are not present in Fedora 7.
The SRPMS and SRPMS-updates directories may contain the source RPM packages of Fedora 7. The
ELDK_BUILD script looks for a package in the SRPMS directory and then, if the package is not found, in the
SRPMS-updates directory. If some (or all) of the Fedora SRPMs needed for the build are missing in the
directories, the ELDK_BUILD script will download the source RPMs automatically from the Internet.
The ELDK build environment CD-ROM provides a ready-to-use ELDK build environment. Please refer to
section 3.10.2. Setting Up ELDK Build Environment below for detailed instructions on setting up the build
environment.
The ELDK_BUILD script examines the contents of the ELDK_PREFIX environment variable to determine
the root directory of the ELDK build environment. If the variable is not set when the script is invoked, it is
assumed that the root directory of the ELDK build environment is /opt/eldk. To build the ELDK in the
example directory layout given above, you must set and export the ELDK_PREFIX variable
<some_directory> prior to invoking ELDK_BUILD.
After all the build steps are complete, the following subdirectories are created in the ELDK build
environment:
build/<build_name>/work/ - full ELDK environment
build/<build_name>/logs/ - build procedure log files
build/<build_name>/results/b_cdrom/ - binary cdrom tree, ready for mkisofs
results/s_cdrom/ - source cdrom tree, ready for mkisofs
results/d_cdrom/ - debuginfo cdrom tree, ready for mkisofs
On Linux hosts, the binary and source ISO images are created automatically by the ELDK_BUILD script and
placed in the results directory. On Solaris hosts, creating the ISO images is a manual step. Use the contents of
the b_cdrom and s_cdrom directories for the contents of the ISO images.
3.10.1. ELDK Build Process Overview 27