[poky] [OE-core][PATCH 1/1] local.conf.sample: Define variable "ARCHIVE_TYPE"
Xiaofeng Yan
xiaofeng.yan at windriver.com
Sat Jan 7 23:33:47 PST 2012
From: Xiaofeng Yan <xiaofeng.yan at windriver.com>
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]
Signed-off-by: Xiaofeng Yan <xiaofeng.yan at windriver.com>
---
meta-yocto/conf/local.conf.sample | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/meta-yocto/conf/local.conf.sample b/meta-yocto/conf/local.conf.sample
index 38507e3..8745e65 100644
--- a/meta-yocto/conf/local.conf.sample
+++ b/meta-yocto/conf/local.conf.sample
@@ -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
--
1.7.0.4
More information about the poky
mailing list