summaryrefslogtreecommitdiff
path: root/src/vendorcode/google/chromeos/gnvs.c
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2011-10-24 14:06:23 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-04-02 18:39:22 +0200
commitc302d20ed3f67f863e02dce51aeef8aa90ef2742 (patch)
tree638b849c007612b794f25a51068ffde9ebffc30a /src/vendorcode/google/chromeos/gnvs.c
parente1bb49e2ece1eda6a3d566b48b7a8e50a3469f63 (diff)
downloadcoreboot-c302d20ed3f67f863e02dce51aeef8aa90ef2742.tar.xz
Force coreboot mconf to create temp files in the output directory
This change partially addresses the problem with attempting to generate coreboot image out of tree. The configuration step fails when in cheroot, if the destination directory is placed in /tmp. The problem is that the mconf package tries renaming the temporary file created in the local directory into the destination config file. If the destination root and the local directory are located on different file systems, the rename operation fails. The proper fix (still upcoming) would be to identify all places where mconf creates temp files, and make sure that all temp files get created in the destination tree. This change modifies just one location, which prevents building out of tree in the most common case. Test: run the following in the coreboot directory in chroot: (coreboot) cp config.lumpy .config (coreboot) /bin/rm -rf /tmp/cb (coreboot) CROSS_COMPILE=i686-pc-linux-gnu- make obj=/tmp/cb oldconfig (coreboot) CROSS_COMPILE=i686-pc-linux-gnu- make obj=/tmp/cb Observe the build succeed (it was failing during the config phase before this change) Change-Id: If4506e984b8afc192a1689c7b0aa956dd35f66c6 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: http://review.coreboot.org/815 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/vendorcode/google/chromeos/gnvs.c')
0 files changed, 0 insertions, 0 deletions