summaryrefslogtreecommitdiff
path: root/helpers/binary_virtual-hdd
diff options
context:
space:
mode:
authorAlexander Sack <asac@linaro.org>2010-07-02 14:26:45 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:13 +0100
commitb984ebe40d1df8d3836f7d09e1f07dce88fd716f (patch)
treea15427c613ee6bd4df55c4e330b0aecd4d85a086 /helpers/binary_virtual-hdd
parenta0239ef94b2f75c46558feb1399975f21e370111 (diff)
downloadlive-build-b984ebe40d1df8d3836f7d09e1f07dce88fd716f.zip
live-build-b984ebe40d1df8d3836f7d09e1f07dce88fd716f.tar.gz
Fix virtual-hdd packing only the stuff inside the binary/ tree in the image in binary_virtual-hdd.
Diffstat (limited to 'helpers/binary_virtual-hdd')
-rwxr-xr-xhelpers/binary_virtual-hdd3
1 files changed, 2 insertions, 1 deletions
diff --git a/helpers/binary_virtual-hdd b/helpers/binary_virtual-hdd
index aeb701a..1cb9755 100755
--- a/helpers/binary_virtual-hdd
+++ b/helpers/binary_virtual-hdd
@@ -102,7 +102,8 @@ fi
mkdir -p binary.tmp
${LH_ROOT_COMMAND} mount -o loop binary-virtual.img binary.tmp
-cp -a binary/ binary.tmp
+cp -a binary/* binary.tmp
+cp -af binary/.disk* binary.tmp
${LH_ROOT_COMMAND} umount binary.tmp
rmdir binary.tmp