For RAMDISK-based rootfs types: See LSDK User Guide Section 4.3.13 for steps to unpack, modify and rebuild rootfs image and the manpage for /etc/network/interfaces for necessary changes.
For SD/eMMC rootfs: none. All necessary changes can be done in runtime.