blob: f33a7e7754193cdb6bb8cc34e8cc5f3e202273fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Target = usr/lib/modules/*/vmlinuz
Target = usr/lib/initcpio/*
Target = usr/lib/systemd/boot/efi/linuxx64.efi.stub
[Action]
Description = Generating linux.efi...
When = PostTransaction
Exec = /bin/sh -c '/usr/bin/mkdir -p "/boot/EFI/Linux"; /usr/bin/objcopy --add-section .osrel="/usr/lib/os-release" --change-section-vma .osrel=0x20000 --add-section .cmdline="/boot/kernel-command-line" --change-section-vma .cmdline=0x30000 --add-section .splash="/usr/share/systemd/bootctl/splash-arch.bmp" --change-section-vma .splash=0x40000 --add-section .linux="/boot/vmlinuz-linux" --change-section-vma .linux=0x2000000 --add-section .initrd="/boot/initramfs-linux.img" --change-section-vma .initrd=0x3000000 "/usr/lib/systemd/boot/efi/linuxx64.efi.stub" "/boot/EFI/Linux/linux.efi"'
|