exit 1
fi
+# Enable root access and remount root
+echo "Remounting filesystem for writing..."
+
+"${SDB_CMD[@]}" root on
+sdb_shell mount -o rw,remount /
+
+
# check the device architecture
-echo "Checking architecture..."
+printf "\nChecking architecture...\n"
ARCH=$(get_device_arch)
if [[ -z ${ARCH} || ! -d ${TARGET_DIR}/${ARCH} ]]; then
fi
# check and install, if needed, necessary dependencies
-echo "Checking dependencies..."
+printf "\nChecking dependencies...\n"
check_and_install_deps "${INSTALL_DEPS}" 'base' 'cpio'
# push debug rpms