[oe-commits] [openembedded-core] branch master-next updated: debugging

git at git.openembedded.org git at git.openembedded.org
Wed Nov 20 16:42:54 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

The following commit(s) were added to refs/heads/master-next by this push:
     new d770615  debugging
d770615 is described below

commit d770615e96d0e6b54cc84eeb379af80c85936fd4
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Nov 20 16:42:11 2019 +0000

    debugging
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/package.bbclass                           | 10 +++++++++-
 meta/recipes-bsp/keymaps/keymaps_1.0.bb                |  2 ++
 meta/recipes-core/systemd/systemd-machine-units_1.0.bb |  2 ++
 meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb |  2 ++
 4 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index d9fc9d5..00f6712 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -647,9 +647,17 @@ python perform_packagecopy () {
 
     dest = d.getVar('D')
     dvar = d.getVar('PKGD')
+    pn = d.getVar("PN")
+    pv = d.getVar("PV")
+    machine = d.getVar("MACHINE")
+ 
+    if pn and pn.startswith("linux-yocto") and pv and pv.startswith("5.2.0") and machine == "qemux86":
+        if not os.path.exists(dest + "/lib/modules/5.2.20-yocto-standard/modules.builtin"):
+            bb.fatal("Recipe %s breaks sstate." % d.getVar("PN"))
 
     if not len(os.listdir(dest) )and not d.getVar("NOPACKAGEDFILES"):
-        bb.fatal("Recipe %s has no installed files, nothing to package? Set NOPACKAGEDFILES if this is correct to avoid this warning." % d.getVar("PN"))
+        if pn != "myapp" and pn != "linux-dummy" and pn != "layerappendtest":
+            bb.warn("Recipe %s has no installed files, nothing to package? Set NOPACKAGEDFILES if this is correct to avoid this warning." % d.getVar("PN"))
 
     # Start by package population by taking a copy of the installed
     # files to operate on
diff --git a/meta/recipes-bsp/keymaps/keymaps_1.0.bb b/meta/recipes-bsp/keymaps/keymaps_1.0.bb
index 24b13f9..03626d2 100644
--- a/meta/recipes-bsp/keymaps/keymaps_1.0.bb
+++ b/meta/recipes-bsp/keymaps/keymaps_1.0.bb
@@ -9,6 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 PR = "r31"
 
+NOPACKAGEDFILES = "1"
+
 INHIBIT_DEFAULT_DEPS = "1"
 
 # As the recipe doesn't inherit systemd.bbclass, we need to set this variable
diff --git a/meta/recipes-core/systemd/systemd-machine-units_1.0.bb b/meta/recipes-core/systemd/systemd-machine-units_1.0.bb
index 02756f4..d072abe 100644
--- a/meta/recipes-core/systemd/systemd-machine-units_1.0.bb
+++ b/meta/recipes-core/systemd/systemd-machine-units_1.0.bb
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
+NOPACKAGEDFILES = "1"
+
 PR = "r19"
 
 inherit systemd
diff --git a/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb b/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb
index 46820ef..15a8fb1 100644
--- a/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb
@@ -7,6 +7,8 @@ DEPENDS = "systemtap virtual/kernel"
 # On systems without CONFIG_UTRACE, this package is empty.
 ALLOW_EMPTY_${PN} = "1"
 
+NOPACKAGEDFILES = "1"
+
 inherit module-base gettext
 
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/systemtap:"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list