boot/grub: use install instead of cp
authorGuido Martínez <guido@vanguardiasur.com.ar>
Fri, 21 Nov 2014 16:19:07 +0000 (13:19 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Nov 2014 18:01:12 +0000 (19:01 +0100)
commit5dac9fddbf46223d0a5967aa0560a89ee7fbac3b
tree21f22bf34c0ab7eda2fa1ead11ceb6fdc98d0dbe
parent04576d9e55341bb7701d70f25d8cf2c276360acd
boot/grub: use install instead of cp

This way we don't depend on the permissions of files under boot/grub/,
which aren't tracked.

While we're at it, change all 'cp' usages into 'install' with the
correct mode for each file.

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/grub/grub.mk