diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /sysutils/fwupd/files/patch-libfwupdplugin_fu-kernel.c | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'sysutils/fwupd/files/patch-libfwupdplugin_fu-kernel.c')
| -rw-r--r-- | sysutils/fwupd/files/patch-libfwupdplugin_fu-kernel.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/fwupd/files/patch-libfwupdplugin_fu-kernel.c b/sysutils/fwupd/files/patch-libfwupdplugin_fu-kernel.c new file mode 100644 index 000000000000..47d1e1e0594e --- /dev/null +++ b/sysutils/fwupd/files/patch-libfwupdplugin_fu-kernel.c @@ -0,0 +1,12 @@ +--- libfwupdplugin/fu-kernel.c.orig 2025-09-12 09:55:19 UTC ++++ libfwupdplugin/fu-kernel.c +@@ -329,6 +329,9 @@ fu_kernel_get_cmdline(GError **error) + if (!g_file_get_contents("/proc/cmdline", &buf, &bufsz, error)) + return NULL; + return fu_kernel_parse_cmdline(buf, bufsz); ++#elif defined(__FreeBSD__) ++ // XXX: there is no /proc/cmdline equivalent ++ return fu_kernel_parse_cmdline("", 0); + #else + g_set_error_literal(error, + FWUPD_ERROR, |
