File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 29
29
#
30
30
# It shows the following binaries from /usr/local are called:
31
31
32
+ my %deps ;
32
33
my $install_dir = " /usr/local" ;
33
34
record(" $install_dir /bin/limactl" );
34
35
record(" $install_dir /bin/qemu-img" );
35
36
record(" $install_dir /bin/qemu-system-x86_64" );
36
37
38
+ # qemu 6.1.0 doesn't use the symlink to access data files anymore
39
+ # but we need to include it because we replace the symlinks in
40
+ # /usr/local/bin with the actual files, so data file references need
41
+ # to resolve relative to that location too.
42
+ my $name = " $install_dir /share/qemu" ;
43
+ # Don't call record($name) because we only want the link, not the whole target directory
44
+ $deps {$name } = " → " . readlink ($name );
45
+
37
46
# Capture any library and datafiles access with opensnoop
38
47
my $opensnoop = " /tmp/opensnoop.log" ;
39
48
END { system (" sudo pkill dtrace" ) }
64
73
record($_ );
65
74
}
66
75
67
- my %deps ;
68
76
print " $_ $deps {$_ }\n " for sort keys %deps ;
69
77
print " \n " ;
70
78
You can’t perform that action at this time.
0 commit comments