Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-25 | util-lib: split out fd-related operations into fd-util.[ch] | Lennart Poettering | |
There are more than enough to deserve their own .c file, hence move them over. | |||
2015-09-07 | basic: rework virtualization detection API | Lennart Poettering | |
Introduce a proper enum, and don't pass around string ids anymore. This simplifies things quite a bit, and makes virtualization detection more similar to architecture detection. | |||
2015-07-11 | logind: some firmware implementations remove OsIndications if it is unset | Lennart Poettering | |
We shouldn't fall over that, and just assume it is 0 in this case. Fixes #499. | |||
2015-06-08 | tree-wide: remove spurious space | Thomas Hindoe Paaboel Andersen | |
2015-04-10 | shared: efivars - fix compile on non-EFI systems | Tom Gundersen | |
systemctl and logind were unconditionally using functions that were not compiled on non-EFI systems. Add stubs returning -EOPNOTSUPP to fix compile again. | |||
2015-04-10 | shared: efivars - is_efi_*() returns bool instead of int | Tom Gundersen | |
There was a bug where is_efi_*() could return a negative error value, which would be treated as 'true', just make this a bool in the helper library to avoid the problem. | |||
2015-04-07 | logind,systemctl: add reboot to EFI firmware support | Jan Janssen | |
2015-03-09 | efivars: itialize variable | Zbigniew Jędrzejewski-Szmek | |
Introduced a few commits ago. | |||
2015-03-09 | efivars: use greedy_realloc | Zbigniew Jędrzejewski-Szmek | |
2015-03-09 | efivars: use more _cleanup_ | Zbigniew Jędrzejewski-Szmek | |
Also rename r to buf, since r is customarily reserved for the return value. | |||
2015-03-09 | efivars: do binary and before converting to bool | Zbigniew Jędrzejewski-Szmek | |
I'm pretty sure that this is what was meant here. | |||
2015-03-09 | efivars: rename last remaining err to r | Zbigniew Jędrzejewski-Szmek | |
2015-03-09 | efivars: modernization | Zbigniew Jędrzejewski-Szmek | |
Fix return value if unlink fails. | |||
2015-03-09 | tree-wide: use _packed_ macro instead of raw gcc __attribute__ | Lennart Poettering | |
2015-02-23 | remove unused includes | Thomas Hindoe Paaboel Andersen | |
This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use. | |||
2015-02-17 | bootctl: add sd-boot support | Kay Sievers | |
2014-08-11 | fix a couple of more lazy "return -1" | Lennart Poettering | |
Fix should strictly follow the rule to return negative errno-style error codes from functions, hence let's fix more "return -1"-style lazinesses. | |||
2014-03-07 | gpt-auto-generator: automatically find the root disk of the system | Lennart Poettering | |
When run in an initrd and no root= argument is set (or is set to root=gpt-auto) we will automatically look for the root partition on the same disk the EFI ESP is located on. Since we look for swap, /home and /srv on the disk the root partition is located on, we hence have a fully discoverable chain: Firmware discovers the EFI ESP partition → the initrd discovers the root partition → the host OS discovers swap, /home, and /srv. Note that this requires an EFI boot loader that sets the LoaderDevicePartUUID EFI variable, such as Gummiboot. | |||
2014-02-19 | make gcc shut up | Lennart Poettering | |
If -flto is used then gcc will generate a lot more warnings than before, among them a number of use-without-initialization warnings. Most of them without are false positives, but let's make them go away, because it doesn't really matter. | |||
2013-10-13 | Modernization | Zbigniew Jędrzejewski-Szmek | |
Fixes minor leak in error path in device.c. | |||
2013-10-13 | Never call qsort on potentially NULL arrays | Zbigniew Jędrzejewski-Szmek | |
This extends 62678ded 'efi: never call qsort on potentially NULL arrays' to all other places where qsort is used and it is not obvious that the count is non-zero. | |||
2013-10-02 | efi: never call qsort on potentially NULL arrays | Lennart Poettering | |
2013-09-24 | support acpi firmware performance data (FPDT) | Kay Sievers | |
Prefer firmware-provided performance data over loader-exported ones; if ACPI data is available, always use it, otherwise try to read the loader data. The firmware-provided variables start at the time the first EFI image is executed and end when the operating system exits the boot services; the (loader) time calculated in systemd-analyze increases. | |||
2013-04-04 | efivars: un-leak a few strings | Zbigniew Jędrzejewski-Szmek | |
2013-03-21 | efivars: fix return code | Zbigniew Jędrzejewski-Szmek | |
Was returning 1 on read error. | |||
2013-03-10 | bootctl: print secure boot flags | Kay Sievers | |
2013-02-17 | efi: compare by substraction | Kay Sievers | |
2013-02-13 | build-sys: make EFI support build-time optional | Lennart Poettering | |
2013-02-13 | efi: efi_get_boot_options() should already sort the entries, the random ↵ | Lennart Poettering | |
order in the efivars fs is probably not useful This also introduces a new FOREACH_DIRENT macro and makes use of it. | |||
2013-02-13 | efi: use efi_get_variable_string() instead of efi_get_variable() where we can | Lennart Poettering | |
2013-02-13 | efi: unify BootXXXX reading | Kay Sievers | |
2013-02-13 | efi: add missing #include | Lennart Poettering | |
2013-02-13 | efi: various cleanups | Lennart Poettering | |
2013-02-11 | bootctl: add boot loader and firmware interface tool | Kay Sievers | |
2013-02-11 | efi: fix returned length of efi_get_variable() | Lennart Poettering | |
2013-01-24 | efi: fix Usec vs. USec | Kay Sievers | |
2013-01-23 | efi: read microseconds from boot loader info instead of "ticks" magic | Kay Sievers | |
2013-01-21 | efi: add efi boot generator that automatically mounts the ESP to /boot | Lennart Poettering | |
2013-01-21 | util: move is_efiboot() to efivars.c | Lennart Poettering | |
2013-01-19 | core: if the bootloader supports it, determine firmware and boot loader delay | Lennart Poettering | |
This allows us to print simple performance data of all parts of the boot now: - firmware - boot loader - kernel - initrd - userspace This only works for bootloaders which support passing TSC data via EFI variables. As of now that's only gummiboot. |