[yocto] How do I use additional commands in recipe?

tykwon tykwon at m2i.co.kr
Mon Jun 18 00:28:56 PDT 2018


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180618/336bf7ef/attachment.html>


More information about the yocto mailing list