Hi Paul,
Paul Pianta wrote:
2. 'buildinstall' is a bit cryptic in the parameters you need to pass to
it ... Could someone verify what each option means (and whether it is
needed or not) ...
- Usage
-------
buildinstall [--comp <component>] [--pkgorder <file>] [--version
<version>] [--product <product>] [--release <comment>] <root>
- Actual command for Delixus Linux 2004
---------------------------------------
# buildinstall --comp dist-9.0 --pkgorder /build/i386/pkgorder.txt
--version 9.0 --product "Linux" --release "LIN9" /build/i386
- Options
---------
> --comp # no idea what this is
--comp
Defaults to dist-7.0. This value is only used by the runroot
command which is proprietary/internal to RH. However, a value should be
specified to prevent the command from displaying usage.
> --pkgorder # writes to or reads from a file with package order?
--pkgorder
Full path to pkgorder.txt, which contains a list of all
packages in order. This file lists the order in which the packages are
listed on the CDs. I'm not 100% on this.
> --version # version number of what? can this be customised? or it
> must match Fedora version?
--version
If version is omitted, then the default value is extracted as
follows:
rpm --qf '%{VERSION}' -qp $DIR/RedHat/RPMS/redhat-release-*.rpm
version is used by mk-images where it is written into the
.buildstamp file.
version is used by mk-images.i386 where it is written into the
isolinux/*.msg files. Of course, it is first written into temp
files that are later copied to isolinux/
The version number is the version of the release. Yes, it can be customized.
> --product # can this be customised or it must match Fedora?
--product
The value is passed to mk-images where it is written into the
.buildstamp file.
Yes, this can be customized.
> --release # can this be customised to whatever you want?
--release
Written into the .discinfo file by makestamp.py as the product
release name. This value is what is displayed in the text mode ui when
you are asked to do a mediacheck before installation.
Yes, this can be customized.
> --prodpath # is this the path to the 'Fedora' directory in the root
> of the build tree?
> $BASE/Fedora-Custom/i386 # this is the path to the root of the
build tree
<root>
The build root for Delixus Linux.
Yes, you are right, it is the full path to the i386 directory.
Thanks,
Akbar