diff options
author | Alexander Sack <asac@linaro.org> | 2010-07-02 14:26:45 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:13 +0100 |
commit | b984ebe40d1df8d3836f7d09e1f07dce88fd716f (patch) | |
tree | a15427c613ee6bd4df55c4e330b0aecd4d85a086 | |
parent | a0239ef94b2f75c46558feb1399975f21e370111 (diff) | |
download | vyos-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-x | helpers/binary_virtual-hdd | 3 |
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 |