Modify a config file during installation (package developing)


 
Thread Tools Search this Thread
Operating Systems Solaris Modify a config file during installation (package developing)
# 1  
Old 09-10-2008
Modify a config file during installation (package developing)

Hi,

In the package I have a config file which after requesting some user input I need to modify accordingly.

I created a build file in which I wrote the script to modify the config file (using sed command replace some parameters values with the ones read from user input)

In prototype I added the following line:
i copyright
i pkginfo
i request
i checkinstall
i postinstall
i postremove
i depend
e build $DIR/bin/server.ini ? ? ?

But this is not good and generate errors during packaging
no object for $DIR/bin/server.ini found in search path

Tried without the $DIR/ too.

But this file is included in the package.
Could somebody help ?

Thanks,
Bianca
# 2  
Old 09-12-2008
Did you try using the exact full path of the directory instead?? Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Package installation in Solaris 11

I have Solaris-11 and installed few non global zones inside it. I saw many of the packages are not installed in non global zone after installing it. root@pos_ddr01 # pkg list | wc -l 479 root@pos_ddr01 # root@pos_ddr01-zkmq01:~# pkg list | wc -l 206 root@pos_ddr01-zkmq01:~# I can... (1 Reply)
Discussion started by: solaris_1977
1 Replies

2. Fedora

Install RPM package after OS Installation

Hi Guys I want to know whether is it possible to automatically Install a RPM package after installing OS. Basically we have have one rpm package which we want to install as part of OS installation . Please Suggest (3 Replies)
Discussion started by: mr_deb
3 Replies

3. Solaris

php package installation problem

can u tell me the procedure to install php 5 using package .. i downloaded php-5.2.1-sol10-x86-local.gz from sunfreeware i have added package using pkgadd -d php-5.2.1-sol10-x86-local then i have added these two lines in httpd.conf LoadModule php5_module modules/libphp5.so... (7 Replies)
Discussion started by: senkerth
7 Replies

4. Solaris

Package installation dates

Hi All, I have a solaris machine, in which I wanted to find the Oracle Installation date and Solaris Installation date.Any ways of finding out the package installation dates. Kindly let me know Thanks Rj (1 Reply)
Discussion started by: jegaraman
1 Replies

5. Red Hat

Custom package installation using kickstart

Hi there, I've started playing around with Linux a few days back, as part of my intenship. I was wondering if there is anyway I can install custom packages (non RPM packages...say like Oracle) as a part of Kickstart. My machines are running RHEL 4. Thanks a lot :) (1 Reply)
Discussion started by: iman453
1 Replies

6. Red Hat

RPM package installation

Hi, can someone help me with this? How do we apply a new version of s/w package without disrupting the processes & daemons running with the old version? Thanks (1 Reply)
Discussion started by: naan
1 Replies

7. UNIX for Advanced & Expert Users

Package Installation HELP!

To all, I have just installed a newer software package on one of our Performance testing AIX machine A. I later found out that this package didn't need to be installed on this machine cause it was a client and not a server package. I want to back out with pkgrm but the old package doesn't... (1 Reply)
Discussion started by: liketheshell
1 Replies

8. Solaris

Solaris Package Installation

Hi Friends,, I got a doubt about installing packages after the installation of Solaris 10. Suppose if we want to get smc tool by installing some packages from cd-3,, then how can we know the packages that has to be installed to get the smc tool. Can anyone help to solve this small... (1 Reply)
Discussion started by: sdspawankumar
1 Replies

9. Solaris

installation of Solaris: installation bypasses network config.

hello solaris friends, I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url: http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies
Login or Register to Ask a Question