charm build -s centos7 does nothing special?
John Meinel
john at arbash-meinel.com
Wed May 24 04:26:06 UTC 2017
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 <fxia1 at lenovo.com> wrote:
> 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> 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
>>
>> Lenovo.com
>> Twitter | Facebook | Instagram | Blogs | Forums
>>
>>
>> --
>> Juju mailing list
>> Juju at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/juju
>>
>
>
> --
> Feng xia
> Engineer
> Lenovo USA
>
> Phone: 5088011794fxia1 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/20170524/418e361d/attachment.html>
More information about the Juju
mailing list