Skip to content
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

Feature: SLIM/BUILD - An ability to keep the linux distribution metadata in the minified image ( --include-distro-metadata flag) #69

Open
kcq opened this issue Oct 27, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@kcq
Copy link
Contributor

kcq commented Oct 27, 2024

Need a way to indicate that we don't want to remove the linux distribution metadata in the output image for the slim (aka build) command. This metadata is located in the /etc/os-release file. It is possible to keep that file by using the generic --include-path flag. The goal here is to introduce a custom --include* flag (--include-distro-metadata) that's a shortcut for the --include-path without having to specify the /etc/os-release file explicitly.

Unlike other custom --include* flags the custom --include-distro-metadata flag doesn't need to be propagated to the sensor. Instead, it's enough to "convert" --include-distro-metadata to a regular --include-path value internally in the main app when handling the slim command.

@kcq kcq added good first issue Good for newcomers help wanted Extra attention is needed enhancement New feature or request labels Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant