Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "rpjday@crashcourse.ca" <rpjday@crashcourse.ca>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] what is the current purpose of PRIORITY variable?
Date: Mon, 23 Mar 2020 12:28:12 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LFD.2.21.2003231227180.20763@localhost.localdomain> (raw)
In-Reply-To: <534b0df5f09c60381ed520ff3f840a1b315d3142.camel@linuxfoundation.org>

On Mon, 23 Mar 2020, Richard Purdie wrote:

> On Mon, 2020-03-23 at 12:06 -0400, Robert P. J. Day wrote:
> > On Mon, 23 Mar 2020, Richard Purdie wrote:
> >
> > > On Mon, 2020-03-23 at 09:28 -0400, rpjday@crashcourse.ca wrote:
> > > >   continuing my travels, ran across "PRIORITY" variable that i
> > > > was
> > > > not
> > > > aware of, was introduced in bitbake.conf way back in 2005 in
> > > > oelint.bbclass, but there are only a few lonely references to it
> > > > these days:
> > > >
> > > > meta/conf/documentation.conf:PRIORITY[doc] = "Indicates the
> > > > importance
> > > > of a package.  The default value is 'optional'.  Other standard
> > > > values
> > > > are 'required', 'standard' and 'extra'."
> > > >
> > > > meta/conf/bitbake.conf:PRIORITY = "optional"
> > > >
> > > > meta/classes/package_ipk.bbclass:        fields.append(["Priority
> > > > :
> > > > %s\n", ['PRIORITY']])
> > > >
> > > > meta/classes/package_ipk.bbclass:IPKEXTRAVARS = "PRIORITY
> > > > MAINTAINER
> > > > PACKAGE_ARCH HOMEPAGE"
> > > >
> > > > meta/classes/package_deb.bbclass:        fields.append(["Priority
> > > > :
> > > > %s\n", ['PRIORITY']])
> > > >
> > > > meta/classes/package_deb.bbclass:do_package_write_deb[vardeps] +=
> > > > "PKGV PKGR PKGV DESCRIPTION SECTION PRIORITY MAINTAINER DPKG_ARCH
> > > > PN
> > > > HOMEPAGE"
> > > >
> > > >   is this doing anything useful these days?
> > >
> > > Not really, no.
> >
> >   any objection to my submitting a patch to remove it?
>
> I'm torn on that. The Priority field is a standard part of a debian
> package (
> https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html#s-priority
> ) and also part of opkg's implementation.
>
> We don't use it, I'm not sure that means we should remove the code
> which would allow someone to though.
>
> I also don't know if dpkg/apt supports an unset value for it.

  ok, i'll pass on that and move on, there's plenty of other stuff to
work on.

rday

      reply	other threads:[~2020-03-23 16:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23 13:28 what is the current purpose of PRIORITY variable? rpjday
2020-03-23 16:05 ` [OE-core] " Richard Purdie
2020-03-23 16:06   ` rpjday
2020-03-23 16:11     ` Richard Purdie
2020-03-23 16:28       ` rpjday [this message]

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=alpine.LFD.2.21.2003231227180.20763@localhost.localdomain \
    --to=rpjday@crashcourse.ca \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox