How can I add new applications to the embedded firmware?



  • Hi all,
    i am trying to add new apllication to pfsense embedded.
    I'am working in VMWare Developers Edition. Here I added the needed application and everything in working fine.
    Then, within the VMWare environment, I generated the embedded firmware with the command ./build_embedded.sh
    and transfered it to the flash. Everything seemd to be fine, the image was successfully generated, but, after rebooting the Wrap board  I had the surprise to find no new application installed on it.

    How can I add new applications to the embedded firmware (Wrap board) just working in the VMWare environment?
    I'd like to generate a ready to go image for the embedded firmware within VMWare.

    Paolo



  • Look for the text:

    Only include Lighty in packages list

    (cd /var/db/pkg && ls | grep lighttpd) > conf/packages

    …. from build_embedded.sh

    Here is where you can install additional FreeBSD packages.  Simply add the package to the vmware image and modify the above to include the custom package.  For example if you where including mtr (my traceroute) you would do something like:

    Only include Lighty in packages list

    (cd /var/db/pkg && ls | grep lighttpd) > conf/packages
    (cd /var/db/pkg && ls | grep mtr) >> conf/packages

    The package needs to already be installed in the FreeBSD build envonrment via ports or pkg_add.

    Example: pkg_add -r mtr



  • Thanks for the answer.
    But this method does not create also the user of which the application has need.
    How I can make this ?

    Paolo



  • Edit the scripts.  You have ALL the source.


Locked