Change SDKPATH for something more stable in time 27/16727/16
authorRonan Le Martret <ronan.lemartret@iot.bzh>
Fri, 21 Sep 2018 13:57:01 +0000 (13:57 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 28 Sep 2018 13:24:27 +0000 (13:24 +0000)
 * The SDKPATH must be fix to be used with YoMo.
   Inside rpm nativesdk file all the path is prefed by
   SDKPATH/sysroots/${HOSTARCH}-${SDK_VENDOR}-${OSHOST}/

 * have a (day) time stamp in ${DISTRO_VERSION} force the rebuild of
   the package every day.
eg:
At runtime /etc becomes:
(old value):
/opt/agl-sdk/6.90.0+snapshot-20180921-aarch64/sysroots/x86_64-aglsdk-linux/etc
(new value):
/opt/agl-sdk/6.90.0+snapshot-aarch64/sysroots/x86_64-aglsdk-linux/etc
in native sdk

Bug-AGL: SPEC-921
Bug-AGL: SPEC-1667

Change-Id: I28d7f8d140ba75d9d8c68c84ba5fc697e6011836
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
meta-agl-distro/conf/distro/poky-agl.conf

index 8ed1069..af3dc00 100644 (file)
@@ -34,7 +34,7 @@ SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
 # SDKPATH is the folder where the SDK is going to be installed
 # Due to an issue with the qt5 environment (see SPEC-1667),
 # we add DEFAULTTUNE to the SDKPATH to mitigate the issue.
-SDKPATH = "/opt/agl-sdk/${DISTRO_VERSION}-${DEFAULTTUNE}"
+SDKPATH = "/opt/agl-sdk/${SDK_VERSION}-${DEFAULTTUNE}"
 
 
 MAINTAINER = "AGL <automotive-discussions@lists.linuxfoundation.org>"