Re: charm build -s centos7 does nothing special?

2017-05-23 Thread John Meinel
I would imagine it would be something like that, but I don't actually know how 'series' is wired into the charm build tool. John =:-> On Wed, May 24, 2017 at 4:35 AM, fengxia wrote: > Interesting. So you mean the diff is really depending on what I put in > scripts. If so, my

Re: charm build -s centos7 does nothing special?

2017-05-23 Thread fengxia
Interesting. So you mean the diff is really depending on what I put in scripts. If so, my immediate thought is that charm build does nothing special for series then, since I'm coding the "if series=='ubuntu'... else:", the build script cannot touch my code, right? On 05/20/2017 03:17 AM,

Re: charm build -s centos7 does nothing special?

2017-05-21 Thread fengxia
Anyone can shed some lights on this? I think charm build -s centos7 does nothing special to the build. Btw, /usr/bin/charm is a binary. Where can I find the source? On 05/20/2017 02:07 AM, fengxia wrote: Hi Juju, I made a hello world charm based on charm tutorial, which includes layer-basic

Re: charm build -s centos7 does nothing special?

2017-05-20 Thread John Meinel
I would guess the charm can define series specific build instructions, but that layer-basic doesn't, itself, have different instructions for centos7. John =:-> On Sat, May 20, 2017 at 10:07 AM, fengxia wrote: > Hi Juju, > > I made a hello world charm based on charm tutorial,

charm build -s centos7 does nothing special?

2017-05-20 Thread fengxia
Hi Juju, I made a hello world charm based on charm tutorial, which includes layer-basic. I noticed that "charm build" can take a switch "-s series". I specified "-s centos7", and diff the result from default built which is "trusty". There is no material different between two builds. Is this