| Index: src/platform/memento_softwareupdate/memento_updater.sh
|
| diff --git a/src/platform/memento_softwareupdate/memento_updater.sh b/src/platform/memento_softwareupdate/memento_updater.sh
|
| index b39a3ce0fb23aa51fa36c8f6514542033e3dbe78..d5ff4478e4dfadc0014534aa4fc58025c6d92a42 100755
|
| --- a/src/platform/memento_softwareupdate/memento_updater.sh
|
| +++ b/src/platform/memento_softwareupdate/memento_updater.sh
|
| @@ -175,7 +175,7 @@ then
|
| log "didnt find good local device. local: $LOCAL_DEV install: $INSTALL_DEV"
|
| exit 1
|
| fi
|
| -if [ ! -b "$INSTALL_DEV" ]
|
| +if [ ! -b "$INSTALL_DEV" -a ! "${FLAGS_force_track}" = "firmware-channel" ]
|
| then
|
| log "didnt find good install device. local: $LOCAL_DEV install: $INSTALL_DEV"
|
| exit 1
|
| @@ -320,6 +320,15 @@ if [ $FLAGS_skip_postinst -eq $FLAGS_FALSE ]; then
|
| # postinstall on new partition succeeded.
|
| fi
|
|
|
| +if [ "${FLAGS_force_track}" = "firmware-channel" ]; then
|
| + log execute firmware-install script
|
| + INSTALL_SCRIPT="${FLAGS_dst_partition}"
|
| + chmod +x "${INSTALL_SCRIPT}"
|
| + pushd "$(dirname "${INSTALL_SCRIPT}")" > /dev/null
|
| + eval "${INSTALL_SCRIPT}" >> "$MEMENTO_AU_LOG"
|
| + popd > /dev/null
|
| +fi
|
| +
|
| if [ -z "${FLAGS_dst_partition}" ]; then
|
| # mark update as complete so we don't try to update again
|
| touch "$UPDATED_COMPLETED_FILE"
|
|
|