Btrfs-progs: make btrfsck a hardlink at install time
authorEric Sandeen <sandeen@redhat.com>
Thu, 2 May 2013 16:20:22 +0000 (11:20 -0500)
committerDavid Sterba <dsterba@suse.cz>
Fri, 9 Aug 2013 12:32:29 +0000 (14:32 +0200)
commitcc94701a735f186295be2617c573ab8f3dc1817d
tree4e1598d19dce8d2ed6732edbdd39f7e726ac0f00
parentee9f05f43f874238cc38cb357518f25119e77838
Btrfs-progs: make btrfsck a hardlink at install time

btrfsck gets hardlinked to btrfs during the build, but the
install phase simply copies them both to the destination without
preserving the link.

Just force-link btrfsck in the destination again during install
so that the installed btrfsck is a link as well.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Makefile