summaryrefslogtreecommitdiff
path: root/hald/run-hald.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hald/run-hald.sh')
-rwxr-xr-xhald/run-hald.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/hald/run-hald.sh b/hald/run-hald.sh
index 69dd17eb..d8e6cb3e 100755
--- a/hald/run-hald.sh
+++ b/hald/run-hald.sh
@@ -2,9 +2,13 @@
export HALD_RUNNER_PATH=`pwd`/linux:`pwd`/linux/probing:`pwd`/linux/addons:`pwd`/.:`pwd`/../tools:`pwd`/../tools/linux
export PATH=`pwd`/../hald-runner:$PATH
-export HAL_FDI_SOURCE_PREPROBE=../fdi/preprobe
-export HAL_FDI_SOURCE_INFORMATION=../fdi/information
-export HAL_FDI_SOURCE_POLICY=../fdi/policy
+
+rm -rf .local-fdi
+make -C ../fdi install DESTDIR=`pwd`/.local-fdi prefix=/
+export HAL_FDI_SOURCE_PREPROBE=.local-fdi/share/hal/fdi/preprobe
+export HAL_FDI_SOURCE_INFORMATION=.local-fdi/share/hal/fdi/information
+export HAL_FDI_SOURCE_POLICY=.local-fdi/share/hal/fdi/policy
+
./hald --daemon=no --verbose=yes
#./hald --daemon=no