diff options
Diffstat (limited to 'create_arm_image.sh')
-rwxr-xr-x | create_arm_image.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/create_arm_image.sh b/create_arm_image.sh index bd0e1ba..5142231 100755 --- a/create_arm_image.sh +++ b/create_arm_image.sh @@ -246,6 +246,16 @@ function addurpmimedia() return 0 } +function updateurpmmirror() +{ + title "updating mirror" + /sbin/urpmi.update -a --urpmi-root "${BUILD_PATH}" + if [ ${?} -ne 0 ]; then + error "line ${LINENO} can't update mirrors : exiting" + exit ${ERR_1} + fi + return 0 +} function installbasesystem() { |