Closed cswindle closed 1 year ago
Packages build successfully
Package build fails while trying to build build.rs in onefuzz-agent and onefuzz-task due to the following code:
fn main() -> Result<(), Box<dyn Error>> { let sha = run_cmd(&["git", "rev-parse", "HEAD"])?;
Where the code is assuming that this is running in a git repo, which it won't be if the tarball is downloaded. This means that a patch needs to be applied in order to get the package building when building from source for into an RPM for example.
AB#162819
@cswindle can you DM me on teams please.
Spoke with cswindle offline.
Information
Provide detailed reproduction steps (if any)
Expected result
Packages build successfully
Actual result
Package build fails while trying to build build.rs in onefuzz-agent and onefuzz-task due to the following code:
Where the code is assuming that this is running in a git repo, which it won't be if the tarball is downloaded. This means that a patch needs to be applied in order to get the package building when building from source for into an RPM for example.
AB#162819