Roxanne Sandesara wrote:
> According to the Wiki, QTP-config can be used to set certain parameters
> for use with the build of every package on the system. However, I cannot
> quite seem to figure out how to do so. qtp-config --help only shows the
> option -s, which does not seem to do anything. qtp-config itself just
> outputs what the current values are.
> 
> I ask because, as previously mentioned on-list, I have build a mail
> server for myself using qmt that is running on an FC8 installation.
> Everything is running fine. But an update would likely run into the same
> problems I initially ran into when attempting to install this, since the
> packages themselves are not built with SPEC files that indicate what to
> do with an FC8, and would error out to trying to run some other
> distribution. I'd like to set the distribution in the RPMBUILD_OPTIONS
> for qtp-config to fdr60 so that I can avoid those problems.
> 
> How should these variables be set?
> 
> Roxanne
> 

rpmbuild options can be set as described here
http://wiki.qmailtoaster.com/index.php/Upgrading#rpmbuild, but that's for
adding additional options, not for changing ones that are set by the script.
I'm not sure what would happen if you were to specify a (conflicting)
parameter there.

You're looking to override the --with= parameter that's set by the
qtp-whatami script. The best way I can think of to do that would be to fake
out the qtp-whatami script into thinking that your OS is ok:

# echo "Fedora Core release 6" >/etc/fedora-faked-release

Then edit the qtp-whatami script, at or near line #115, change
      release_info=`cat /etc/fedora-release 2>/dev/null`
to
      release_info=`cat /etc/fedora-faked-release 2>/dev/null`

You can then run qtp-whatami from the CLI, and it should report fdr60.

-- 
-Eric 'shubes'

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to