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, [email protected] 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.

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#136604): 
https://lists.openembedded.org/g/openembedded-core/message/136604
Mute This Topic: https://lists.openembedded.org/mt/72491378/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to