File tree 2 files changed +19
-0
lines changed
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ [Unit]
2
+ Description=mount @BOOTDIR@ 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 @BOOTDIR@
9
+
10
+ [Install]
11
+ WantedBy=multi-user.target
Original file line number Diff line number Diff line change 1
1
# Write systemd unit
2
2
data_conf = configuration_data ()
3
3
data_conf.set(' BINDIR' , path_bindir)
4
+ data_conf.set(' BOOTDIR' , with_boot_dir)
4
5
5
6
configure_file (
6
7
input : ' clr-boot-manager-booted.service.in' ,
7
8
output : ' clr-boot-manager-booted.service' ,
8
9
configuration : data_conf,
9
10
install_dir : with_systemd_system_unit_dir,
10
11
)
12
+
13
+ configure_file (
14
+ input : ' clr-boot-manager-mount-boot.service.in' ,
15
+ output : ' clr-boot-manager-mount-boot.service' ,
16
+ configuration : data_conf,
17
+ install_dir : with_systemd_system_unit_dir,
18
+ )
You can’t perform that action at this time.
0 commit comments