I was trying to install new linux kernel (4.4-rc5) in my CentOS 7 server. But when I run “sudo make install” it report

$sudo make install
sh ./arch/x86/boot/install.sh 4.4.0-rc5 arch/x86/boot/bzImage \
        System.map "/boot"
gzip: stdout: No space left on device
dracut: creation of /boot/initramfs-0-rescue-a5ad1e5b00de400bbc8e83ec69fbe9ee.img failed
cp: error writing '/boot/vmlinuz-0-rescue-a5ad1e5b00de400bbc8e83ec69fbe9ee': No space left on device
cp: failed to extend '/boot/vmlinuz-0-rescue-a5ad1e5b00de400bbc8e83ec69fbe9ee': No space left on device
grubby: error writing /boot/grub2/grub.cfg-: No space left on device
grubby: error writing /boot/grub2/grub.cfg-: No space left on device

The initramfs-0-rescue-XXX file occupied too much space in boot device. Then I found this article. But after adding dracut_rescue_image=”no” into /etc/dracut.conf, the problem was still exist.
Finally, I use

$grep dracut_rescue /usr/lib/dracut/* -rn
/usr/lib/dracut/dracut.conf.d/02-rescue.conf:1:dracut_rescue_image="yes"<

Therefore, the worked configuration item for dracut is in /usr/lib/dracut/dracut.conf.d/02-rescue.conf instead of /etc/dracut.conf on centos 7. The final solution is

$vim /usr/lib/dracut/dracut.conf.d/02-rescue.conf
#change "yes" to "no"
dracut_rescue_image="no"