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 <fx...@lenovo.com <mailto:fx...@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
    fx...@lenovo.com <mailto:fx...@lenovo.com>

    Lenovo.com
    Twitter | Facebook | Instagram | Blogs | Forums


-- Juju mailing list
    Juju@lists.ubuntu.com <mailto:Juju@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
fx...@lenovo.com
        
Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to