summaryrefslogtreecommitdiff
path: root/src/efi-boot-generator
Commit message (Collapse)AuthorAgeFilesLines
* gpt-auto-generator: merge efi-boot-generatorKay Sievers2015-07-292-163/+0
|
* path-util: Change path_is_mount_point() symlink arg from bool to flagsMartin Pitt2015-05-291-1/+1
| | | | | This makes path_is_mount_point() consistent with fd_is_mount_point() wrt. flags.
* Use fflush_and_check() in more placesZbigniew Jędrzejewski-Szmek2015-05-161-6/+6
|
* efi-boot-generator: set automount expire for /bootbaserock/v219-729-g163ab29-jetson_btrfs_fixesKay Sievers2015-04-221-1/+2
| | | | | | | | | | | | | This should make the Linux vfat handling less fragile, by unmounting the idle mount and causing to sync the entire file system to disk. On my machines, The FAT file system at /boot regularly gets corrupted with unclean shutdowns, rendering the machines unbootable. Either the VFS write-back behaviour or the vfat driver itself is just not reliable enough to be/stay mounted at every bootup. Because of that, the automount expiry was on top of my personal wish list. Thanks a lot Michael!
* efi-boot-generator: need need to proceed if /boot is already a mount pointLennart Poettering2015-04-121-1/+5
|
* efi-boot-generator: Continue if /boot does not existTobias Hunger2015-04-121-2/+4
| | | | | /boot does not exist on a stateless system, so do not get confused by that.
* remove unused includesThomas Hindoe Paaboel Andersen2015-02-231-1/+0
| | | | | | 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.
* util: rework strappenda(), and rename it strjoina()Lennart Poettering2015-02-031-3/+3
| | | | | | After all it is now much more like strjoin() than strappend(). At the same time, add support for NULL sentinels, even if they are normally not necessary.
* treewide: use log_*_errno whenever %m is in the format stringMichal Schmidt2014-11-281-5/+5
| | | | | | | | | | | If the format string contains %m, clearly errno must have a meaningful value, so we might as well use log_*_errno to have ERRNO= logged. Using: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\((".*%m.*")/log_\1_errno(errno, \2/' Plus some whitespace, linewrap, and indent adjustments.
* treewide: no need to negate errno for log_*_errno()Michal Schmidt2014-11-281-1/+1
| | | | It corrrectly handles both positive and negative errno values.
* treewide: auto-convert the simple cases to log_*_errno()Michal Schmidt2014-11-281-1/+1
| | | | | | | | | | | | | As a followup to 086891e5c1 "log: add an "error" parameter to all low-level logging calls and intrdouce log_error_errno() as log calls that take error numbers", use sed to convert the simple cases to use the new macros: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/' Multi-line log_*() invocations are not covered. And we also should add log_unit_*_errno().
* efi-boot-generator: typo fixLennart Poettering2014-03-071-1/+1
|
* generators: make automatic discovery generators work correctly when reloadingLennart Poettering2014-03-061-1/+3
| | | | | | | | In addition to checking whether the diestination mount point is populated, check whether it is already a mount point. If it is already a mount point, or if it is unpopulated, let's create the unit.
* generators: add Documentation= fields that point to the generator man pagesLennart Poettering2014-03-061-1/+2
|
* generators: rework mount generatorsLennart Poettering2014-03-061-21/+50
| | | | | | | | | | | | | - Add support for finding and mounting /srv based on GPT data, similar to how we already handly /home. - Share the fsck logic between GPT, EFI and fstab generators - Make sure we never run the EFI generator inside containers - Drop DefaultDependencies=no from EFI mount units - Other fixes
* efi-boot-generator: don't mount /boot eagerlyTom Gundersen2013-11-211-1/+1
|
* efi-boot-generator: simplifyZbigniew Jędrzejewski-Szmek2013-11-061-27/+10
|
* efi-boot-generator: hookup to fsckTom Gundersen2013-10-191-4/+22
|
* support acpi firmware performance data (FPDT)Kay Sievers2013-09-241-1/+1
| | | | | | | | | | 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.
* Standarize on one spelling of symlink error messageZbigniew Jędrzejewski-Szmek2013-04-241-1/+1
| | | | | It's polite to print the name of the link that wasn't created, and it makes little sense to print the target.
* efi: various cleanupsLennart Poettering2013-02-131-1/+1
|
* efi: set a nice description string in the ESP unitsLennart Poettering2013-01-211-4/+7
|
* efi: properly create symlink dirLennart Poettering2013-01-211-1/+4
|
* efi: add efi boot generator that automatically mounts the ESP to /bootLennart Poettering2013-01-212-0/+118