diff options
Diffstat (limited to 'testModule/hooks/pre-pivot.sh')
| -rwxr-xr-x | testModule/hooks/pre-pivot.sh | 12 |
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 |
