Dracut scripts to regenarate initramfs and vmlinuz taken from https://wiki.archlinux.org/title/Dracut
Go to file
sedlav cf3b7c6089 Update README.md 2024-04-22 14:10:47 +02:00
60-dracut-remove.hook Add 60-dracut-remove.hook 2024-04-22 02:22:40 +02:00
90-dracut-install.hook Add 90-dracut-install.hook 2024-04-22 02:21:31 +02:00
README.md Update README.md 2024-04-22 14:10:47 +02:00
dracut-install.sh Update dracut-install.sh 2024-04-22 02:24:54 +02:00
dracut-remove.sh Update dracut-remove.sh 2024-04-22 02:25:09 +02:00

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"