From 10f3554e3aa7e5d8e74d926f204d4907bacc00c0 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 1 Oct 2017 14:35:18 +0200 Subject: recipes: fix invalid license file location Use '${COMMON_LICENSE_DIR} for license files fix the warning: | WARNING: packagegroup-xfce-base-1.0-r5 do_populate_lic: | ${COREBASE}/LICENSE is not a valid license file, please use |'${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM. |This will become an error in the future Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- recipes-qt/qt-demo/qt-demo-init_0.2.bb | 3 +-- recipes-qt/qt4/qt4-x11-free-systemd.bb | 2 +- recipes-qt/qt5/qt5-x11-free-systemd.bb | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/recipes-qt/qt-demo/qt-demo-init_0.2.bb b/recipes-qt/qt-demo/qt-demo-init_0.2.bb index 7ad4c65..fa2ed23 100644 --- a/recipes-qt/qt-demo/qt-demo-init_0.2.bb +++ b/recipes-qt/qt-demo/qt-demo-init_0.2.bb @@ -2,8 +2,7 @@ SUMMARY = "Systemd start script for Qt Embedded demo" LICENSE = "MIT" PR = "r1" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ - file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" inherit allarch systemd diff --git a/recipes-qt/qt4/qt4-x11-free-systemd.bb b/recipes-qt/qt4/qt4-x11-free-systemd.bb index 568d354..b08f159 100644 --- a/recipes-qt/qt4/qt4-x11-free-systemd.bb +++ b/recipes-qt/qt4/qt4-x11-free-systemd.bb @@ -3,7 +3,7 @@ SUMMARY = "systemd qtdemo autostart" # The license is meant for this recipe and the files it installs. # RNDIS is part of the kernel, udhcpd is part of busybox LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" PR = "r1" diff --git a/recipes-qt/qt5/qt5-x11-free-systemd.bb b/recipes-qt/qt5/qt5-x11-free-systemd.bb index 95483e8..f6ba46d 100644 --- a/recipes-qt/qt5/qt5-x11-free-systemd.bb +++ b/recipes-qt/qt5/qt5-x11-free-systemd.bb @@ -3,7 +3,7 @@ SUMMARY = "systemd qtapplication autostart" # The license is meant for this recipe and the files it installs. # RNDIS is part of the kernel, udhcpd is part of busybox LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" inherit allarch systemd -- cgit v1.2.3