Return-Path: Received: from dmzms99802.na.baesystems.com (dmzms99802.na.baesystems.com [149.32.232.66]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 82200E0146C for ; Fri, 19 Apr 2013 16:04:25 -0700 (PDT) X-IronPort-AV: E=Sophos;i="4.87,512,1363132800"; d="scan'208,217";a="6334607" X-IronPort-AV: E=Sophos;i="4.87,512,1363132800"; d="scan'208,217";a="180500468" From: "Saridakis, Dean (US SSA)" To: "yocto@yoctoproject.org" Thread-Topic: Trouble patching a package Thread-Index: Ac49Tzt5WmvYvG9OSxuDNOwojA3kOQ== Date: Fri, 19 Apr 2013 23:04:20 +0000 Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.37.161.240] MIME-Version: 1.0 Subject: Trouble patching a package X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Apr 2013 23:04:25 -0000 Message-ID: Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_B98BBFB67D89184E8E876F332BDBC3E0A23DF1GLDMS85001goldlnk_" --_000_B98BBFB67D89184E8E876F332BDBC3E0A23DF1GLDMS85001goldlnk_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Seems like this ought to be pretty easy based on the docs - Not sure what I= 've got wrong. I've added an append to my layer w/ FILESEXTRAPATHS_prepend :=3D "${THISDIR}/${PN}:" SRC_URI +=3D "0001-yada-yada.patch" # Comment out while debugging #PRINC :=3D "${@int(PRINC) + 1}" The append file is in BBFILES. The patch file is in the same dir as the app= end file (using a files sub-dir didn't help). Been doing "bitbake -c patch = -f pkg" to test/debug. (pkg is canutils, which is autconf based) Ran into a couple thing I didn't understand trying to debug. I tried adding do_patch_append() { bbnote "Got here " } to log my append file was getting picked up, but the parse failed. Didn't get errors if the patch file name was wrong. The log only has a git = ls-remote (which seems a little odd). Any help would be appreciated. Dean --_000_B98BBFB67D89184E8E876F332BDBC3E0A23DF1GLDMS85001goldlnk_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Seems like this ought to be pretty easy based on the= docs - Not sure what I’ve got wrong. I’ve added an append to m= y layer w/

 

FILESEXTRAPATHS_prepend := =3D "${THISDIR}/${PN}:"

 

SRC_URI +=3D "00= 01-yada-yada.patch"

 

# Comment out while debug= ging

#PRINC :=3D "${@int(= PRINC) + 1}"    

 

The append file is in BBFILES. The patch file is in = the same dir as the append file (using a files sub-dir didn’t help). = Been doing “bitbake -c patch -f pkg” to test/debug. (pkg is can= utils, which is autconf based)

 

Ran into a couple thing I didn’t understand tr= ying to debug. I tried adding

 

do_patch_append() {<= /o:p>

    bbnote= "Got here "

}

 

to log my append file was getting picked up, but the= parse failed.

 

Didn’t get errors if the patch file name was w= rong. The log only has a git ls-remote (which seems a little odd).

 

Any help would be appreciated.

 

Dean=

 

--_000_B98BBFB67D89184E8E876F332BDBC3E0A23DF1GLDMS85001goldlnk_--