I moved the logic from ucore-autorebase.sh into the service itself, to minimize leftover files.
I also added another service to rebase to the signed image, after the initial rebase-and-reboot, just like blue-build/template recommends in the README.
I ripped out RemainAfterExit=yes since i couldn't figure out why it was needed.
I added --bypass-driver to the rebase commands to bypass this error: (building on ucore-minimal)
Apr 25 19:50:33 localhost.localdomain rpm-ostree[1846]: error: Updates and deployments are driven by Zincati (zincati.service)
Apr 25 19:50:33 localhost.localdomain rpm-ostree[1846]: See Zincati's documentation at https://github.com/coreos/zincati
Apr 25 19:50:33 localhost.localdomain rpm-ostree[1846]: Use --bypass-driver to bypass Zincati and perform the operation anyways
I'm not sure if that is the best way to handle it?
I'm guessing Zincati should be completely disabled since it isn't compatible with OCI images, but haven't gotten that far into the weeds yet.
PS.: I redid my contribution to pass the automated test. I'm sorry if i spammed someones indbox.
ucore-autorebase.sh
into the service itself, to minimize leftover files.RemainAfterExit=yes
since i couldn't figure out why it was needed.--bypass-driver
to the rebase commands to bypass this error: (building on ucore-minimal)I'm not sure if that is the best way to handle it? I'm guessing Zincati should be completely disabled since it isn't compatible with OCI images, but haven't gotten that far into the weeds yet.
PS.: I redid my contribution to pass the automated test. I'm sorry if i spammed someones indbox.