Received: from mail.yoctoproject.org (mail.yoctoproject.org [198.145.29.25]) by mx.groups.io with SMTP id smtpd.web11.67503.1600105806076707215 for ; Mon, 14 Sep 2020 10:50:06 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: sakuraus.com, ip: 198.145.29.25, mailfrom: gwilson@sakuraus.com) Received: from outbound-ip28a.ess.barracuda.com (outbound-ip28a.ess.barracuda.com [209.222.82.210]) by mail.yoctoproject.org (Postfix) with ESMTPS id 35C2B38C1167 for ; Mon, 14 Sep 2020 10:50:05 -0700 (PDT) Received: from SFAMAIL.SAKURAUS.LOCAL (mail.sakuraus.com [12.26.104.5]) by mx2.us-east-2a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Mon, 14 Sep 2020 17:50:03 +0000 Received: from SFAMAIL.SAKURAUS.LOCAL (10.16.3.8) by SFAMAIL.SAKURAUS.LOCAL (10.16.3.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Mon, 14 Sep 2020 10:49:59 -0700 Received: from SFAMAIL.SAKURAUS.LOCAL ([::1]) by SFAMAIL.SAKURAUS.LOCAL ([::1]) with mapi id 15.01.0669.032; Mon, 14 Sep 2020 10:49:59 -0700 From: "Greg Wilson-Lindberg" To: Yocto list discussion Subject: Patching file contained in downloaded recipe Thread-Topic: Patching file contained in downloaded recipe Thread-Index: AdaKvu9SsfsGiLwuTWqezHSnEiALBA== Date: Mon, 14 Sep 2020 17:49:59 +0000 Message-ID: <8b4672f4a9ae48278785886362fc5bfe@sakuraus.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.16.5.142] MIME-Version: 1.0 X-BESS-ID: 1600105798-893002-12926-2106-2 X-BESS-VER: 2019.1_20200914.1702 X-BESS-Apparent-Source-IP: 12.26.104.5 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.226894 [from cloudscan18-48.us-east-2b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS29408 scores of KILL_LEVEL=7.0 tests=HTML_MESSAGE, BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_8b4672f4a9ae48278785886362fc5bfesakurauscom_" --_000_8b4672f4a9ae48278785886362fc5bfesakurauscom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have a recipe that has a .service file in one of its files directories th= at I need to patch. I haven't been able to figure out how to specify the directory of the file = that needs to be patched. I can't seem to get the patch to apply to the fil= es directory, do I need to specify the /lib/systemd/system directory into t= he PATCHDIR option or is there another way that would work better? Regards Greg --_000_8b4672f4a9ae48278785886362fc5bfesakurauscom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I have a recipe that has a .service file in one of i= ts files directories that I need to patch.

 

I haven’t been able to figure out how to speci= fy the directory of the file that needs to be patched. I can’t seem t= o get the patch to apply to the files directory, do I need to specify the /= lib/systemd/system directory into the PATCHDIR option or is there another way that would work better?

 

Regards

Greg

--_000_8b4672f4a9ae48278785886362fc5bfesakurauscom_--