Files
poky/meta/recipes-devtools
Martin Jansa 0174379afc nativesdk-rpm: export RPM_ETCCONFIGDIR and MAGIC in environment like RPM_CONFIGDIR
* the paths in wrapper don't work for rpmdeps which is installed in
  ${libdir}/rpm unlike other wrapped bins from ${bindir} these relative
  paths don't work there

* replace environment.d-rpm.sh with here-doc so that we can use
  OE variables

* in the end it might be better to just get rid of the wrappers at
  this point and depend on environment.d to always set right values

* the wrappers were added in:
  commit 760103cdaed3e820888d8984ec0b76cfc831d534
  Author: Ovidiu Panait <ovidiu.panait@windriver.com>
  Date:   Fri May 25 10:48:29 2018 +0800

    nativesdk-rpm: Add wrappers for nativesdk support

    When installing the SDK to a non-default path, running "rpm --showrc" from the
    sdk will produce the following error:
    error: Unable to open /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/rpm/rpmrc for reading: No such file or directory.
    Fix this by adding wrappers that dynamically export the RPM_CONFIGDIR,
    RPM_ETCCONFIGDIR and MAGIC environment variables, pointing to the proper
    sdk locations.

* the rpm.sh in environment.d a bit later:
  commit 5f16fd0bf774314c79572daf4ba7e4a8ae209ba1
  Author: hongxu <hongxu.jia@windriver.com>
  Date:   Wed Jul 29 01:22:06 2020 -0700

    nativesdk-rpm: adjust RPM_CONFIGDIR paths dynamically

    While installing/extracting SDK to a non-default dir(not /opt),
    run rpm failed:
    $ python3 -c "import rpm"
    |error: Unable to open /opt/windriver/wrlinux-graphics/20.31/sysroots/
    x86_64-wrlinuxsdk-linux/usr/lib/rpm/rpmrc for reading: No such file or
    directory.

    This patch adds a flexible way to configure RPM_CONFIGDIR in SDK.

(From OE-Core rev: f40a2658f5be6739c5dddab7f9f11e1f85a17102)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
..
2022-12-06 15:23:18 +00:00
2022-12-26 18:49:07 +00:00
2022-11-07 14:32:42 +00:00
2022-07-01 11:31:42 +01:00
2022-09-26 22:04:35 +01:00
2022-12-28 23:59:55 +00:00
2022-11-22 12:26:46 +00:00
2022-09-17 07:47:07 +01:00
2022-11-15 09:38:37 +00:00
2022-12-22 23:05:50 +00:00
2021-11-03 10:12:42 +00:00
2022-12-28 23:59:56 +00:00
2022-08-16 14:57:58 +01:00
2022-09-17 07:47:08 +01:00
2022-09-17 07:47:08 +01:00
2022-03-23 12:13:49 +00:00
2022-12-26 18:49:07 +00:00
2022-07-18 11:47:37 +01:00
2022-11-15 09:38:37 +00:00
2022-11-14 16:19:43 +00:00
2022-11-08 22:47:16 +00:00
2022-11-07 14:32:42 +00:00
2021-08-02 15:44:10 +01:00
2022-09-17 07:47:07 +01:00
2022-12-09 13:18:41 +00:00
2022-11-07 14:32:42 +00:00
2022-08-25 11:08:07 +01:00
2022-12-21 10:16:31 +00:00
2022-12-26 18:49:07 +00:00
2022-11-14 16:19:43 +00:00
2022-12-31 17:08:29 +00:00
2022-04-26 18:25:08 +01:00
2022-12-06 15:23:18 +00:00
2021-12-08 20:22:10 +00:00
2022-12-18 19:48:00 +00:00
2022-09-08 14:59:39 +01:00