Gracefully handle filesystems without hardlinks
Some filesystems, such as FAT32, do not support hardlinks. On
embedded systems /boot
is often formatted as FAT32. Before this patch
packages updating files on /boot had to resort to ugly hacks such as
dpkg-divert-ing
files in preinst
and de-diverting postinst
.