Issue Details (XML | Word | Printable)

Key: CORE-3467
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Alexander Peshkov
Reporter: Philippe Makowski
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

provide a silent install switch

Created: 05/May/11 06:26 PM   Updated: 23/Apr/13 12:04 PM
Component/s: Installation
Affects Version/s: 3.0 Initial, 2.5.0
Fix Version/s: 2.5.1, 3.0 Alpha 1

Time Tracking:
Issue & Sub-Tasks
Issue Only
Not Specified

Environment: linux

Planning Status: Unspecified

Sub-Tasks  All   Open   

 Description  « Hide
Today make install is interactive and ask a password for SYSDBA
to make easier setup, and possibility to run automate build and tests run, we need a switch for make install
(-silent for example)
this will install Firebird without asking anything as input and generate a random password for SYSDBA
the random password will be in a file at the same location than security database

priority target : 2.5.x and 3.0.x

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Philippe Makowski added a comment - 17/Aug/11 02:53 PM
From packages ./install.sh -silent is ok

but if I take sources, do make and then make install -silent
the install is not "silent"
it seems that Makefile.install do not pass the -silent switch to the install.sh script :

install: buildTarDir
(cd $(GEN_ROOT)/$(TarDir); FIREBIRD= FIREBIRD_LOCK= ./install.sh)
cp -r $(GEN_ROOT)/$(DebugDir)/* /



Alexander Peshkov added a comment - 18/Aug/11 06:37 AM
Yes. Make is not intended to do such things. We need one more target - something like 'make silent_install'. Not sure - is it better to reopen this item or add new one?

Philippe Makowski added a comment - 18/Aug/11 07:36 AM - edited
as it was not a priority, no problem to reopen this one
'make silent_install' would be ok
I guess it is just a small patch to build/install/arch-specific/linux/Makefile.in
adding something like :

silent_install: buildTarDir
(cd $(GEN_ROOT)/$(TarDir); FIREBIRD= FIREBIRD_LOCK= ./install.sh -silent)
cp -r $(GEN_ROOT)/$(DebugDir)/* /