File tree 3 files changed +22
-0
lines changed
3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ all-test:
9
9
install :
10
10
install -D -m 0755 -t $(DESTDIR )$(prefix ) /bin target/release/bootc
11
11
install -d $(DESTDIR )$(prefix ) /lib/bootc/install
12
+ install -D -m 0644 -t $(DESTDIR ) /$(prefix ) /lib/systemd/system systemd/* .service systemd/* .timer
12
13
if test -d man; then install -D -m 0644 -t $( DESTDIR) $( prefix) /share/man/man8 man/* .8; fi
13
14
14
15
bin-archive : all
Original file line number Diff line number Diff line change
1
+ [Unit]
2
+ Description =Apply bootc updates
3
+ Documentation =man:bootc(8)
4
+ ConditionPathExists =/run/ostree-booted
5
+
6
+ [Service]
7
+ Type =oneshot
8
+ ExecStart =bootc update --apply --quiet
9
+
Original file line number Diff line number Diff line change
1
+ [Unit]
2
+ Description=Apply bootc updates
3
+ Documentation=man:bootc(8)
4
+ ConditionPathExists=/run/ostree-booted
5
+
6
+ [Timer]
7
+ OnBootSec=1h
8
+ # This time is relatively arbitrary and obviously expected to be overridden/changed
9
+ OnUnitInactiveSec=8h
10
+
11
+ [Install]
12
+ WantedBy=timers.target
You can’t perform that action at this time.
0 commit comments