aboutsummaryrefslogtreecommitdiff
path: root/efi-sync/README
blob: e055ad8175393a297f4ddf05f057e16ac5696bde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
efi-sync is a program which will update your efi when your kernel or its
related files are updated.

To have efi-sync to start and stop with your host, add to the beginning of
/etc/rc.d/rc.local:

  if [ -x /etc/rc.d/rc.efi-sync ]; then
    /etc/rc.d/rc.efi-sync start
  fi

and to /etc/rc.d/rc.local_shutdown (creating it if needed):

  if [ -x /etc/rc.d/rc.efi-sync ]; then
    /etc/rc.d/rc.efi-sync stop
  fi

Also ensure your EFI is mounted on boot by having its entry configured in
/etc/fstab. If you use an initial ram disk (initrd), ensure
OUTPUT_IMAGE="/boot/initrd.gz" is configured to your EFI's initrd path.