summaryrefslogtreecommitdiffstats
path: root/testModule/hooks/pre-pivot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testModule/hooks/pre-pivot.sh')
-rwxr-xr-xtestModule/hooks/pre-pivot.sh12
1 files changed, 8 insertions, 4 deletions
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