summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/update-initramfs.sh
blob: 4b1cb2efbbe416fe6af6f7a604302f7500354996 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
# Disable the diversion that prevented update-initramfs from being run
# This way we save time by not calling update-initramfs several times
rm -f /usr/local/sbin/update-initramfs

# Create stubs that will be updated by chroot_hacks afterwards
touch $(ls /boot/vmlinuz-* | sed 's@^.*/vmlinuz-@/var/lib/initramfs-tools/@g')