how to load the submodule .deb

after modify and build a submodule, i get the .deb file, how do i load it to the running vyos? or do i have to rebuild the whole iso?
Should i do the dpkg -i xxxx.deb in the vyos running mode or config mode?

You can do “sudo dpkg -i xxxx.deb” in either running or config mode (same userspace), it will stay on a reboot, you could also choose to build an iso, but that will require some more work.

Thanks alot!