use getEtcDirectory method of Build class