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 <[email protected]> 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 <[email protected]> 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 >> [email protected] >> >> Lenovo.com >> Twitter | Facebook | Instagram | Blogs | Forums >> >> >> -- >> Juju mailing list >> [email protected] >> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >> an/listinfo/juju >> > > > -- > Feng xia > Engineer > Lenovo USA > > Phone: [email protected] > > Lenovo.com > Twitter | Facebook | Instagram | Blogs | Forums > >
-- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
