Skip to content

Commit

Permalink
Add service for mounting /boot using CBM
Browse files Browse the repository at this point in the history
  • Loading branch information
silkeh committed Aug 21, 2022
1 parent 3d18c97 commit f1c10b0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
11 changes: 11 additions & 0 deletions data/clr-boot-manager-mount-boot.service.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Unit]
Description=mount /boot using clr-boot-manager

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=@BINDIR@/clr-boot-manager mount-boot
ExecStop=@BINDIR@/umount /boot

[Install]
WantedBy=multi-user.target
7 changes: 7 additions & 0 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ configure_file(
configuration: data_conf,
install_dir: with_systemd_system_unit_dir,
)

configure_file(
input: 'clr-boot-manager-mount-boot.service.in',
output: 'clr-boot-manager-mount-boot.service',
configuration: data_conf,
install_dir: with_systemd_system_unit_dir,
)

0 comments on commit f1c10b0

Please sign in to comment.