]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootctl,sbsign: fix $SOURCE_DATE_EPOCH parsing 40404/head
authorMike Yuan <me@yhndnzj.com>
Tue, 20 Jan 2026 14:28:59 +0000 (15:28 +0100)
committerMike Yuan <me@yhndnzj.com>
Tue, 20 Jan 2026 14:54:55 +0000 (15:54 +0100)
commitf6edc812305f2cac26534c0aa29d1d1329fd0029
treea7fade3f13e4ddd924865aa3a72e4135f79a4572
parent2f7fdef55e89ffff83a418ae674e893dd6e0a044
bootctl,sbsign: fix $SOURCE_DATE_EPOCH parsing

This fixes two things:

* $SOURCE_DATE_EPOCH is previously treated as usec, while it's in seconds
* >= 0 is passed to log_debug_errno(), triggering assertion

Replaces #40403
src/bootctl/bootctl-install.c
src/sbsign/sbsign.c