Skip to content

Conversation

jglogan
Copy link
Contributor

@jglogan jglogan commented Sep 29, 2025

  • Motivation is to be able to add the swift-backtrace-static binary as needed.
  • Use singlular --add-file and --label options since both accept multiple invocations with single values each.

Example usage:

./bin/cctl rootfs create \
                --vminitd vminitd/bin/vminitd \
                --vmexec vminitd/bin/vmexec \
                --add-file /Users/john/.swiftpm/swift-sdks/swift-6.2-RELEASE_static-linux-0.0.1.artifactbundle/swift-6.2-RELEASE_static-linux-0.0.1/swift-linux-musl/musl-1.2.5.sdk/aarch64/usr/libexec/swift/linux-static/swift-backtrace-static:sbin/swift-backtrace \
                --label org.opencontainers.image.source=https://github.com/apple/containerization \
                --image vminit:latest \
                bin/init.rootfs.tar.gz

- Motivation is to be able to add the
  `swift-backtrace-static` binary as needed.
- Use singlular `--add-file` and `--label` options
  since both accept multiple invocations with
  single values each.
@jglogan jglogan merged commit b61b932 into apple:main Sep 29, 2025
2 checks passed
@jglogan jglogan deleted the static-backtrace branch September 29, 2025 19:38
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