Skip to content

Conversation

lowrisc-ci[bot]
Copy link

@lowrisc-ci lowrisc-ci bot commented Oct 16, 2025

This is an automatic cherry-pick of #28464 to branch master.

The `gen_stamped_tarball.py` script is used to create a release tarball
for the imm_section rom_ext. By default, `tarfile.open()` does not
dereference symbolic links, which means the tarball would contain broken
symlinks if the imm_section rom_ext are symlinks.

This change adds `dereference=True` to `tarfile.open()` to ensure that
symbolic links are followed and their target files are added to the
tarball instead of the symlinks themselves.

Change-Id: I17b2456b36e8efd411276b0702d2e430563e2d58
Signed-off-by: Yi-Hsuan Deng <[email protected]>
(cherry picked from commit 7ed7ea0)
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.

1 participant