New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fwupd without consolekit/systemd ? #1408
Comments
I think in theory you can compile without systemd and consolekit, although I don't think anyone has tested it and it's not being run as a CI target. Could you give it a go? |
Which plugin will you be updating the BIOS with? Keep in mind the way the UEFI plugin works it will need to have a stateful location like an EFI system partition to the store the payload for access from a different EFI bootloader (fwupdx64.efi). You will also need to then PXE boot fwupdx64.efi after you have staged the files. |
Did a quick try and got suck on vala, libgudev, dev-libs/libgusb etc. |
I have PXE boot with both BIOS and UEFI. Any user needing new FW will have to run |
If you can put the file somewhere on the network that is stateful, I do think it's possible to add something into the fwupd bootloader (and infrastructure) to push/pull a file from the network. For your purpose you should not use fwupd daemon, fwupdtool is plenty for you. It doesn't need polkit. You can also turn off introspection so you won't need vala. |
Specifically |
I've got another idea for you that might help with the stateful partition problem. This is an installer you say right? So it will be making an ESP for you? You can just mount it in the right place after install is "done" and use fwupdtool at that point. The first boot after you're all done will be a firmware update then before you boot into the actual OS you installed. |
These are good ideas, need to spend some time to figure out what to do. |
Cool. If you come up with something workable, feel free to post something to the wiki about it for others. |
Success! No
Instructions: https://github.com/fwupd/fwupd/wiki/fwupd-without-systemd,-elogind-or-ConsoleKit |
does this still work on 1.4.6? |
I don't see why it wouldn't. If you're having problems, please open up a new issue with all the details. |
Is there any way one could build and use fwupd without consolekit/systemd ?
Our use is a PXE booted linux installer in which I would like to manually run fwupd
to update BIOS etc. before installing out Linux img
This installer does not have systemd/consolekit as it supposed to be small and lean.
The text was updated successfully, but these errors were encountered: