> I noticed that there is a problem with libstubs in this process from a > "vanilla" riscv64 build box. It will error out. The work around is to > go into /usr/src/distrib/special/libstubs and manually make it there, where > it gets ranlib'ed. Then go back to the former path and continue making the > ramdisk.
That's because you are not following the correct cinematics to build installation media. You need (as a minimum) to build in distrib/, not in distrib/arch/whatever.