| Index: src/platform/factory_installer/factory_install.sh
|
| diff --git a/src/platform/factory_installer/factory_install.sh b/src/platform/factory_installer/factory_install.sh
|
| index 171c979af432ca4e9e4e2c0379d7eecd372e8cbd..42bfea5f8d57521b4d05fb7e4b34b8766c552628 100644
|
| --- a/src/platform/factory_installer/factory_install.sh
|
| +++ b/src/platform/factory_installer/factory_install.sh
|
| @@ -11,6 +11,8 @@ if [ $(id -u) -ne 0 ]; then
|
| echo "You must run this as root."
|
| exit 1
|
| fi
|
| +log "Pause to ensure ethernet connectivity"
|
| +sleep 10
|
|
|
| # TODO(adlr): pick an install device in a matter that works on x86 and ARM.
|
| # This works on x86 only, afaik.
|
| @@ -18,6 +20,7 @@ DST=/dev/sda
|
| DST_FACTORY_PART=3
|
| DST_RELEASE_PART=5
|
| DST_OEM_PART=8
|
| +DST_EFI_PART=12
|
| DST_STATE_PART=1
|
|
|
| log "Factory Install: Setting partition table"
|
| @@ -33,14 +36,15 @@ echo 3 > /proc/sys/vm/drop_caches
|
| FACTORY_CHANNEL_ARG='--force_track=factory-channel'
|
| RELEASE_CHANNEL_ARG='--force_track=release-channel'
|
| OEM_CHANNEL_ARG='--force_track=oempartitionimg-channel'
|
| +EFI_CHANNEL_ARG='--force_track=efipartitionimg-channel'
|
| STATE_CHANNEL_ARG='--force_track=stateimg-channel'
|
|
|
| # Install the partitions
|
| -for i in OEM STATE RELEASE FACTORY; do
|
| +for i in EFI OEM STATE RELEASE FACTORY; do
|
| PART=$(eval "echo \$DST_${i}_PART")
|
| CHANNEL_ARG=$(eval "echo \$${i}_CHANNEL_ARG")
|
| KPART="none"
|
| -
|
| +
|
| log "Factory Install: Installing $i partition to $PART"
|
|
|
| SKIP_POSTINST_ARG="--skip_postinst"
|
|
|