[yocto] Pre-installing node.js packages

Alexander Stein alexander.stein at systec-electronic.com
Tue Jul 16 08:26:05 PDT 2019


If you want to avoid writing those recipes yourself, you can use devtool.
See https://wiki.yoctoproject.org/wiki/TipsAndTricks/NPM

I'm not sure how a proper workflow should be done, to keep the extracted sources out of the meta, but it is a starting point.

Alexander

On Tuesday, July 16, 2019, 5:15:19 PM CEST Burton, Ross wrote:
> The proper way would be to write a recipe for each package you wish to add.
> 
> Ross
> 
> On Tue, 16 Jul 2019 at 16:04, Andy Pont <andy.pont at sdcsystems.com> wrote:
> >
> > Hello,
> >
> > Is there a way to add node.js packages into a build?  I?m trying to
> > avoid having to include npm and compiler into my target image.
> >
> > -Andy.
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> 


-- 
Dipl-Inf. Alexander Stein

SYS TEC electronic AG
Am Windrad 2
08468 Heinsdorfergrund
Germany
Tel: +49-3765-38600-0, Fax: +49-3765-38600-4100
Email   : alexander.stein at systec-electronic.com
Internet: http://www.systec-electronic.com

Board of Directors: Dipl.-Ing. Ronald Sieber, Dipl.-Ing. Dirk Bause
Chairman of the Supervisory Board: Dipl.-Phys. Siegmar Schmidt
Commercial registry: Amtsgericht Chemnitz, HRB 32220; USt.-Id Nr. 
DE150534010

--------------------------------------------------------------------------

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen.

Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
erhalten haben, informieren Sie bitte sofort den Absender und vernichten 
Sie diese Mail.

Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind 
nicht gestattet.

--------------------------------------------------------------------------

This e-mail may contain confidential and/or privileged information.

If you are not the intended recipient (or have received this e-mail in 
error) please notify the sender immediately and destroy this e-mail.

Any unauthorized copying, disclosure or distribution of the material in 
this e-mail is strictly forbidden.

--------------------------------------------------------------------------




More information about the yocto mailing list