ops-documentation icon indicating copy to clipboard operation
ops-documentation copied to clipboard

add more package building / debugging documentation

Open eyberg opened this issue 5 years ago • 1 comments

I routinely trip over a few things when building packages:

  1. not having the loader specified - easy to fix by showing
 exec_debug("n is -> %s\n", n);

on L211 in exec_elf

  1. not having libc libs present but necessary for things like clock_monotic (librt) or dns (libnss_*) - debug would be
ops run -d -c config.json /usr/lib/jvm/java-11-openjdk-amd64/bin/java &>/tmp/o

then grepping for any libs probed but not loaded

there's a few other things but these are some common mistakes

eyberg avatar Aug 25 '20 22:08 eyberg

https://github.com/nanovms/ops/issues/1365

eyberg avatar Aug 31 '22 20:08 eyberg