All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Böszörményi Zoltán" <zboszor@gmail.com>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: openembedded-core@lists.openembedded.org,
	Ross Burton <Ross.Burton@arm.com>,
	Alexander Kanavin <alex.kanavin@gmail.com>,
	Richard Purdie <richard.purdie@linuxfoundation.org>
Subject: Re: [OE-core] [PATCH v5] rpm: Allow setting platform macro settings externally
Date: Tue, 1 Aug 2023 07:26:43 +0200	[thread overview]
Message-ID: <2e251892-014d-4b33-e11c-d6c46897b7ef@gmail.com> (raw)
In-Reply-To: <2023073117111183e153dc@mail.local>

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 <zboszor@gmail.com>
>> ---
>>   ...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?=
>> + <zboszor@gmail.com>
>> +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 <zboszor@gmail.com>
>> +
>> +---------
>> +
>> +Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
>> +Co-authored-by: Florian Festi <ffesti@redhat.com>
> This is missing the Upstream-Status tag.

"Upstream-Status: Backport" ?




  reply	other threads:[~2023-08-01  5:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-31  8:21 [PATCH v5] rpm: Allow setting platform macro settings externally Zoltán Böszörményi
2023-07-31 17:11 ` [OE-core] " Alexandre Belloni
2023-08-01  5:26   ` Böszörményi Zoltán [this message]
2023-08-01  9:06     ` Jose Quaresma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2e251892-014d-4b33-e11c-d6c46897b7ef@gmail.com \
    --to=zboszor@gmail.com \
    --cc=Ross.Burton@arm.com \
    --cc=alex.kanavin@gmail.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.