From 578ba6d8016785b53d7a96248ed6ccf211843b05 Mon Sep 17 00:00:00 2001 From: "Doug Bunting (AAPT)" Date: Fri, 18 Mar 2022 01:36:59 +0000 Subject: [PATCH] Merged PR 21869: Correct `--architecture` in `fpm` commands # {PR title} Correct `--architecture` in `fpm` commands ## Description Update `fpm` commands to use a supported `--architecture` value. As-is, the x64 .rpm files we produce are incompatible w/ installation on an x64 machine. Problem found during servicing version flow. ## Customer Impact Unable to build dotnet-installer-ci-official w/ current .rpm files from dotnet-aspnetcore repo. ## Regression? - [x] Yes - [ ] No This is a build regression since 6.0.3. It will also impact our 'main' branch. ## Risk - [ ] High - [ ] Medium - [x] Low Have verified the chosen values for the command line using available online documentation. Since we know the current .rpm files are busted, things can only get better :smiley: ## Verification - [x] Manual (required) - [ ] Automated I am locally building this branch and will use `rpmlint` in a `docker` container to verify the goodness of the produced package. ## Packaging changes reviewed? - [ ] Yes - [ ] No - [ ] N/A Not sure how to answer this because the change is to an internal setting of the RPM installer. If others agree it's the right change, it's been reviewed :smiley: ---- ## When servicing release/2.1 - [ ] Make necessary changes in eng/PatchConfig.props --- src/Installers/Rpm/Directory.Build.targets | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Installers/Rpm/Directory.Build.targets b/src/Installers/Rpm/Directory.Build.targets index 4fe38e018bc1..07d01bb46ed6 100644 --- a/src/Installers/Rpm/Directory.Build.targets +++ b/src/Installers/Rpm/Directory.Build.targets @@ -50,6 +50,14 @@ $(ChangeLogProps);PACKAGE_VERSION=$(PackageVersion) $(ChangeLogProps);PACKAGE_REVISION=$(PackageRevision) + + x86_64 + aarch64 + $(IntermediateOutputPath)changelog @@ -64,7 +72,7 @@ - +