summaryrefslogtreecommitdiffstats
path: root/testModule/hooks/pre-pivot.sh
diff options
context:
space:
mode:
authortorben2015-04-16 15:40:19 +0200
committertorben2015-04-16 15:40:19 +0200
commit3828cf7cca22287a52c3165e5419b78a8d7bf165 (patch)
treea7f740a26235d0ccd43fc5b3e7f3dc03e4b3c4bb /testModule/hooks/pre-pivot.sh
parentfunny qemu.nbd hacks (diff)
downloadsystemd-init-3828cf7cca22287a52c3165e5419b78a8d7bf165.tar.gz
systemd-init-3828cf7cca22287a52c3165e5419b78a8d7bf165.tar.xz
systemd-init-3828cf7cca22287a52c3165e5419b78a8d7bf165.zip
Fixes blockdevice killing during systemd-switch-root.
Diffstat (limited to 'testModule/hooks/pre-pivot.sh')
-rwxr-xr-x[-rw-r--r--]testModule/hooks/pre-pivot.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/testModule/hooks/pre-pivot.sh b/testModule/hooks/pre-pivot.sh
index 48591219..3326fae7 100644..100755
--- a/testModule/hooks/pre-pivot.sh
+++ b/testModule/hooks/pre-pivot.sh
@@ -1,10 +1,4 @@
# TODO
-warn '............MOUNT.............'
-dnbd3_device_node='/dev/dnbd0'
-qemu-img create -f qcow2 -o backing_file="$dnbd3_device_node",backing_fmt=qcow2 /test.qcow2
-insmod /usr/lib/modules/3.10.0-229.1.2.el7.x86_64/extra/nbd.ko
-# NOTE: "--persistent" doesn't work with wrapper.
-systemd_preserve_process_marker /usr/bin/qemu-nbd --connect /dev/nbd0 /test.qcow2 --socket /qemu-nbd-TEST
-# --verbose &
+warn '............PRE-PIVOT.............'
#mount /dev/nbd0 /sysroot/TEST
# strace -ff -o /sysroot/log.txt -p PID