charm build -s centos7 does nothing special?

fengxia fxia1 at lenovo.com
Wed May 24 00:35:07 UTC 2017


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, John Meinel wrote:
> 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 <fxia1 at lenovo.com 
> <mailto:fxia1 at lenovo.com>> wrote:
>
>     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 expected?
>
>     -- 
>     Feng xia
>     Engineer
>     Lenovo USA
>
>     Phone: 5088011794
>     fxia1 at lenovo.com <mailto:fxia1 at lenovo.com>
>
>     Lenovo.com
>     Twitter | Facebook | Instagram | Blogs | Forums
>
>
>     -- 
>     Juju mailing list
>     Juju at lists.ubuntu.com <mailto:Juju at lists.ubuntu.com>
>     Modify settings or unsubscribe at:
>     https://lists.ubuntu.com/mailman/listinfo/juju
>     <https://lists.ubuntu.com/mailman/listinfo/juju>
>
>

-- 
Feng xia
Engineer
Lenovo USA

Phone: 5088011794
fxia1 at lenovo.com
  	
Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170523/49adf40e/attachment.html>


More information about the Juju mailing list