]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- run boot.service iff root config exists 635/head
authorArvin Schnell <aschnell@suse.de>
Thu, 8 Apr 2021 14:39:09 +0000 (16:39 +0200)
committerArvin Schnell <aschnell@suse.de>
Thu, 8 Apr 2021 14:39:09 +0000 (16:39 +0200)
data/boot.service
package/snapper.changes

index 5d3ec6a5d7537d95b54b8ef0f0a21b10cc7d4b60..da5966e71edb1a297cd857c2f3cbd92bacc2fef5 100644 (file)
@@ -1,5 +1,6 @@
 [Unit]
 Description=Take snapper snapshot of root on boot
+ConditionPathExists=/etc/snapper/configs/root
 
 [Service]
 Type=oneshot
index 40fbf588ad870f4ed25f180d5ce51e3d6086e49e..f20f4d373e6618004760445dca2d1ca0164f6c23 100644 (file)
@@ -3,6 +3,7 @@ Thu Apr 08 14:05:19 CEST 2021 - aschnell@suse.com
 
 - move org.opensuse.Snapper.conf from /etc to /usr (bsc#1183398 and
   gh#openSUSE/snapper#492)
+- run boot.service iff root config exists (gh#openSUSE/snapper#630)
 
 -------------------------------------------------------------------
 Wed Apr 07 10:24:33 CEST 2021 - aschnell@suse.com