Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > SuSE Linux Help > RPM creation with dependency to a ini-file

Forgot Password?
 SuSE Linux Help   For help and discussions related to SuSE Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-13-2009   #1 (permalink)
Just Joined!
 
Join Date: May 2009
Posts: 8
RPM creation with dependency to a ini-file

Hello,

I made an RPM that needs an ini-File as parameter or simply to be read in the same folder as the rpm is.

Description:
The Software included is a windows-app combined with wine. this windows app can be installed via netinstall, where it needs an Inifile, that is in the same folder as the setup.exe. Here is no Problem.
But since this whole installation is packed with wine into a RPM, i want to have the possibility, to adjust the Inifile as well before installing. So the goal is to kopy a folder (for example "NetInstall"), that contains the rpm and the Inifile, to the users desktops. There they will be installed automatically.

Now the Problem is that when installing an RPM (for example with "rpm -Uvh asdf") the working directory seems to be "/", where the Inifile is not locatet. So it can not be found.

Is there a way to tell the RPM-installation to search in the same path as the RPM?

Else, can a rpm installation be startet with a textfile as parameter?
example: "rpm -Uvh setup.rpm -Inifile.ini"
c_andy_man is offline  


Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 11:13 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2