Zoltan Boszormenyi <[email protected]> escreveu no dia terça, 1/08/2023 à(s) 06:26:
> 2023. 07. 31. 19:11 keltezéssel, Alexandre Belloni írta: > > Hello, > > > > On 31/07/2023 10:21:38+0200, Zoltan Boszormenyi wrote: > >> Feed platform settings to installplatform externally. Based on the patch > >> submitted under > https://github.com/rpm-software-management/rpm/pull/2585 > >> > >> Patch against INSTALL was backported for rpm 4.18.1 > >> > >> Signed-off-by: Zoltán Böszörményi <[email protected]> > >> --- > >> ...atform-macro-settings-externally-258.patch | 118 ++++++++++++++++++ > >> meta/recipes-devtools/rpm/rpm_4.18.1.bb | 20 +++ > >> 2 files changed, 138 insertions(+) > >> create mode 100644 > meta/recipes-devtools/rpm/files/0001-Allow-setting-platform-macro-settings-externally-258.patch > >> > >> diff --git > a/meta/recipes-devtools/rpm/files/0001-Allow-setting-platform-macro-settings-externally-258.patch > b/meta/recipes-devtools/rpm/files/0001-Allow-setting-platform-macro-settings-externally-258.patch > >> new file mode 100644 > >> index 0000000000..f4c3630b8c > >> --- /dev/null > >> +++ > b/meta/recipes-devtools/rpm/files/0001-Allow-setting-platform-macro-settings-externally-258.patch > >> @@ -0,0 +1,118 @@ > >> +From e58c607dcdb303ff3ba1b22fd23eb20e374b6ed3 Mon Sep 17 00:00:00 2001 > >> +From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?= > >> + <[email protected]> > >> +Date: Fri, 28 Jul 2023 12:16:56 +0200 > >> +Subject: [PATCH] Allow setting platform macro settings externally > (#2585) > >> +MIME-Version: 1.0 > >> +Content-Type: text/plain; charset=UTF-8 > >> +Content-Transfer-Encoding: 8bit > >> + > >> +* Allow setting platform macro settings externally > >> + > >> +By default, rpm installs a series of default platforms based on > >> +the CPU architecture names in subdirectories called > >> + > >> + /usr/lib/platform/<arch>-<os> > >> + > >> +This is enough for regular Linux distributions. However, some > >> +distributions may use more specific platform names that refer to > >> +particular computer systems, like SBCs or specific CPU tuning when > >> +compiling. > >> + > >> +If the platform subdirectory does not exist in /usr/lib/platform > >> +then rpmbuild does not work. > >> + > >> +Allow creating such custom platform subdirectory with feeding > >> +the necessary data using external variables: RPM_CUSTOM_ARCH, > >> +RPM_CUSTOM_ISANAME, RPM_CUSTOM_ISABITS, RPM_CUSTOM_CANONARCH > >> +and RPM_CUSTOM_CANONCOLOR > >> + > >> +Signed-off-by: Zoltán Böszörményi <[email protected]> > >> + > >> +--------- > >> + > >> +Signed-off-by: Zoltán Böszörményi <[email protected]> > >> +Co-authored-by: Florian Festi <[email protected]> > > This is missing the Upstream-Status tag. > > "Upstream-Status: Backport" ? > Yes as it is already merged on master. Upstream-Status: Backport [ https://github.com/rpm-software-management/rpm/commit/fde03ae33d55b160a31a6c54946880dcdf8fd0d6 ] Jose > > > > > -- Best regards, José Quaresma
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#185218): https://lists.openembedded.org/g/openembedded-core/message/185218 Mute This Topic: https://lists.openembedded.org/mt/100457649/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
