Skip to content

Commit

Permalink
overlay/systemd: add /boot/efi mount unit
Browse files Browse the repository at this point in the history
Add unit to mount the ESP as well.
  • Loading branch information
Andrew Jeddeloh committed Jun 19, 2019
1 parent 5b39633 commit 096f4c6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions overlay/usr/lib/systemd/system-preset/42-coreos.preset
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ enable afterburn-checkin.service
enable afterburn-firstboot-checkin.service
# Service to write SSH key snippets from cloud providers.
enable [email protected]
# mount /boot/efi
enable boot-efi.mount
11 changes: 11 additions & 0 deletions overlay/usr/lib/systemd/system/boot-efi.mount
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Unit]
Description=EFI System Partition
Documentation=https://github.com/coreos/fedora-coreos-config
ConditionPathExists=/boot/efi

[Mount]
What=/dev/disk/by-label/EFI-SYSTEM
Where=/boot/efi

[Install]
RequiredBy=local-fs.target

0 comments on commit 096f4c6

Please sign in to comment.