Skip to content

Conversation

@will-v-pi
Copy link
Contributor

Add the key files and partition table JSON to the link dependencies, to ensure the postprocessing is run when any of them are updated. Link dependencies seem to be the simplest way, as the elf file needs re-linking anyway given it has been post-processed, so this shouldn't add any unnecessary extra processing.

Without this fix, if you modify a Partition Table JSON file or a private key, the ouptut binary will not be updated. With this fix it is updated correctly when those files are modified.

Add the key files and partition table JSON to the link dependencies, to ensure the postprocessing is run when any of them are updated. Link dependencies seem to be the simplest way, as the elf file needs re-linking anyway given it has been post-processed, so this doesn't add any unecessary extra processing.

Without this fix, if you modify a pt.json file or a private key, the ouptut binary will not have the correct pt/key.
@will-v-pi will-v-pi added this to the 2.1.0 milestone Nov 7, 2024
@will-v-pi will-v-pi requested a review from kilograham November 7, 2024 18:05
@kilograham kilograham merged commit 2331e6f into raspberrypi:develop Nov 9, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants