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

Don't add /bin/sh as a dependency #7

Merged
merged 1 commit into from Nov 29, 2022
Merged

Conversation

tofay
Copy link
Contributor

@tofay tofay commented Aug 13, 2022

This updates rpm-rs to not universally add /bin/sh as a required dependency.

I want to use rpm-rs (via cargo-generate-rpms) to create RPMs that don't depend on /bin/sh , as I want to then install the RPMs I'm producing into a container, and I don't want a shell and its dependencies installed in the container.

I can't find any rationale for the existing behaviour - it was added in ecbcdab#diff-43fb48f0415ccc8ae772c068cc4bc8717f04a0e93a4113396ce0b48deddd9af6.

@drahnr
Copy link
Contributor

drahnr commented Nov 21, 2022

@tofay could you rebase the PR so this can be landed :) thank you!

@dralley
Copy link
Collaborator

dralley commented Nov 21, 2022

If I have to guess, it may have been something to do with "scriptlets". So perhaps something else related to that may be broken?

However I agree that it doesn't make sense to declare unconditionally. LGTM

@drahnr
Copy link
Contributor

drahnr commented Nov 28, 2022

@tofay gentle ping

to enable the production of RPMs which don't require /bin/sh

Signed-off-by: Tom Fay <tomfay@microsoft.com>
@drahnr drahnr merged commit 556d375 into rpm-rs:master Nov 29, 2022
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.

None yet

3 participants