summaryrefslogtreecommitdiff
path: root/src/boot
AgeCommit message (Collapse)Author
2015-04-11boot/util: add ticks_read() stubKoen Kooi
2015-04-11boot/util: use x86 ASM only on x86 platforms.Koen Kooi
2015-04-08remove duplicated includesRonny Chevalier
2015-04-06util: rework rm_rf() logicLennart Poettering
- Move to its own file rm-rf.c - Change parameters into a single flags parameter - Remove "honour sticky" logic, it's unused these days
2015-03-19bootctl: drop redundant parse_argv()David Herrmann
We already call parse_argv() from main(), don't call it here again.
2015-03-13efi: widen operand to avoid overflowZbigniew Jędrzejewski-Szmek
CID #1287141.
2015-03-11boot: efi - add config option to disable the command line editorKay Sievers
2015-03-09boot/efi: do not assign variable twiceZbigniew Jędrzejewski-Szmek
If the highlighted line did not move outside of the visible region, it should not be necessary to update idx_last. CID #1287137, #1287138.
2015-03-01boot: efi - ignore .conf snippets starting with "auto-"Kay Sievers
2015-03-01boot: efi - remove a couple of Loader* variablesKay Sievers
2015-02-27bootctl: avoid NULL pointer dereferenceZbigniew Jędrzejewski-Szmek
2015-02-27boot: efi - fix missing includeMarcel Holtmann
src/boot/efi/splash.c:312:9: warning: implicit declaration of function ‘graphics_mode’ [-Wimplicit-function-declaration] err = graphics_mode(TRUE); ^
2015-02-26boot: efi - remove custom splash supportKay Sievers
2015-02-26boot: efi - split graphics and splash handlingKay Sievers
2015-02-26boot: efi - support embedded splash imageKay Sievers
2015-02-26boot: efi - print generic error message if we fail to execute an imageKay Sievers
2015-02-26boot: efi - remove default boot splash handlingKay Sievers
2015-02-25bootctl: check that partition uuid is validThomas Hindoe Paaboel Andersen
It probably is but check anyway to make coverity happy. CID#1271354
2015-02-25bootctl: fix mem leaksThomas Hindoe Paaboel Andersen
CID#1271347/1271348
2015-02-23remove unused includesThomas 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-20build-sys: update gitignoreKay Sievers
2015-02-18systemd-boot: fix alignment of version in tableThomas Hindoe Paaboel Andersen
2015-02-18gummiboot/sd-boot/systemd-boot: rename galoreTom Gundersen
What used to be gummiboot, was renamed sd-boot when it was merged into systemd. Let's try to be a bit more consistent with the rest of systemd and rename it again as follows: The EFI bootloader is now called 'systemd-bootx64.efi', and its sources are in 'src/boot/efi/'. The drop-in directory where bootctl will find EFI loaders is now /usr/lib/systemd/boot/efi/.
2015-02-17bootctl: add sd-boot supportKay Sievers
2015-02-12Add missing includes in header filesThomas Hindoe Paaboel Andersen
This fixes various issues found by globally reordering the include sections of all .c files.
2014-08-03Unify parse_argv styleZbigniew Jędrzejewski-Szmek
getopt is usually good at printing out a nice error message when commandline options are invalid. It distinguishes between an unknown option and a known option with a missing arg. It is better to let it do its job and not use opterr=0 unless we actually want to suppress messages. So remove opterr=0 in the few places where it wasn't really useful. When an error in options is encountered, we should not print a lengthy help() and overwhelm the user, when we know precisely what is wrong with the commandline. In addition, since help() prints to stdout, it should not be used except when requested with -h or --help. Also, simplify things here and there.
2014-02-19make gcc shut upLennart 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.
2014-01-31use memzero(foo, length); for all memset(foo, 0, length); callsGreg KH
In trying to track down a stupid linker bug, I noticed a bunch of memset() calls that should be using memzero() to make it more "obvious" that the options are correct (i.e. 0 is not the length, but the data to set). So fix up all current calls to memset(foo, 0, length) to memzero(foo, length).
2013-12-31boot-efi: Remove superfluous assignmentStefan Beller
2 lines after the changed line we assign err to efi_get_variable(...) unconditionally, so it makes no sense to initialize it to some value.
2013-11-09bootctl: remove unused options from getopt_longThomas Hindoe Paaboel Andersen
2013-11-06clients: unify how we invoke getopt_long()Lennart Poettering
Among other things this makes sure we always expose a --version command and show it in the help texts.
2013-11-06bootctl: typo fix in help messageThomas Hindoe Paaboel Andersen
2013-09-24support 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-03-29bootctl: fix help textKoen Kooi
It currently says 'time settings', change that to 'boot settings'.
2013-03-28bootctl: ESP --> PartitionKay Sievers
2013-03-28bootctl: Binary: --> File:Kay Sievers
2013-03-27bootctl: rename status output headerKay Sievers
2013-03-10bootctl: print Options only when foundKay Sievers
2013-03-10bootctl: print secure boot flagsKay Sievers
2013-02-17bootctl: show "n/a" for empty boot option labelsKay Sievers
2013-02-13use streq instead of strcmpThomas Hindoe Paaboel Andersen
2013-02-13bootctl: always show slashes not backslashesKay Sievers
2013-02-13efi: unify BootXXXX readingKay Sievers
2013-02-13boot: add stub Makefile symlinkLennart Poettering
2013-02-13efi: various cleanupsLennart Poettering
2013-02-11bootctl: print partition uuids as /dev/disk/by-partuuid/...Kay Sievers
2013-02-11bootctl: add boot loader and firmware interface toolKay Sievers