Device mapper installation fails on CentOS 7

When installing client (2.5.17) on CentOS 7, I receive “Did not find initramfs-tools. Installation failed.” error massage. Regardless of packages installed on OS. And what is more disappointing, is that to rerun setup, I need to uninstall client and start installation over again. Just reinstalling previously failed client, doesn’t bring snapshot mechanism selection back. I believe this is done intentionally to swiftly update client as we go, but on initial installation and specially when something has failed, this brings client installation to a broken state.

As suggestion: when something has failed during initial installation, like no dattobd or failed dm, maybe prompt on snapshot mechanism should be brought once again?

However, issue is that I cannot have device-mapper configured in anyway. Here is the part of installation script:

                echo "Convert root device into device mapper device on boot (initramfs)? This is required for root device/filesystem backup. [Y/n]"
                read yn
                if [ "x$yn" != xn ]
                        if [ -e /usr/share/initramfs-tools/hooks ]
                                install -c "hooks_urbackup-setup-snapshot" /usr/share/initramfs-tools/hooks/urbackup-setup-snapshot
                                mkdir -p /usr/share/initramfs-tools/scripts/local-top
                                install -c "scripts_local-top_urbackup-setup-snapshot" /usr/share/initramfs-tools/scripts/local-top/urbackup-setup-snapshot
                                update-initramfs -u
                                echo "Info: You need to reboot your system in order to be able to snapshot the root file system/device"
                                echo "Did not find initramfs-tools. Installation failed."

However in CentOS 7 there is no such a package that provides this file:

# yum provides /usr/share/initramfs-tools/hooks
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * epel:
 * extras:
 * updates:
No matches found

This is likely some path on Debian-based repos.

Yeah, it’d need a different mechanism/integration in CentOS. Contributions are welcome.

Could you point me on the script “hooks_urbackup-setup-snapshot” within sources? I was trying to find it, but failed miserably.