force link creation when diverting flash-kernel

"ln -s /bin/true chroot/usr/sbin/flash-kernel" fails if the target
already exists.
This commit is contained in:
Maximilian Mehnert 2015-07-15 16:29:46 +02:00
parent b6771e7360
commit 8a52e569f5
1 changed files with 1 additions and 1 deletions

View File

@ -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