summaryrefslogtreecommitdiffstats
path: root/builder
diff options
context:
space:
mode:
Diffstat (limited to 'builder')
-rwxr-xr-xbuilder/dnbd3-rootfs/hooks/prepare-root-partition.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh b/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh
index 0ad0af14..7dd9b0a5 100755
--- a/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh
+++ b/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh
@@ -49,7 +49,7 @@ else
#modprobe brd max_part=1 rd_size="$ramdisk_size"
#writable_device='/dev/ram0'
ramdisk_location="$(mktemp)"
- dd of="$ramdisk_location" seek="$ramdisk_size" count=0
+ dd of="$ramdisk_location" seek="$ramdisk_size" count=0 1>/dev/null
writable_device="$(losetup --find)"
losetup "$writable_device" "$ramdisk_location"
#