aboutsummaryrefslogtreecommitdiffstats
path: root/create_arm_image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'create_arm_image.sh')
-rwxr-xr-xcreate_arm_image.sh10
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()
{