| Index: src/scripts/build_image
 | 
| diff --git a/src/scripts/build_image b/src/scripts/build_image
 | 
| index a7f2366382ca796e7523b1cfd09a187b86f7e500..65a50400b509df8d03d764f5a06950382481c682 100755
 | 
| --- a/src/scripts/build_image
 | 
| +++ b/src/scripts/build_image
 | 
| @@ -43,6 +43,8 @@ DEFINE_boolean withtest $FLAGS_FALSE \
 | 
|    "Include packages required for testing and prepare image for testing"
 | 
|  DEFINE_string factory_server "" \
 | 
|    "Build a factory install image pointing to given server."
 | 
| +DEFINE_string arm_extra_bootargs "" \
 | 
| +  "Additional command line options to pass to the ARM kernel."
 | 
|  
 | 
|  # Parse command line.
 | 
|  FLAGS "$@" || exit 1
 | 
| @@ -422,7 +424,11 @@ cleanup
 | 
|  
 | 
|  # Create the GPT-formatted image
 | 
|  ${SCRIPTS_DIR}/build_gpt.sh \
 | 
| -   --arch=${ARCH} --board=${FLAGS_board} "${OUTPUT_DIR}" "${OUTPUT_IMG}"
 | 
| +  --arch=${ARCH} \
 | 
| +  --board=${FLAGS_board} \
 | 
| +  --arm_extra_bootargs="${FLAGS_arm_extra_bootargs}" \
 | 
| +  "${OUTPUT_DIR}" \
 | 
| +  "${OUTPUT_IMG}"
 | 
|  
 | 
|  # Clean up temporary files.
 | 
|  rm -f "${ROOT_FS_IMG}" "${STATEFUL_IMG}" "${OUTPUT_DIR}/vmlinuz.image" \
 | 
| 
 |