Skip to contentSkip to conversation

Define variable "ARCHIVE_TYPE"

PATCH New Xiaofeng Yan 1 participant 2 messages Jan 8, 2012

lore
Share & tools
lore
#0 lore raw

cover Define variable "ARCHIVE_TYPE"

From: Xiaofeng Yan <[email protected]>

This variable is used for selecting the type of packaging source codes tree (src.rpm or tar.gz). Source codes tree is a directory after unpacking and patching.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/conf
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/conf

Thanks,
Xiaofeng Yan <[email protected]>
---

Xiaofeng Yan (1):
local.conf.sample: Define variable "ARCHIVE_TYPE"

 meta-yocto/conf/local.conf.sample |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
#1 lore raw

PATCH 1/1 local.conf.sample: Define variable "ARCHIVE_TYPE"

From: Xiaofeng Yan <[email protected]>

This variable is used for selecting the type of packaging source codes tree (src.rpm or tar.gz) source codes tree is a directory after unpacking and patching.

[YOCTO #1655]

---
 meta-yocto/conf/local.conf.sample |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
meta-yocto/conf/local.conf.sample +11 -0
index 38507e3..8745e65 100644
@@ -187,6 +187,17 @@ USER_CLASSES ?= "buildstats image-mklibs image-prelink"
 #TEST_SERIALIZE = "1"
 
 #
+# Pacakge source codes tree to source rpm and tar packages
+#
+# ARCHIVE_TYPE ?= "SRPM":  package source codes tree to source rpm package
+# ARCHIVE_TYPE ?= "TARGZ": package source codes tree to tar package
+# Inherit tar_archive.bbclass in package_rpm.bbclass before enabling this variable
+# Run like the following command 
+# $ bitbake core-image-sato -c copysources <get all of packages>
+# $ ls build/tmp/deploy/sources
+#ARCHIVE_TYPE ?= "SRPM"
+
+#
 # Interactive shell configuration
 #
 # Under certain circumstances the system may need input from you and to do this it 
Signature · 1 line
1.7.0.4