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:
parent
b6771e7360
commit
8a52e569f5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue