Files
poky/meta/recipes-devtools
Chen Qi 1a367f80af rpm: fix nativesdk's default var location
For now, the nativesdk-rpm's %_var in /usr/lib/rpm/macros is
'/var'. This is causing error when running `rpm -qplv A.rpm'.

   error: cannot open Packages index using db5 - Permission denied (13)
   error: cannot open Packages database in /var/lib/rpm

The rpm in SDK should be using its own database. So we should remove
this configure option, letting the SDK's native sysroot prefix to be
there in %_var. In fact, '%_usr' in macros has already got the prefix.
After this change, we have in the macros file lines like below.

"""
%_usr                   /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/usr
%_usrsrc                %{_usr}/src
%_var                   /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/var
"""

(From OE-Core rev: 4e0d1bdc6e896c7dedccf615d6d0da9eb91d9b1d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13e17930062cb3f816516ba7dbeb70d6da7174dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-31 22:02:52 +01:00
..
2020-02-03 13:03:31 +00:00
2020-03-21 22:39:00 +00:00
2019-12-30 08:47:13 +00:00
2020-03-12 22:49:28 +00:00
2019-12-09 12:00:43 +00:00
2020-02-15 10:26:42 +00:00
2020-05-28 18:15:29 +01:00
2020-07-22 22:46:37 +01:00
2019-10-19 23:18:33 +01:00
2018-03-09 09:17:03 -08:00
2020-02-22 23:57:27 +00:00
2020-06-23 11:40:46 +01:00
2020-03-11 11:44:29 +00:00
2020-02-14 13:07:23 +00:00
2019-12-30 23:39:09 +00:00
2019-05-27 17:06:34 +01:00
2020-03-08 08:21:11 +00:00
2020-05-22 16:23:23 +01:00
2019-02-15 16:05:37 +00:00
2019-12-28 23:25:42 +00:00
2019-12-15 09:10:46 +00:00
2020-02-25 10:41:22 +00:00
2019-12-09 12:00:43 +00:00
2020-06-26 18:26:48 +01:00
2018-11-14 11:14:39 +00:00
2020-07-07 23:15:10 +01:00
2020-02-04 15:56:29 +00:00
2020-05-05 08:45:30 +01:00
2020-03-12 22:49:28 +00:00
2020-06-23 11:40:46 +01:00
2020-02-28 23:11:28 +00:00
2020-02-21 09:39:00 +00:00
2020-01-27 16:48:08 +00:00