[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436842#comment-15436842
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9462:
--------------------------------------------

Github user rhtyd commented on the issue:

    https://github.com/apache/cloudstack/pull/1647
  
    @wido @vincentbernat  I could not get rid of the postinst step as shell is 
not executed when I move the code in the EnvironmentFile itself. I've reduced 
its impact to only run when the default /etc/default/cloudstack-{usage, agent} 
are installed.
    
    Since we're re-using the common systemd files, the JAVA_HOME declared in 
the files are set to the default we see on CentOS and only in that case the 
postinst step will replace it with the system default. On future upgrades, the 
postinst code won't run. Sorry, but this hack was needed.
    
    Please see one last time, if we're in agreement as soon as my packaging 
testing succeed I'll merge this. /cc @jburwell @karuturi 


> Systemd packaging for Ubuntu 16.04
> ----------------------------------
>
>                 Key: CLOUDSTACK-9462
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9462
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Rohit Yadav
>            Assignee: Rohit Yadav
>             Fix For: 4.10.0, 4.9.1
>
>
> Support for building deb packages that will work on Ubuntu 16.04



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to