add packageroot as the parameter of package config