Hello,
I'm trying to use OSv with non-included C programs, so I naturally tried running OSv with one of the applications that are present in the OSv bundle first (eg groonga, cassandra, the java hello example, etc).
I did follow the instructions on the README.md from the osv and the osv/apps folders, but those proved not to work effectively... especially the part about changing the "modules" section of the "config.json" file.
When I modified it according to the README.md, I kept getting errors a "release.x64/modules/groonga" (for example) folder that was inexistant, so I simply deleted my modifications of the modules section and instead only added "groonga" to the "default" section. Only then did the script build generate an apparently groonga-enabled OSv image... which could be launched but displayed garbage and didn't recognize any usual command (eg ls, cd, etc).
Which brings me to my request : is there a document, aside from the README.md, describing how to create a working OSv image with one or more applications inside ? With precise steps, much like a tutorial...
Cheers,
Nelly DOR
--
You received this message because you are subscribed to the Google Groups "OSv Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/2a54-5d1a0400-db-3a470340%4028977614.
For more options, visit https://groups.google.com/d/optout.
On Mon, Jul 1, 2019 at 4:01 PM DOR Nelly <Nell...@student.isae-supaero.fr> wrote:Hello,
I'm trying to use OSv with non-included C programs, so I naturally tried running OSv with one of the applications that are present in the OSv bundle first (eg groonga, cassandra, the java hello example, etc).To see a really minimal example, take a look at apps/native-example.I did follow the instructions on the README.md from the osv and the osv/apps folders, but those proved not to work effectively... especially the part about changing the "modules" section of the "config.json" file.The information in apps/README.md is completely outdated, and hasn't been touched in 6 years (!). I don't remember where we have newer information, Waldek, do you remember? Maybe in the wiki? We should definitely replace this README.md.
In reality, to build the "apps/native-example", all you need to do is to run "scripts/build image=native-example". Very easy.The existing config.json already has:"repositories": [
"${OSV_BASE}/apps",Which means native-example is search in apps/.
When I modified it according to the README.md, I kept getting errors a "release.x64/modules/groonga" (for example) folder that was inexistant, so I simply deleted my modifications of the modules section and instead only added "groonga" to the "default" section. Only then did the script build generate an apparently groonga-enabled OSv image... which could be launched but displayed garbage and didn't recognize any usual command (eg ls, cd, etc).
Which brings me to my request : is there a document, aside from the README.md, describing how to create a working OSv image with one or more applications inside ? With precise steps, much like a tutorial...
Cheers,
Nelly DOR--
You received this message because you are subscribed to the Google Groups "OSv Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osv...@googlegroups.com.