mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
* 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
|
||||
# on shutdown.
|
||||
( eval $(cat /proc/cmdline)
|
||||
mkdir /hostfs/$hostTmpDir/coverage-data
|
||||
ln -s /hostfs/$hostTmpDir/coverage-data /tmp/coverage-data
|
||||
mkdir -p /hostfs/$hostTmpDir/coverage-data
|
||||
ln -sfn /hostfs/$hostTmpDir/coverage-data /tmp/coverage-data
|
||||
)
|
||||
|
||||
# Mount debugfs to gain access to the kernel coverage data (if
|
||||
|
|
Loading…
Reference in a new issue