Skip to content

Allow collect to chroot itself #1658

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 22, 2024
Merged

Allow collect to chroot itself #1658

merged 5 commits into from
Oct 22, 2024

Conversation

hedge-sparrow
Copy link
Member

Description, Motivation and Context

This PR allows the collect binary to chroot based on a flag, this simplifies running it inside a container where the desired root is at a path other than the containers root without the need to copy the collect binary itself onto the host.

Checklist

  • New and existing tests pass locally with introduced changes.
  • Tests for the changes have been added (for bug fixes / features)
  • The commit message(s) are informative and highlight any breaking changes
  • Any documentation required has been added/updated. For changes to https://troubleshoot.sh/ create a PR here

Does this PR introduce a breaking change?

  • Yes
  • No

@hedge-sparrow hedge-sparrow requested a review from a team as a code owner October 22, 2024 13:21
@hedge-sparrow hedge-sparrow reopened this Oct 22, 2024
@hedge-sparrow hedge-sparrow added the type::feature New feature or request label Oct 22, 2024
Copy link
Member

@diamonwiggins diamonwiggins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hedge-sparrow hedge-sparrow merged commit c968fca into main Oct 22, 2024
27 checks passed
@hedge-sparrow hedge-sparrow deleted the ash/collect-chroot branch October 22, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants