Skip to content

Commit f1c10b0

Browse files
committed
Add service for mounting /boot using CBM
1 parent 3d18c97 commit f1c10b0

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Unit]
2+
Description=mount /boot using clr-boot-manager
3+
4+
[Service]
5+
Type=oneshot
6+
RemainAfterExit=yes
7+
ExecStart=@BINDIR@/clr-boot-manager mount-boot
8+
ExecStop=@BINDIR@/umount /boot
9+
10+
[Install]
11+
WantedBy=multi-user.target

data/meson.build

+7
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,10 @@ configure_file(
88
configuration: data_conf,
99
install_dir: with_systemd_system_unit_dir,
1010
)
11+
12+
configure_file(
13+
input: 'clr-boot-manager-mount-boot.service.in',
14+
output: 'clr-boot-manager-mount-boot.service',
15+
configuration: data_conf,
16+
install_dir: with_systemd_system_unit_dir,
17+
)

0 commit comments

Comments
 (0)