@author: ronan@fridu.net
'''
-recipesSourceDir="/home/ronanguirec/Documents/yoctoTest/yoctoTizen/Tizen_TZ_package"
-recipesDirDest="/home/ronanguirec/Documents/yoctoTest/yoctoTizen/meta-tizen"
+recipesSourceDir="$HOME/yoctoTizen/Tizen_TZ_package"
+recipesDirDest="$HOME/yoctoTizen/meta-tizen"
import sys
import os
f.write("require %s\n" % self.__baseDependsFile)
f.write("require %s\n" % self.__extraConfFile)
- def __createGitInitialFile(self):
+ def __createGitNativeFile(self):
with open(os.path.join(self.__packageRecipesDir,self.__gitNativeFile),"w" ) as f:
f.write("require %s\n" % self.__baseFile)
f.write("\n" )
self.__createBaseFile()
- if self.__package_name not in metaSpec.mInitialPackageBlacklist:
- self.__createGitInitialFile()
+ if self.__package_name not in metaSpec.mNativePackageBlacklist:
+ self.__createGitNativeFile()
else:
bbNativePath=os.path.join(self.__packageRecipesDir,self.__gitNativeFile)
if os.path.isfile(bbNativePath):
def __addInitialPackageBlacklist(self,packageYoctoInitialPath):
l=self.__loadListFromFile(packageYoctoInitialPath)
metaSpec.mInitialPackageBlacklist.extend(l)
- print metaSpec.mInitialPackageBlacklist
def __addNativePackageBlacklist(self,packageYoctoNativePath):
l=self.__loadListFromFile(packageYoctoNativePath)
metaSpec.mNativePackageBlacklist.extend(l)
+ print mNativePackageBlacklist
def __addOePackageBlacklist(self,packageYoctoOePath):
l=self.__loadListFromFile(packageYoctoOePath)
+++ /dev/null
-require acl.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/acl.git;protocol=ssh;tag=master"
-require acl-native-extraconf.inc
-
+++ /dev/null
-require attr.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/attr.git;protocol=ssh;tag=master"
-require attr-native-extraconf.inc
-
+++ /dev/null
-require autoconf.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/autoconf.git;protocol=ssh;tag=master"
-require autoconf-native-extraconf.inc
-
+++ /dev/null
-require automake.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/automake.git;protocol=ssh;tag=master"
-require automake-native-extraconf.inc
-
+++ /dev/null
-require binutils.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/binutils.git;protocol=ssh;tag=master"
-require binutils-native-extraconf.inc
-
+++ /dev/null
-require bison.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/bison.git;protocol=ssh;tag=master"
-require bison-native-extraconf.inc
-
+++ /dev/null
-require bzip2.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/bzip2.git;protocol=ssh;tag=master"
-require bzip2-native-extraconf.inc
-
+++ /dev/null
-require elfutils.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/elfutils.git;protocol=ssh;tag=master"
-require elfutils-native-extraconf.inc
-
+++ /dev/null
-require file.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/file.git;protocol=ssh;tag=master"
-require file-native-extraconf.inc
-
+++ /dev/null
-require flex.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/flex.git;protocol=ssh;tag=master"
-require flex-native-extraconf.inc
-
+++ /dev/null
-require gmp.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/gmp.git;protocol=ssh;tag=master"
-require gmp-native-extraconf.inc
-
+++ /dev/null
-require gperf.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/gperf.git;protocol=ssh;tag=master"
-require gperf-native-extraconf.inc
-
+++ /dev/null
-require icu.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/icu.git;protocol=ssh;tag=master"
-require icu-native-extraconf.inc
-
+++ /dev/null
-require libtool.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/libtool.git;protocol=ssh;tag=master"
-require libtool-native-extraconf.inc
-
+++ /dev/null
-require m4.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/m4.git;protocol=ssh;tag=master"
-require m4-native-extraconf.inc
-
+++ /dev/null
-require mpfr.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/mpfr.git;protocol=ssh;tag=master"
-require mpfr-native-extraconf.inc
-
+++ /dev/null
-require ncurses.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/ncurses.git;protocol=ssh;tag=master"
-require ncurses-native-extraconf.inc
-
+++ /dev/null
-require openssl.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/openssl.git;protocol=ssh;tag=master"
-require openssl-native-extraconf.inc
-
+++ /dev/null
-require popt.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/popt.git;protocol=ssh;tag=master"
-require popt-native-extraconf.inc
-
+++ /dev/null
-require prelink.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/prelink.git;protocol=ssh;tag=master"
-require prelink-native-extraconf.inc
-
+++ /dev/null
-require python.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/python.git;protocol=ssh;tag=master"
-require python-native-extraconf.inc
-
+++ /dev/null
-require readline.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/readline.git;protocol=ssh;tag=master"
-require readline-native-extraconf.inc
-
+++ /dev/null
-require rpm.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/rpm.git;protocol=ssh;tag=master"
-require rpm-native-extraconf.inc
-
+++ /dev/null
-require xz.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/xz.git;protocol=ssh;tag=master"
-require xz-native-extraconf.inc
-
+++ /dev/null
-require zlib.inc
-
-BBCLASSEXTEND += "native"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://tz.otcshare.org/profile/base/zlib.git;protocol=ssh;tag=master"
-require zlib-native-extraconf.inc
-