From: Marius Gavrilescu Date: Fri, 23 Jan 2015 17:38:45 +0000 (+0200) Subject: Use install instead of cp to ensure 0755 perms in makevm X-Git-Tag: 5999.000_005~87 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=df00c00b3648b78973fd58cd529fe52f75396f67;p=gruntmaster-daemon.git Use install instead of cp to ensure 0755 perms in makevm --- diff --git a/ex/makevm b/ex/makevm index 306b6cb..81fbde8 100755 --- a/ex/makevm +++ b/ex/makevm @@ -16,7 +16,7 @@ squashfs 9pnet 9pnet_virtio EOF -cp gruntmaster-exec gruntmaster-compile vm/usr/bin/ +install gruntmaster-exec gruntmaster-compile vm/usr/bin/ chroot vm update-initramfs -d -k 3.2.0-4-amd64 chroot vm update-initramfs -c -k 3.2.0-4-amd64 mksquashfs vm vm.squashfs -comp lzo