Files
poky/meta/recipes-devtools
Chen Qi 76826e21ae 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: 13e17930062cb3f816516ba7dbeb70d6da7174dd)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
..
2020-06-04 13:27:31 +01:00
2020-06-04 13:27:31 +01:00
2020-06-28 23:37:38 +01:00
2019-12-30 08:47:13 +00:00
2020-06-28 08:35:59 +01:00
2020-07-18 11:06:32 +01:00
2020-05-07 12:16:00 +01:00
2020-06-28 08:36:00 +01:00
2020-05-05 13:19:54 +01:00
2020-06-24 18:06:43 +01:00
2020-07-18 11:06:32 +01:00
2020-05-19 22:57:26 +01:00
2020-05-30 12:32:48 +01:00
2020-06-09 13:14:00 +01:00
2020-07-12 12:21:48 +01:00
2019-10-19 23:18:33 +01:00
2018-03-09 09:17:03 -08:00
2020-07-02 16:18:03 +01:00
2020-07-03 11:38:24 +01:00
2020-05-12 15:20:42 +01:00
2020-06-28 08:35:59 +01:00
2020-06-09 13:13:59 +01:00
2020-05-14 14:15:11 +01:00
2019-05-27 17:06:34 +01:00
2020-03-08 08:21:11 +00:00
2020-06-28 08:35:59 +01:00
2019-02-15 16:05:37 +00:00
2019-12-28 23:25:42 +00:00
2020-07-18 11:06:32 +01:00
2020-07-18 11:06:32 +01:00
2020-02-25 10:41:22 +00:00
2020-06-28 23:37:38 +01:00
2020-06-28 23:37:38 +01:00
2019-12-09 12:00:43 +00:00
2020-06-17 16:31:52 +01:00
2020-06-28 08:36:00 +01:00
2020-06-09 13:13:59 +01:00
2018-11-14 11:14:39 +00:00
2020-06-28 08:36:00 +01:00
2020-05-24 23:56:03 +01:00
2020-06-09 13:14:00 +01:00
2020-05-18 06:33:36 +01:00
2020-02-28 23:11:28 +00:00
2020-06-04 13:27:30 +01:00
2020-01-27 16:48:08 +00:00