Originally Posted by SirDice
I guess this can be done using a custom install script. This functionality already exists. You can tell the installer which parts of the base OS you need and which additional ports will need to be installed.
Have a look at sysinstall(8)
Except sysinstall is on life support...
After the complete embedded application works on a development system, it needs to be squeezed onto some type of media to go into the target hardware. NanoBSD can do that, or a custom script can do it too. But while final packaging might be nontrivial, it's secondary to developing the actual application.