Re: %include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 7/30/07, Michael DeHaan <mdehaan@xxxxxxxxxx> wrote:
drew einhorn wrote:
> When is 0.5.2 due to hit the repositories?

0.5.2 won't.    0.5.0 is a development/testing "branch".    Given a
sufficient period of testing and questions on IRC, if there are no
problems, I'll push it to the mirrors as 0.6.0 (stable).

Failing any additional feeback, I'll rely on what I've tested and will
push in a couple of weeks.

If 0.6.0 is likely in a couple weeks, I have no need for an 0.5.2

>
> I've cobbled together my own .rpm packages
> using the latest source from git
>
> I think they have some minor problems
>    bad %files section
This may already be corrected upstream.  Depends when your checkout was.
>

You don't realize what I did.
I expanded the latest source rpms I could find, 0.5.1
think .spec file in the download directory was a bit newer
took the source code from git
mashed it all together and built an rpm

Think to get it right all I would need to fix the %files section

There may be other more subtle problems.
I don't know!

I'll be glad when I have something I have a bit more faith in.

> but I think they are close enough for now
> and I think they will automatically be updated when 0.5.2
> hits the repositories.
Yes...
>
> But I'm not 100% sure I haven't made some mistakes that
> are bigger than I realize, since I have not really built any
> rpms for years.
>
> I'll be happy when my funky rpms are replaced.
Hopefully they aren't any more funky than the specfile already included
with Cobbler in the source checkout.

("make", "cd rpm-build", "rpm -i cobbler-something.rpm")
>
> On 7/30/07, *Michael DeHaan* <mdehaan@xxxxxxxxxx
> <mailto:mdehaan@xxxxxxxxxx>> wrote:
>
>     Adam Rosenwald wrote:
>     > Nice!!! Will make use of this!
>     >
>     > Examples should fit nicely in the KickstartTemplating WiKi page. :)
>
>     It's a public wiki ... so community generated examples are always
>     welcome anytime.   You'll need to create a Fedora Account System
>     account
>     to get
>     started:   https://admin.fedoraproject.org/accounts/
>
>     However, just to get folks started, I've written some things up:
>     https://hosted.fedoraproject.org/projects/cobbler/wiki/KickstartTemplating
>
>     Probably more than most want to know :)
>
>
>     >
>     > -A.
>     >
>     > Michael DeHaan wrote:
>     >> drew einhorn wrote:
>     >>> My kickstarts would be simpler and more readable if I could put
>     >>> stuff that's frequently used in many kickstarts in a separate file
>     >>> and use %include
>     >>> Where do I put the files so kickstart can find them when the time
>     >>> comes.
>     >>>
>     >>> --
>     >>> Drew Einhorn
>     >>>
>     ------------------------------------------------------------------------
>     >>>
>     >>>
>     >>> _______________________________________________
>     >>> et-mgmt-tools mailing list
>     >>> et-mgmt-tools@xxxxxxxxxx <mailto:et-mgmt-tools@xxxxxxxxxx >
>     >>> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>     < https://www.redhat.com/mailman/listinfo/et-mgmt-tools>
>     >>
>     >> I've just committed a neat feature to allow easy includes in
>     >> kickstart templates without needing to do the host-on-http-server /
>     >> wget-in-pre / %include trick.
>     >>
>     >> To do this, in a kickstart template, you can now say:
>     >>
>     >> SNIPPET::name_of_snippet
>     >>
>     >> and it will automatically include the contents of
>     >> /var/lib/cobbler/snippets/name_of_snippet
>     >>
>     >> The interestingness here is that the snippet definition can also
>     >> contain further Cobbler templating variables that are profile
>     and/or
>     >> system specific -- which is something
>     >> you can't do in Anaconda without a lot of black magic.
>     >>
>     >> Currently Cobbler includes only one sample snippet as an
>     example, and
>     >> you will see SNIPPET::partition_select in the new default
>     >> kickstarts.     Folks can define as many more as they like by
>     adding
>     >> files to /var/lib/cobbler/snippets/, giving each file a descriptive
>     >> name.
>     >>
>     >> --Michael
>     >>
>     >> _______________________________________________
>     >> et-mgmt-tools mailing list
>     >> et-mgmt-tools@xxxxxxxxxx <mailto:et-mgmt-tools@xxxxxxxxxx >
>     >> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>     >>
>     >
>     > _______________________________________________
>     > et-mgmt-tools mailing list
>     > et-mgmt-tools@xxxxxxxxxx <mailto:et-mgmt-tools@xxxxxxxxxx>
>     > https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>
>     _______________________________________________
>     et-mgmt-tools mailing list
>     et-mgmt-tools@xxxxxxxxxx <mailto:et-mgmt-tools@xxxxxxxxxx>
>     https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>
>
>
>
> --
> Drew Einhorn
> ------------------------------------------------------------------------
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



--
Drew Einhorn
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux