* Handle the case where /tmp/coverage-data already exists.
svn path=/nixos/trunk/; revision=25486
This commit is contained in:
parent
8f831338df
commit
e09faf4bb3
@ -52,8 +52,8 @@ in
|
|||||||
# it to the host filesystem so that we don't need to copy it
|
# it to the host filesystem so that we don't need to copy it
|
||||||
# on shutdown.
|
# on shutdown.
|
||||||
( eval $(cat /proc/cmdline)
|
( eval $(cat /proc/cmdline)
|
||||||
mkdir /hostfs/$hostTmpDir/coverage-data
|
mkdir -p /hostfs/$hostTmpDir/coverage-data
|
||||||
ln -s /hostfs/$hostTmpDir/coverage-data /tmp/coverage-data
|
ln -sfn /hostfs/$hostTmpDir/coverage-data /tmp/coverage-data
|
||||||
)
|
)
|
||||||
|
|
||||||
# Mount debugfs to gain access to the kernel coverage data (if
|
# Mount debugfs to gain access to the kernel coverage data (if
|
||||||
|
Loading…
x
Reference in New Issue
Block a user