aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxin John <maxin.john@intel.com>2018-01-26 13:00:18 +0200
committerArmin Kuster <akuster808@gmail.com>2018-02-11 12:01:54 -0800
commit962653b6cd7275222eb7086e21eb1f9c7c05ea2e (patch)
tree3803b1b2cd44e6f3320326ffaefa2db6b46750d6
parentae25284ea4e38eb83434bbde4a67fff960453eb9 (diff)
downloadmeta-openembedded-contrib-962653b6cd7275222eb7086e21eb1f9c7c05ea2e.tar.gz
meta-openembedded-contrib-962653b6cd7275222eb7086e21eb1f9c7c05ea2e.tar.bz2
meta-openembedded-contrib-962653b6cd7275222eb7086e21eb1f9c7c05ea2e.zip
classes/recipes: Convert SkipPackage -> SkipRecipe
Update following the SkipPackage -> SkipRecipe change in oe-core. Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb2
-rw-r--r--meta-networking/recipes-support/nis/nis.inc2
-rw-r--r--meta-oe/classes/gitver.bbclass2
-rw-r--r--meta-oe/recipes-support/ne10/ne10_1.2.1.bb2
4 files changed, 4 insertions, 4 deletions
diff --git a/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb b/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb
index 6b845bd9d3..3a8d9f7438 100644
--- a/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb
+++ b/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb
@@ -8,5 +8,5 @@ IMAGE_INSTALL = "kexecboot-klibc kexec-klibc ubiattach-klibc"
python () {
if d.getVar('TARGET_ARCH') == "nios2":
- raise bb.parse.SkipPackage("'nios2' not supported arch")
+ raise bb.parse.SkipRecipe("'nios2' not supported arch")
}
diff --git a/meta-networking/recipes-support/nis/nis.inc b/meta-networking/recipes-support/nis/nis.inc
index e027a1c6f8..200eaf74d4 100644
--- a/meta-networking/recipes-support/nis/nis.inc
+++ b/meta-networking/recipes-support/nis/nis.inc
@@ -27,5 +27,5 @@ do_install() {
python () {
os = d.getVar("TARGET_OS", True)
if os == "linux-uclibc":
- raise bb.parse.SkipPackage("NIS functionality requires rpcsvc/yp.h, uClibC does not provide this")
+ raise bb.parse.SkipRecipe("NIS functionality requires rpcsvc/yp.h, uClibC does not provide this")
}
diff --git a/meta-oe/classes/gitver.bbclass b/meta-oe/classes/gitver.bbclass
index 380374ab27..07f44c34b4 100644
--- a/meta-oe/classes/gitver.bbclass
+++ b/meta-oe/classes/gitver.bbclass
@@ -36,7 +36,7 @@ def get_git_pv(d, tagadjust=None):
return "0.0"
except Exception as exc:
- raise bb.parse.SkipPackage(str(exc))
+ raise bb.parse.SkipRecipe(str(exc))
if ver and tagadjust:
ver = tagadjust(ver)
diff --git a/meta-oe/recipes-support/ne10/ne10_1.2.1.bb b/meta-oe/recipes-support/ne10/ne10_1.2.1.bb
index e5b50ce755..76e0741b1f 100644
--- a/meta-oe/recipes-support/ne10/ne10_1.2.1.bb
+++ b/meta-oe/recipes-support/ne10/ne10_1.2.1.bb
@@ -29,7 +29,7 @@ python () {
d.setVar('NE10_TARGET_ARCH', 'aarch64')
bb.debug(2, 'Building Ne10 for aarch64')
else:
- raise bb.parse.SkipPackage("Incompatible with archs other than armv7 and aarch64")
+ raise bb.parse.SkipRecipe("Incompatible with archs other than armv7 and aarch64")
}
do_install() {