InstallManifest not overwriting symlinks with copied files

NEW
Unassigned

Status

Firefox Build System
General
5 years ago
2 months ago

People

(Reporter: nalexander, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
I am experimenting with using InstallManifest and process_install_manifest for Bug 900522.  I just switched my InstallManifest from add_symlink to add_copy, and observe that process_install_manifest has kept the existing symlinks rather than blowing them away and replacing them with copied files.  That surprises me.

Comment 1

5 years ago
There are tests for this at https://hg.mozilla.org/mozilla-central/file/9ff2fa888c04/python/mozbuild/mozpack/test/test_files.py#l267. However, those are low-level tests on the file classes, not on the install manifest. Not sure if the tests are bad or if we need tests covering the interaction from an install manifest perspective.

Updated

2 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.