Searched hist:"67 a1de0d" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/ |
H A D | .gitignore | e2f310ec384d51c85c1498b49d66893d6dd036b7 Wed Jun 08 15:26:59 CDT 2016 Eric Blake <eblake@redhat.com> maint: Ignore generated version file
Commit 67a1de0d created a generated version file, and, in some circumstances, also a temporary file. Make sure 'git add .' won't check them into the repository.
Signed-off-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
|
H A D | Makefile | d9e73d32a891a4d9d9b14dcdd27490ec2d13026a Tue Feb 14 20:40:30 CST 2017 Lin Ma <lma@suse.com> Makefile: avoid leaving the temporary QEMU_PKGVERSION header file
By commit 67a1de0d, When we perform 'git pull && make && sudo make install', In 'make' stage a qemu-version.h.tmp will be generated. If the content of qemu-version.h.tmp and qemu-version.h aren't consistent, The qemu-version.h.tmp will be renamed to qemu-version.h. Because of the target FORCE, The same action will be do again in 'make install' stage.
In 'make install' stage, If there is no qemu-version.h.tmp exists and we run 'make install' with sudo, The owner and group of new qemu-version.h.tmp will be privileged user/group. When we run 'make' next time, qemu-version.h.tmp can't be overwritten because of permission issue.
This patch removed qemu-version.h.tmp after build to fix this issue.
Signed-off-by: Lin Ma <lma@suse.com> Message-Id: <20170215024030.23895-1-lma@suse.com> Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|