From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mx1.pokylinux.org (Postfix) with ESMTP id 2F6374C80FA4 for ; Thu, 9 Dec 2010 14:53:58 -0600 (CST) Received: from ALA-MAIL03.corp.ad.wrs.com (ala-mail03 [147.11.57.144]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id oB9KrvFA011561; Thu, 9 Dec 2010 12:53:57 -0800 (PST) Received: from ala-mail06.corp.ad.wrs.com ([147.11.57.147]) by ALA-MAIL03.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 9 Dec 2010 12:53:56 -0800 Received: from [128.224.146.67] ([128.224.146.67]) by ala-mail06.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 9 Dec 2010 12:53:57 -0800 Message-ID: <4D0141E3.5080003@windriver.com> Date: Thu, 09 Dec 2010 15:53:55 -0500 From: Bruce Ashfield User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9pre) Gecko/20100217 Shredder/3.0.3pre ThunderBrowse/3.2.8.1 MIME-Version: 1.0 To: Darren Hart References: <64f083b7e51bae434b4ae449edc81795e89f9f1c.1291786378.git.bruce.ashfield@windriver.com> <4D0140C4.5030603@linux.intel.com> In-Reply-To: <4D0140C4.5030603@linux.intel.com> X-OriginalArrivalTime: 09 Dec 2010 20:53:57.0179 (UTC) FILETIME=[328EF0B0:01CB97E3] Cc: yocto@yoctoproject.org Subject: Re: [PATCH 1/3] yocto-kernel: factor common routes, update to 2.6.37 and branch renaming X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2010 20:53:58 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 10-12-09 03:49 PM, Darren Hart wrote: > On 12/08/2010 06:35 AM, Bruce Ashfield wrote: >> In order to extend and create more kernel recipes based on the >> supported yocto kernel common routines need to be placed in >> re-usable blocks. >> >> To accomplish this meta/recipes-kernel/linux/linux-yocto_git.bb >> is broken into three parts: >> .../recipes-kernel/linux/linux-yocto-stable_git.bb | 41 ++++ > > Now that the git tree permissions for 2.6.37 are public (not sure how > that impacted this) I am still seeing SRC_REV related parsing errors of > linux-yocto-stable_git.bb. Do you have this working Bruce? Yep. This is what I found and fixed yesterday. I can't say that I completely understand my fix, but it is building all my trees here today, with all the right SRCREVs. I'm digging a bit more before sending updated patches. Bruce > > $ bitbake linux-yocto-stable > NOTE: Out of date cache found, rebuilding... > NOTE: Handling BitBake files: - (0003/0760) [ 0 %]NOTE: 'bb.fetch.InvalidSRCREV'>:Please set SRCREV to a valid value while > evaluating: > ${@bb.fetch.get_srcrev(d)} > NOTE: :Please set SRCREV to a valid > value while evaluating: > ${LINUX_VERSION}+git${SRCPV} > NOTE: :Please set SRCREV to a valid > value while evaluating: > ${PN}-${EXTENDPE}${PV}-${PR} > NOTE: :Please set SRCREV to a valid > value while evaluating: > ${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF} > NOTE: :Please set SRCREV to a valid > value while evaluating: > ${WORKDIR}/linux > NOTE: :Please set SRCREV to a valid > value while evaluating: > cd ${S} > if [ -f ${WORKDIR}/defconfig ]; then > defconfig=${WORKDIR}/defconfig > fi > > if [ -n "${BOOTSTRAP}" ]; then > kbranch="yocto/${LINUX_KERNEL_TYPE}/${KMACHINE}" > else > kbranch=${KBRANCH} > fi > > # simply ensures that a branch of the right name has been created > createme ${ARCH} ${kbranch} ${defconfig} > if [ $? -ne 0 ]; then > echo "ERROR. Could not create ${kbranch}" > exit 1 > fi > > # updates or generates the target description > if [ -n "${KERNEL_FEATURES}" ]; then > addon_features="--features ${KERNEL_FEATURES}" > fi > updateme ${addon_features} ${ARCH} ${WORKDIR} > if [ $? -ne 0 ]; then > echo "ERROR. Could not update ${kbranch}" > exit 1 > fi > > # executes and modifies the source tree as required > patchme ${kbranch} > if [ $? -ne 0 ]; then > echo "ERROR. Could not modify ${kbranch}" > exit 1 > fi > > NOTE: Error expanding variable do_patch > ERROR: Please set SRCREV to a valid value while parsing > /home/dvhart/source/poky.git/meta/recipes-kernel/linux/linux-yocto-stable_git.bb > > NOTE: Handling BitBake files: / (0311/0760) [40 %]NOTE: 'bb.fetch.InvalidSRCREV'>:Please set SRCREV to a valid value while > evaluating: > ${@bb.fetch.get_srcrev(d)} > > Thanks, >