mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1240323 - Fix installation of binary components in a subdir of dist/bin for linux artifact builds. r=nalexander
A recent change regressed this behavior -- while an artifact build runs, it doesn't load certain "about:" pages due to missing libraries in subdirectories of dist/bin.
This commit is contained in:
parent
c25bc3cfd5
commit
26c7f25c2e
@ -193,7 +193,7 @@ class LinuxArtifactJob(ArtifactJob):
|
||||
'firefox/plugin-container',
|
||||
'firefox/updater',
|
||||
'firefox/webapprt-stub',
|
||||
'firefox/*.so',
|
||||
'firefox/**/*.so',
|
||||
}
|
||||
|
||||
def process_package_artifact(self, filename, processed_filename):
|
||||
@ -208,11 +208,13 @@ class LinuxArtifactJob(ArtifactJob):
|
||||
if not any(mozpath.match(f.name, p) for p in self.package_artifact_patterns):
|
||||
continue
|
||||
|
||||
basename = mozpath.basename(f.name)
|
||||
# We strip off the relative "firefox/" bit from the path,
|
||||
# but otherwise preserve it.
|
||||
destpath = mozpath.relpath(f.name, "firefox")
|
||||
self.log(logging.INFO, 'artifact',
|
||||
{'basename': basename},
|
||||
'Adding {basename} to processed archive')
|
||||
writer.add(basename.encode('utf-8'), reader.extractfile(f), mode=f.mode)
|
||||
{'destpath': destpath},
|
||||
'Adding {destpath} to processed archive')
|
||||
writer.add(destpath.encode('utf-8'), reader.extractfile(f), mode=f.mode)
|
||||
added_entry = True
|
||||
|
||||
if not added_entry:
|
||||
|
Loading…
Reference in New Issue
Block a user