mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue