From 42f795dfb50b8e78fc8ce05b86e4e0f821f766f0 Mon Sep 17 00:00:00 2001 From: torben Date: Fri, 17 Apr 2015 02:41:03 +0200 Subject: Alles versucht :-(( --- testModule/hooks/pre-pivot.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'testModule/hooks/pre-pivot.sh') diff --git a/testModule/hooks/pre-pivot.sh b/testModule/hooks/pre-pivot.sh index 3326fae7..fcc6a977 100755 --- a/testModule/hooks/pre-pivot.sh +++ b/testModule/hooks/pre-pivot.sh @@ -1,4 +1,8 @@ -# TODO -warn '............PRE-PIVOT.............' -#mount /dev/nbd0 /sysroot/TEST -# strace -ff -o /sysroot/log.txt -p PID +if [ $PRE_PIVOT_READY ]; then + warn '............PRE-PIVOT ALREADY DONE.............' +else + export PRE_PIVOT_READY=true + warn '............PRE-PIVOT.............' + #mount /dev/nbd0 /sysroot/TEST/ + # strace -ff -o /sysroot/log.txt -p PID +fi -- cgit v1.2.3-55-g7522