summaryrefslogtreecommitdiff
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
parenta0239ef94b2f75c46558feb1399975f21e370111 (diff)
downloadvyos-live-build-b984ebe40d1df8d3836f7d09e1f07dce88fd716f.tar.gz
vyos-live-build-b984ebe40d1df8d3836f7d09e1f07dce88fd716f.zip
Fix virtual-hdd packing only the stuff inside the binary/ tree in the image in 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 aeb701ad4..1cb97553c 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