Use debconf to generate the latch configuration file

Signed-off-by: Fran Dieguez <fran.dieguez@mabishu.com>