Error, TMPDIR has changed location. You need to either move it back to /path/to/tmp or rebuild

問題

コピーした Yocto ディレクトリーで bitbake を実行すると、次のエラーが発生する。

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Error, TMPDIR has changed location. You need to either move it back to /path/to/tmp or rebuild

エラー:  OE-core's コンフィグサニティチェッカーが潜在的ミスコンフィギュレーションを検知した。
    このエラーの発生原因を修正するか、自己責任でチェッカーを無効にするか (sanity.conf 参照)。
    以下は、潜在的な問題 / アドバイスの一覧:

    エラー, TMPDIR の位置が変更された。それを /path/to/tmp に戻すか、リビルドする必要がある。
環境
  • Yocto 2.2.1 (morty)
解決方法

TMPDIR/saved_tmpdir に書かれているパスを書き換える。

参考文献

https://groups.google.com/forum/#!topic/beagleboard/4j6BLhWkats