holoiso/airootfs/etc/pacman.d/hooks/50-linux-neptune-boot.hook

13 lines
357 B
Plaintext
Raw Normal View History

2022-05-02 12:17:21 +02:00
# remove from airootfs!
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = linux-neptune
[Action]
Description = Renaming linux-neptune to linux...
When = PostTransaction
Depends = linux-neptune
Exec = /usr/bin/sh -c 'cp /boot/vmlinuz-linux-neptune /boot/vmlinuz-linux; cp /boot/initramfs-linux-neptune.img /boot/initramfs-linux.img'