Currently jeos-firstboot.service runs iff /var/lib/YaST2/reconfig_system exists, which means that the file has to be created first.
For many image builds, systemd's built-in ConditionFirstBoot is sufficient and we can make use of that as well.
To still allow reconfiguration of the system and drop-in compatibility with YaST2-Firstboot.service we can try to use ConditionFirstBoot=|yes alongside ConditionPathExists=|/var/lib/YaST2/reconfig_system.
Currently
jeos-firstboot.service
runs iff/var/lib/YaST2/reconfig_system
exists, which means that the file has to be created first.For many image builds, systemd's built-in
ConditionFirstBoot
is sufficient and we can make use of that as well.To still allow reconfiguration of the system and drop-in compatibility with
YaST2-Firstboot.service
we can try to useConditionFirstBoot=|yes
alongsideConditionPathExists=|/var/lib/YaST2/reconfig_system
.