> On Nov 2, 2016, at 4:02 AM, Andrew Stuart <andrew.stu...@supercoders.com.au> 
> wrote:
> 
> I want to build a minimal Nginx system that does nothing else but serve 
> static files. Preferably with nothing else installed at all apart from 
> network configuration via /etc/network/interfaces. Perhaps also optionally 
> with ssh.
> 
> Ideally I would be able to provide the HTML files that make up the website 
> via an initramfs file.
> 
> I’d like this to run on x86-64 on KVM.
> 
> I’m looking for a guide that shows me the key steps to implement something 
> minimal like this.  Does such a guide exist?
> 
> I’ve watched several hours of Youtube videos on Yocto, I’ve read various 
> getting started guides and spent several hours installing and building.
> 
> Quite how to configure something down to minimal still is not clear.
> 
> Can someone guide me please as to where to find such docs?

You can start by building core-image-minimal which should be a bare bootable 
system. So in your own layer write a recipe for your image
and seed it with

require recipes-core/images/core-image-minimal.bb

and then add IMAGE_INSTALL += “nginx”

then build upwards to whatever you need.

> 
> One additional specific question - I can see that there is a web servers 
> layer, but how to only get the one webserver that I want (nginx) as opposed 
> to getting them all?
> 
> thanks
> 
> Andrew
> 
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to