embed photon

Hi, group,

To embed photon image into floppy to boot X86 PC, I put the stuffs

required into bin,lib and font_repository directories on the host.

Unfortunely, dinit failed to write image into the floopy. I get the "No

such process" message at the end. I have no idea the reason. Is the

method correct? And how you embed photon image? Thanks.

My build file --------

[virtual=x86,bios +compress] .bootstrap = {
startup-bios
PATH=/proc/boot:/bin LD_LIBRARY_PATH=/proc/boot:/lib:/dll procnto
}
[+script] .script = {
devc-con -e &
reopen /dev/con1
# Start the main shell
[+session] esh &
esh /ph_start & # a script file from embed photon help, to start # photon, libs, fonts, phcalc, etc.
}

[type=link] /dev/console=/dev/con1
[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so

[perms=+r,+x]
libc.so

[data=copy]
/phembed/font_repository=./font_repository
/phembed/bin=./bin
/phembed/lib=./lib

[perms=+r,+x]
devc-con
esh
/hello=./hello # a simple hello.c, just for test
/ph_start=./ph_start
ls

Peter Z
pzdec26@1010.com