changes to image-pkg: cleanup; relocate log/errlog; pkg -> .pkg