* what is the current purpose of PRIORITY variable?
@ 2020-03-23 13:28 rpjday
2020-03-23 16:05 ` [OE-core] " Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: rpjday @ 2020-03-23 13:28 UTC (permalink / raw
To: OE Core mailing list
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?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] what is the current purpose of PRIORITY variable?
2020-03-23 13:28 what is the current purpose of PRIORITY variable? rpjday
@ 2020-03-23 16:05 ` Richard Purdie
2020-03-23 16:06 ` rpjday
0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2020-03-23 16:05 UTC (permalink / raw
To: rpjday@crashcourse.ca, OE Core mailing list
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.
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] what is the current purpose of PRIORITY variable?
2020-03-23 16:05 ` [OE-core] " Richard Purdie
@ 2020-03-23 16:06 ` rpjday
2020-03-23 16:11 ` Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: rpjday @ 2020-03-23 16:06 UTC (permalink / raw
To: Richard Purdie; +Cc: OE Core mailing list
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?
rday
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] what is the current purpose of PRIORITY variable?
2020-03-23 16:06 ` rpjday
@ 2020-03-23 16:11 ` Richard Purdie
2020-03-23 16:28 ` rpjday
0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2020-03-23 16:11 UTC (permalink / raw
To: Robert P. J. Day; +Cc: OE Core mailing list
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.
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] what is the current purpose of PRIORITY variable?
2020-03-23 16:11 ` Richard Purdie
@ 2020-03-23 16:28 ` rpjday
0 siblings, 0 replies; 5+ messages in thread
From: rpjday @ 2020-03-23 16:28 UTC (permalink / raw
To: Richard Purdie; +Cc: OE Core mailing list
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-03-23 16:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.