Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Remove workaround for legacy systemd versions #107

Merged
merged 1 commit into from
May 9, 2023

Conversation

jotaen4tinypilot
Copy link
Contributor

@jotaen4tinypilot jotaen4tinypilot commented May 9, 2023

Resolves #99 (which was re-opened). In a previous PR, in which we abandoned Buster-specific compatibility code, we forgot to remove a workaround that was needed for the systemd version that Buster shipped with.

In versions up until v244, systemd didn’t support the on-failure restart method for “oneshot” type units. Therefore, we had to use a “simple” type unit, because Debian 10 (Buster) shipped with systemd v241. However, Debian 11 (Bullseye) ships with systemd v247, so we can abandon this workaround now.
Review on CodeApprove

Copy link
Contributor

@jdeanwallace jdeanwallace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated comment from CodeApprove ➜

Approved on CodeApprove
✔️ Approved

LGTM!


In: templates/load-tc358743-edid.systemd.j2:

> Line 10
   https://github.com/systemd/systemd/pull/13754 #}

Ahh, I was looking for this link all over for a previous PR.


👀 @jotaen4tinypilot it's your turn please take a look

@jotaen4tinypilot
Copy link
Contributor Author

Ahh, I was looking for this link all over for a https://github.com/tiny-pilot/tinypilot-pro/pull/868#issue-1683233818.

Oh cool! I actually didn’t realize this was the same thing over there.

@jotaen4tinypilot jotaen4tinypilot merged commit 3d88801 into master May 9, 2023
@jotaen4tinypilot jotaen4tinypilot deleted the remove-buster-systemd-workaround branch May 9, 2023 19:11
@jotaen4tinypilot
Copy link
Contributor Author

@mtlynch: could we turn on “auto deletion of merged branches” in the repo settings here? I happened to notice that we don’t have it turned on for this repo, in contrast to our other repos (as far as I’m aware).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop support for Debian Buster and uStreamer < 5.0
2 participants