Skip to contentSkip to conversation

Make INHERIT += "package_tar" work again

PATCH In review Holger Hans Peter Freyther 2 participants 2 messages Aug 17, 2009 – Aug 18, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make INHERIT += "package_tar" work again

From bea58eaa611aec534ab9b53590dec6ef412ce464 Mon Sep 17 00:00:00 2001
From: Holger Hans Peter Freyther <[email protected]>
Date: Mon, 17 Aug 2009 15:41:48 +0200
Subject: [PATCH 4/4] package_tar.bbclass: Do not set IMAGE_PKGTYPE to unbreak parsing

image.bbclass is trying to inherit package_${IMAGE_PKGTYPE} and this will fail because a rootfs_tar.bbclass doesn't exist. When planning to build images one needs to inherit package_ipk, package_rpm or package_deb in addition to INHERIT += "package_tar".

---
 classes/package_tar.bbclass |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
classes/package_tar.bbclass +0 -2
index cb70a5f..a0eacf2 100644
@@ -1,7 +1,5 @@
 inherit package
 
-IMAGE_PKGTYPE ?= "tar"
-
 python package_tar_fn () {
 	import os
 	from bb import data
Signature · 1 line
1.6.3.3
Acked-by on v1 1/1
#1 lore raw
Quoted 27 lines · Holger Hans Peter Freyther
Quoted 1 line

From bea58eaa611aec534ab9b53590dec6ef412ce464 Mon Sep 17 00:00:00 2001

From: Holger Hans Peter Freyther <[email protected]>
Date: Mon, 17 Aug 2009 15:41:48 +0200
Subject: [PATCH 4/4] package_tar.bbclass: Do not set IMAGE_PKGTYPE to unbreak parsing

image.bbclass is trying to inherit package_${IMAGE_PKGTYPE} and this will fail because a rootfs_tar.bbclass doesn't exist. When planning to build images one needs to inherit package_ipk, package_rpm or package_deb in addition to INHERIT += "package_tar".

---
 classes/package_tar.bbclass |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
classes/package_tar.bbclass +0 -2
index cb70a5f..a0eacf2 100644
@@ -1,7 +1,5 @@
 inherit package
 
-IMAGE_PKGTYPE ?= "tar"
-
 python package_tar_fn () {
 	import os
 	from bb import data