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:
Alexander Senier 2017-08-11 23:11:43 +02:00 committed by Christian Helmuth
parent 6f8cc92ce0
commit c1a46c29b0
1 changed files with 1 additions and 1 deletions

View File

@ -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