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

Add rpm-without-system-rust to rpmspec #237

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

retornam
Copy link
Contributor

@retornam retornam commented Aug 22, 2024

Updated the rpmspec with the following conditions

  • with system_rust
  • without system_rust

[1] is the default and builds the rpmspec with
rustc and cargo provided they are installed
with yum

[2] builds the rpmspecfile with rustc and cargo
installed outside of yum (in cases where rustup
was used to install both rustc and cargo)

[1] and [2] makes it possible to build both
instances using the Makefile.

The old makefile command

make rpm

stays the same but assumes [1] and the new
command

make rpm-without-system-rust

assumes [2]

Issue #, if available:
kubernetes-sigs/aws-efs-csi-driver#1440

Description of changes:

The build in https://github.com/kubernetes-sigs/aws-efs-csi-driver fails because they use an image which installs rust using rustup. Adding make rpm-without-system-rust will allow for such instances when there is the need to build
with rust not installed by yum.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Updated the rpmspec with the following conditions

 - with system_rust
 - without system_rust

[1] is the default and builds the rpmspec with
rustc and cargo provided they are installed
with yum

[2] builds the rpmspecfile with rustc and cargo
installed outside of yum (in cases where rustup
was used to install both rustc and cargo)

[1] and [2]  makes it possible to build both
instances using the Makefile.

The old makefile command

	make rpm

stays the same but assumes [1] and the new
command

	make rpm-without-system-rust

assumes [2]
@mskanth972
Copy link
Contributor

/lgtm

@retornam
Copy link
Contributor Author

@mskanth972 is there anything I can do to help get this merged?

@mskanth972
Copy link
Contributor

I bought this up internal, we are planning to revert the change which was made in efs-utils previously as its creating a blockage for ADC regions(isolated regions) regarding the rust installation, will update you by end of the week on this.

@retornam
Copy link
Contributor Author

retornam commented Sep 6, 2024

@mskanth972 hope all is well. Can we get some movement on this PR as it is blocking kubernetes-sigs/aws-efs-csi-driver#1440

Thanks and have a good weekend

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.

3 participants