Skip to content

fix: incorrect API usage for symlink entry - #577

Merged
dcantah merged 1 commit into
apple:mainfrom
manojmahapatra:fix/cctl-rootfs-symlink-entry-data
Mar 13, 2026
Merged

fix: incorrect API usage for symlink entry#577
dcantah merged 1 commit into
apple:mainfrom
manojmahapatra:fix/cctl-rootfs-symlink-entry-data

Conversation

@manojmahapatra

@manojmahapatra manojmahapatra commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

Summary

rootfs create writes proc/self/exe as a symlink, but currently passes the previous regular file buffer to ArchiveWriter.writeEntry. This change switches that symlink entry to nil, which matches archive writer expectations.

Test

Archive tests pass.

@dcantah
dcantah merged commit 735dad6 into apple:main Mar 13, 2026
3 checks passed
@manojmahapatra
manojmahapatra deleted the fix/cctl-rootfs-symlink-entry-data branch March 13, 2026 21:32
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