dotfiles/systemd/efistub-update.service

15 lines
711 B
Desktop File

[Unit]
Description=Copy EFISTUB Kernel to UEFISYS Partition
[Service]
Type=oneshot
ExecStart=/usr/bin/cp -f /boot/vmlinuz-linux /boot/EFI/arch/vmlinuz-linux
ExecStart=/usr/bin/cp -f /boot/initramfs-linux.img /boot/EFI/arch/initramfs-linux.img
ExecStart=/usr/bin/cp -f /boot/initramfs-linux-fallback.img /boot/EFI/arch/initramfs-linux-fallback.img
ExecStart=/usr/bin/mount -U DAB8-549A /boot/WIN/
ExecStart=/usr/bin/cp -f /boot/vmlinuz-linux /boot/WIN/EFI/arch/vmlinuz-linux
ExecStart=/usr/bin/cp -f /boot/initramfs-linux.img /boot/WIN/EFI/arch/initramfs-linux.img
ExecStart=/usr/bin/cp -f /boot/initramfs-linux-fallback.img /boot/WIN/EFI/arch/initramfs-linux-fallback.img
ExecStart=/usr/bin/umount /boot/WIN/