Rebase on v1.6.2, convert to gitpkg.

Signed-off-by: Oleg Girko <oleg.girko@jolla.com>