All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: "poky@yoctoproject.org" <poky@yoctoproject.org>
Subject: Kernel recipe naming
Date: Thu, 09 Dec 2010 10:33:17 -0800	[thread overview]
Message-ID: <4D0120ED.6060801@linux.intel.com> (raw)

I asked Richard about recipe naming convention this morning. We were pressed for
time, but this is what I took away from the discussion.

For typical packages, the filename typically looks like:

package-name_version.bb

For kernels this gets a bit more complex as it's useful to indicate the source
of the kernel (linaro, omap, etc.) as well as the base kernel version (2.6.33)
and Richard feels it would be nice to indicate in the filename what the
underlying source repository is (_git). (I agree up to the last point, but for
the source repository type, it seems to me if a user needs that much detail
they can open the .bb file and check the SRC_URI.)

So for a linux recipe, naming as follows seems to meet the above:

linux-linaro_2.6.35+git.bb
linux-linaro_2.6.37+git.bb

I mentioned the -stable and -devel tags which he agreed could be useful, how to
integrate them into the naming scheme wasn't clear to me though. Perhaps:

linux-linaro-stable_2.6.35+git.bb
linux-linaro-devel_2.6.37+git.bb

Although to me, stable and 2.6.35 are redundant for this kernel, and something
along the lines of the following is just as informative, and doesn't pollute the
directory listings quite as much (and doesn't have to be renamed when stable
rebases):

linux-linaro_stable.bb
linux-linaro_devel.bb

In any of the above cases, the PV value doesn't seem to be disputed:

PV=2.6.35+git${SRCPV}

or possibly

PV=2.6.35-linaro+git${SRCPV}

Although including linaro in the PV is probably redundant as it's included in
the PN and those are typically reported together IIRC $PN_$PV.

Thoughts?
-- 
Darren Hart
Yocto Linux Kernel


             reply	other threads:[~2010-12-09 18:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-09 18:33 Darren Hart [this message]
2010-12-09 18:43 ` Kernel recipe naming Frans Meulenbroeks
2010-12-10 16:49 ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D0120ED.6060801@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.