generate pkg lists