Following https://wiki.radxa.com/Rockpi4/dev/Debian#Build_kernel I successfully customized kernel and the system boots, but the kernel modules and headers are missing.
For example:
root@rockpi4:~# modprobe cifs
modprobe: ERROR: …/libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file ‘/lib/modules/4.4.154-00002-gc26d93d00149/modules.dep.bin’
modprobe: FATAL: Module cifs not found in directory /lib/modules/4.4.154-00002-gc26d93d00149
The directory /lib/modules is missing.
How to copy the kernel modules and headers to rootfs image?