Skip to contentSkip to conversation

is there any value to FILESPATHPKG?

DISCUSSION Robert P. J. Day 3 participants 3 messages May 4, 2020

lore
Share & tools
lore
#0 lore raw

not sure where i read this (YP overview manual?), but i recall
something about the FILESPATHPKG variable being deprecated, and i see its only references are:

$ grep -irw filespathpkg *
meta/classes/utils.bbclass:    filespathpkg = d.getVar("FILESPATHPKG").split(":")
meta/classes/utils.bbclass:        for pkgpath in filespathpkg:
$

so i'll leave it to someone else to decide if it still has value.

rday

#1 lore raw
Quoted 11 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Robert P. J. Day
Sent: den 4 maj 2020 12:14
To: OE Core mailing list <[email protected]>
Subject: [OE-core] is there any value to FILESPATHPKG?

not sure where i read this (YP overview manual?), but i recall
something about the FILESPATHPKG variable being deprecated, and i see its only references are:

Quoted 8 lines
$ grep -irw filespathpkg *
meta/classes/utils.bbclass:    filespathpkg = d.getVar("FILESPATHPKG").split(":")
meta/classes/utils.bbclass:        for pkgpath in filespathpkg:
$

so i'll leave it to someone else to decide if it still has value.

rday

A quick grep through the Git logs for Poky and Openembedded indicates that the only functions that depend on FILESPATHPKG, is_machine_specific() and machine_paths(), have never been used since their introduction. So I'd say it should be safe to remove them.

//Peter

#2 lore raw
Quoted 20 lines · Peter Kjellerstedt
Quoted 20 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Robert P. J. Day
Sent: den 4 maj 2020 12:14
To: OE Core mailing list <[email protected]>
Subject: [OE-core] is there any value to FILESPATHPKG?

not sure where i read this (YP overview manual?), but i recall
something about the FILESPATHPKG variable being deprecated, and i see
its only references are:

$ grep -irw filespathpkg *
meta/classes/utils.bbclass:    filespathpkg =
d.getVar("FILESPATHPKG").split(":")
meta/classes/utils.bbclass:        for pkgpath in filespathpkg:
$

so i'll leave it to someone else to decide if it still has value.

Quoted 7 lines
Quoted 1 line

rday

A quick grep through the Git logs for Poky and Openembedded indicates that the only functions that depend on FILESPATHPKG, is_machine_specific() and machine_paths(), have never been used since their introduction. So I'd say it should be safe to remove them.

Agreed, I started thinking they'd be fine simplified, but I think it does make most sense to remove them entirely.

Cheers,

Richard