Add patch to modify BASECONFIG_DIR
Update postinst and prerm scripts