Search code examples
linuxnginxarmlighttpd

how to update/install new package in the filesystem on embedded device?


I am a newbie to embedded world so please excuse me if this is a very beginner level question.

I am involved in a task where I need to update lighttpd on a device to support TLSv1.2. The device already has lighttpd/1.4.31 (ssl) - a light and fast webserver

OR

I am looking to replace lighttpd with NGINX since other system component already has it.

I am getting used to the embedded terms and looking for some kind of a guide to perform above tasks and introduce to more complex tasks.

Appreciate any helpful reference/articles/tutorials,

Thank you,


Solution

  • Was looking for some starting guidance due to my knowledge in this area. We can update the software version via make menuconfig option. Below are some partial steps to perform,

    Hope it will give some direction to newbie like me,

    Look for .config file in your code-base, in my case it was inside factory directory.

    $ svn co http://svn-path-to-factory-dir
    $ cd factory
    $ make menuconfig <--create .config if missing before this
    $ select > Software Packages > Networking > HTTP Servers
    $ deselect lighttpd
    $ select nginx
    $ enter inside nginx sub-fields and fill with appropriate entries, you can refer to other software-package in your build-environment for reference
    $ Exit from all the menuoptions and save your configuration
    $ do make
    $ observe the build-environment is compiling your software package