diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-11-20 16:53:11 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2006-11-20 16:53:11 +0000 |
commit | 57331d6604ba8cb8f1cea88113667fbd02e84a83 (patch) | |
tree | 8c10b8cae3bcf950335789f4953718e329a3bbcd | |
parent | 3f7f1a4346ab563edace4970859a63b6b9d356db (diff) |
classes/package_*: Add IMAGE_PKGTYPE (from poky)
-rw-r--r-- | classes/package_ipk.bbclass | 1 | ||||
-rw-r--r-- | classes/package_rpm.bbclass | 1 | ||||
-rw-r--r-- | classes/package_tar.bbclass | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/classes/package_ipk.bbclass b/classes/package_ipk.bbclass index d69fa09d1e..4c14409b9d 100644 --- a/classes/package_ipk.bbclass +++ b/classes/package_ipk.bbclass @@ -2,6 +2,7 @@ inherit package DEPENDS_prepend="${@["ipkg-utils-native ", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}" BOOTSTRAP_EXTRA_RDEPENDS += "ipkg-collateral ipkg" PACKAGE_WRITE_FUNCS += "do_package_ipk" +IMAGE_PKGTYPE ?= "ipk" python package_ipk_fn () { from bb import data diff --git a/classes/package_rpm.bbclass b/classes/package_rpm.bbclass index d5a1c8b379..4955792916 100644 --- a/classes/package_rpm.bbclass +++ b/classes/package_rpm.bbclass @@ -3,6 +3,7 @@ inherit rpm_core RPMBUILD="rpmbuild --short-circuit ${RPMOPTS}" PACKAGE_WRITE_FUNCS += "do_package_rpm" +IMAGE_PKGTYPE ?= "rpm" python write_specfile() { from bb import data, build diff --git a/classes/package_tar.bbclass b/classes/package_tar.bbclass index 9217811e38..b048b08ebe 100644 --- a/classes/package_tar.bbclass +++ b/classes/package_tar.bbclass @@ -1,6 +1,7 @@ inherit package PACKAGE_WRITE_FUNCS += "do_package_tar" +IMAGE_PKGTYPE ?= "tar" python package_tar_fn () { import os |