diff --git a/create_arm_img_urpmi.sh b/create_arm_img_urpmi.sh index 330c533..6c2d40c 100644 --- a/create_arm_img_urpmi.sh +++ b/create_arm_img_urpmi.sh @@ -110,6 +110,10 @@ function addmedia() { title "Creating media ${MIRROR}" + info "Removing old media" + /sbin/urpmi.removemedia --urpmi-root "${BUILD_PATH}" -a + + info "Adding media" if [ ! -z "${MIRROR}" ] ; then /sbin/urpmi.addmedia --urpmi-root "${BUILD_PATH}" --distrib "${MIRROR}" else