summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/siteinfo.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-30 17:15:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-31 16:58:36 +0100
commit6b9eb4e9f04387b68e1b55e06b0d91edfa572abb (patch)
tree109ab229eedec3d928449df270885dd54c097ca7 /meta/classes-recipe/siteinfo.bbclass
parent8fc598580e0222c022fedec79233b6de2320b0c4 (diff)
downloadpoky-6b9eb4e9f04387b68e1b55e06b0d91edfa572abb.tar.gz
siteconfig: Drop siteconfig class/code/support
The siteconfig code was only used for 5 cache values. The complexity added to sstate to support this code was considerable and the runtime much more significant than any benefit the cache files would have added. Drop the support for this which was only used minimally for ncurses and zlib. (From OE-Core rev: f3766dc038f7ba9780ddaf5eb8d27385ea31d7d0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/siteinfo.bbclass')
-rw-r--r--meta/classes-recipe/siteinfo.bbclass16
1 files changed, 1 insertions, 15 deletions
diff --git a/meta/classes-recipe/siteinfo.bbclass b/meta/classes-recipe/siteinfo.bbclass
index 68aefb8eda..25b53d929a 100644
--- a/meta/classes-recipe/siteinfo.bbclass
+++ b/meta/classes-recipe/siteinfo.bbclass
@@ -221,20 +221,6 @@ def siteinfo_get_files(d, sysrootcache=False):
221 # This would show up as breaking sstatetests.SStateTests.test_sstate_32_64_same_hash for example 221 # This would show up as breaking sstatetests.SStateTests.test_sstate_32_64_same_hash for example
222 searched = [] 222 searched = []
223 223
224 if not sysrootcache:
225 return sitefiles, searched
226
227 # Now check for siteconfig cache files in sysroots
228 path_siteconfig = d.getVar('SITECONFIG_SYSROOTCACHE')
229 if path_siteconfig and os.path.isdir(path_siteconfig):
230 for i in os.listdir(path_siteconfig):
231 if not i.endswith("_config"):
232 continue
233 filename = os.path.join(path_siteconfig, i)
234 sitefiles.append(filename)
235 return sitefiles, searched 224 return sitefiles, searched
236 225
237# 226
238# Make some information available via variables
239#
240SITECONFIG_SYSROOTCACHE = "${STAGING_DATADIR}/${TARGET_SYS}_config_site.d"