Dracut scripts to regenarate initramfs and vmlinuz taken from https://wiki.archlinux.org/title/Dracut
60-dracut-remove.hook | ||
90-dracut-install.hook | ||
dracut-install.sh | ||
dracut-remove.sh | ||
README.md |
Copy vmlinuz and regenarate initramfs automatically
Copy dracut-install.sh and dracut-remove.sh to /usr/local/bin
# curl -# https://git.disroot.org/sedlav/arch/raw/branch/main/dracut-{install,remove}.sh -o "/usr/local/bin/dracut-#1,#2.sh"
Copy .hook files to /etc/pacman.d/hooks
# curl -# https://git.disroot.org/sedlav/arch/raw/branch/main/{90,60}-dracut-{install,remove}.hook -o "/etc/pacman.d/hooks/#1,#2"