leborchuk commented on PR #13:
URL: 
https://github.com/apache/cloudberry-devops-release/pull/13#issuecomment-2778994044

   I found out that it's impossible to install debian binary to /usr/local 
directory. Debian package has special section to prevent a such danger action 
https://manpages.ubuntu.com/manpages/oracular/man1/dh_usrlocal.1.html
   
   It's due to debian policy 
https://www.debian.org/doc/debian-policy/ch-opersys.html#s9.1.2
   
   > As mandated by the FHS, packages must not place any files in /usr/local, 
either by putting them in the file system archive to be unpacked by dpkg or by 
manipulating them in their maintainer scripts.
   > However, the package may create empty directories below /usr/local so that 
the system administrator knows where to place site-specific files. 
   
   So I installed all cloudberry binaries to /usr/cloudberry-db and then in 
postinst script create symbolic link /usr/local/cloudberry-db -> 
/usr/cloudberry-db


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to