use script to execute yum for rdopkg preinstall

Change-Id: Ida90cecf04a8edb8c766436f33b535997413289b