Kernel shall be built _before_ running BR2_ROOTFS_POST_BUILD_SCRIPT, otherwise this script cannot be used e.g. for building custom (non-stock) kernel modules and placing updating target filesystem accordingly before it gets packed.
Fixed in git, thanks