#1367 closed defect (fixed)
RPMs should invoke update_properties.sh
Reported by: | Dimitar Misev | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.5 |
Component: | build system | Version: | development |
Keywords: | Cc: | Bang Pham Huu | |
Complexity: | Medium |
Description
source:applications/petascope/update_properties.sh allows to update petascope.properties; this is invoked on make install, but not when RPMs are installed I think.
Change History (10)
comment:1 by , 8 years ago
Milestone: | 9.3 → 9.4 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 7 years ago
Owner: | changed from | to
---|
comment:3 by , 7 years ago
Milestone: | 9.4 → 9.5 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
in rpm package, new petascope.properties is called: petascope.properties.rpmnew in /opt/rasdaman/etc.
in deb package, new petascope.properties is called: petascope.properties.dpkg-dist in /opt/rasdaman/etc.
follow-up: 5 comment:4 by , 7 years ago
What about when the installer is used to install rasdaman and the user runs update_rasdaman.sh to update the installation?
comment:5 by , 7 years ago
Replying to dmisev:
What about when the installer is used to install rasdaman and the user runs update_rasdaman.sh to update the installation?
it is called only when update_rasdaman.sh, new install rasdaman will not invoke as these files (*.rpmnew, *.dpkg-dist) don't exist in /opt/rasdaman/etc.
comment:7 by , 7 years ago
Replying to dmisev:
I mean is the update_properties.sh called in this case?
yes, if petascope.properties exists in /opt/rasdaman/etc.
comment:9 by , 7 years ago
- user installs rasdaman with installer
- user runs update_rasdaman.sh to update installation (which now has updated petascope.properties)
- verify that /opt/rasdaman/etc/petascope.properties is automatically upgraded
comment:10 by , 7 years ago
Replying to dmisev:
Can you please test?
I cannot as no new package is built with this change in installer. in update_rasdaman.sh it is
/opt/rasdaman//installer//install.sh -j /opt/rasdaman//install_profile.json
The installer needs to be updated to handle this.