Perturbation of a boundary-value problem for a lyapunov equation in a hilbert space