From 8a52e569f50138eb8fd3526fb62058d54c7c8522 Mon Sep 17 00:00:00 2001 From: Maximilian Mehnert Date: Wed, 15 Jul 2015 16:29:46 +0200 Subject: force link creation when diverting flash-kernel "ln -s /bin/true chroot/usr/sbin/flash-kernel" fails if the target already exists. --- scripts/build/chroot_dpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build') diff --git a/scripts/build/chroot_dpkg b/scripts/build/chroot_dpkg index 7007e0569..b02dc648f 100755 --- a/scripts/build/chroot_dpkg +++ b/scripts/build/chroot_dpkg @@ -64,7 +64,7 @@ EOF # flash-kernel Chroot chroot dpkg-divert --rename --quiet --add /usr/sbin/flash-kernel - ln -s /bin/true chroot/usr/sbin/flash-kernel + ln -fs /bin/true chroot/usr/sbin/flash-kernel # Creating stage file Create_stagefile .build/chroot_dpkg -- cgit v1.2.3