mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
run: use absolute path for symlinks in linux run dir
The relative path results in dangling symlinks if the run script is located in a subdirectory below run/ Fixes #2478
This commit is contained in:
parent
6f8cc92ce0
commit
c1a46c29b0
@ -11,7 +11,7 @@ proc run_boot_dir {binaries} {
|
||||
if {![file exists [run_dir]/genode/ld.lib.so]} { build { lib/ld/linux } }
|
||||
|
||||
foreach binary $binaries {
|
||||
set src_binary_path "../../../../bin/[kernel_specific_binary $binary]"
|
||||
set src_binary_path "[pwd]/bin/[kernel_specific_binary $binary]"
|
||||
exec ln -sf $src_binary_path [run_dir]/genode/$binary }
|
||||
|
||||
# check syntax of all boot modules named *.config
|
||||
|
Loading…
x
Reference in New Issue
Block a user