Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B0D16E0084F; Mon, 18 Jun 2018 00:35:36 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [121.254.168.204 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 398 seconds by postgrey-1.32 at yocto-www; Mon, 18 Jun 2018 00:35:35 PDT Received: from smtp1.hiworks.co.kr (smtp1.hiworks.co.kr [121.254.168.204]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5C9F8E007AD for ; Mon, 18 Jun 2018 00:35:35 -0700 (PDT) Received: (qmail 166599 invoked from network); 18 Jun 2018 16:28:54 +0900 Received: from unknown (HELO hiworks.co.kr) (192.168.10.219) by 0 (qmail 1.03 + ejcp v14) with SMTP; 18 Jun 2018 16:28:54 +0900 Received: (qmail 125887 invoked from network); 18 Jun 2018 16:28:54 +0900 Received: from unknown (HELO DESKTOP3HTLQGF) (tykwon@m2i.co.kr@112.216.145.10) by 0 (qmail 1.03 + ejcp v14) with SMTP; 18 Jun 2018 16:28:54 +0900 X-Authinfo: HIWORKS SMTP authenticated From: "tykwon" To: Date: Mon, 18 Jun 2018 16:28:56 +0900 Message-ID: <065e01d406d6$04874950$0d95dbf0$@co.kr> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdQG1gRnUhy0DW9nRzij0HaVG0yDUw== Subject: How do I use additional commands in recipe? 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: Mon, 18 Jun 2018 07:35:36 -0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_065F_01D40721.746EF150" Content-Language: ko ------=_NextPart_000_065F_01D40721.746EF150 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello. I want to use pyppd while using the hplip package. pyppd is a command to process the ppd data of hplip.(https://pypi.org/project/pyppd/) I tried to use pyppd in recipe of hplip. do_install_append () { apt-get install python-pip pip install pyppd pyppd ${WORKDIR}/image/usr/share/ppd/HP } However, in the do_install step, the following error occurs. apt-get: not found pip: not found pyppd: not found The pyppd I want to use is only needed in the do_install step. How do I use pyppd in recipe? I'm sorry I do not have enough English. Regards Kwon ------=_NextPart_000_065F_01D40721.746EF150 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello.

 

I want to use pyppd while using = the hplip package.

pyppd is a command to process = the ppd data of hplip.(https://pypi.org/project/pyppd/)

 

I tried to use pyppd in recipe = of hplip.

 

do_install_append () = {

        apt-get install python-pip

        pip install pyppd

        pyppd ${WORKDIR}/image/usr/share/ppd/HP

}

 

However, in the do_install step, = the following error occurs.

apt-get: not = found

pip: not = found

pyppd: not = found

 

The pyppd I want to use is only = needed in the do_install step.

How do I use pyppd in = recipe?

 

I'm sorry I do not have enough = English.

 

Regards=

Kwon

------=_NextPart_000_065F_01D40721.746EF150--