Re: Setting environment variables from within snapcraft.yaml

2017-03-21 Thread Jin Hsieh
Hello Joseph, As you said we generally export env. variables in launching script to deploy a customized part, not pretty sure we now have a plugin or something to support this "before pull the source"... BR. Jin On Tue, Mar 21, 2017 at 5:09 AM, Joseph Rushton Wakeling <

Re: To get the environment variables in snapping

2017-03-16 Thread Jin Hsieh
in, > > i wonder if this would be better confined as classic? > > /manik > > On Mon, Mar 13, 2017 at 1:29 AM, Jin Hsieh <jin.hs...@canonical.com> > wrote: > > > Hello guys, > > > > We are making a workable mail solution snap, > > the sel

To get the environment variables in snapping

2017-03-13 Thread Jin Hsieh
Hello guys, We are making a workable mail solution snap, the selected back-end services are Postfix(SMTP) and Dovecot(POP3/IMAP). For those services as you known they have some dependencies with classic paths, for example the /etc/postfix/main.cf and /etc/dovecot/dovecot.conf so we made some

To handle the absolute path in compiling time

2017-01-10 Thread Jin Hsieh
Hello All, We are trying to snap up a mail server, by referring to the design of a popular solution, there are several services need to be packaged as parts. The major one is the postfix, it uses an install script to deploy the built binary, libraries and the configuration files, the problem