summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Sack <asac@linaro.org>2010-07-02 14:26:45 +0200
committerDaniel Baumann <daniel@debian.org>2010-07-02 18:13:31 +0200
commit271447ed5703457ff3ee51d70da22e928a5f1119 (patch)
treea15427c613ee6bd4df55c4e330b0aecd4d85a086
parent358baae4a442acc4124012bf6dd0431e7bc5e0f7 (diff)
downloadvyos-live-build-271447ed5703457ff3ee51d70da22e928a5f1119.tar.gz
vyos-live-build-271447ed5703457ff3ee51d70da22e928a5f1119.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