From 9c62c01bc28ec8211cfa5dae16a1da58f062e805 Mon Sep 17 00:00:00 2001 From: Kurt Kiefer Date: Thu, 2 May 2019 11:39:39 -0700 Subject: qtbase-tools: Fix error during pkg_postinst When staging the sdk, the following error is seen: sed: can't read /sdk/image/usr/local/oecore-x86_64/sysroots/aarch64-oe-linux/usr/bin/qt.conf: No such file or directory because the qt.conf file moved from /usr/bin/qt.conf to /usr/bin/qt5/qt.conf This change locates the qt.conf file during pkg_postinst using the OE_QMAKE_PATH_BINS variable, just as when the file is created. --- recipes-qt/qt5/qtbase_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-qt/qt5/qtbase_git.bb') diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 99adbb6b..8fb8b405 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb @@ -282,7 +282,7 @@ pkg_postinst_${PN}-tools () { sed -i \ -e 's:HostSpec =.*:HostSpec = ${TARGET_MKSPEC}:g' \ -e 's:TargetSpec =.*:TargetSpec = ${TARGET_MKSPEC}:g' \ - $D${bindir}/qt.conf + $D${OE_QMAKE_PATH_BINS}/qt.conf } pkg_postinst_${PN}-mkspecs () { -- cgit v1.2.3