Skip to contentSkip to conversation

classes/recipes: Convert SkipPackage -> SkipRecipe

PATCH New Maxin B. John 1 participant 1 message Jan 26, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 classes/recipes: Convert SkipPackage -> SkipRecipe

Update following the SkipPackage -> SkipRecipe change in oe-core.

---
 meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb | 2 +-
 meta-networking/recipes-support/nis/nis.inc                          | 2 +-
 meta-oe/classes/gitver.bbclass                                       | 2 +-
 meta-oe/recipes-support/ne10/ne10_1.2.1.bb                           | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb +1 -1
index 6b845bd..3a8d9f7 100644
@@ -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")
 }
meta-networking/recipes-support/nis/nis.inc +1 -1
index e027a1c..200eaf7 100644
@@ -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")
 }
meta-oe/classes/gitver.bbclass +1 -1
index 380374a..07f44c3 100644
@@ -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)
meta-oe/recipes-support/ne10/ne10_1.2.1.bb +1 -1
index e5b50ce..76e0741 100644
@@ -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() {
Signature · 1 line
2.4.0