summaryrefslogtreecommitdiffstats
path: root/mkosi.build (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-01-20tests: fuzz etc_hosts_parseEvgeny Vereshchagin3-0/+32
That's just a follow-up to https://github.com/systemd/systemd/pull/22179
2022-01-20resolve: fix assertion triggered when r == 0Yu Watanabe1-1/+4
Fixes #22178.
2022-01-20bus: Use OrderedSet for introspectionJan Janssen4-29/+28
Otherwise, the generated xml files are not reproducible.
2022-01-19boot: Use -ffile-prefix-map when presentJan Janssen1-1/+11
This should make sure the stub elf binary is reproducible. Fixes: #22157
2022-01-19test: replace multiple echo with catYu Watanabe1-2/+4
Suggested by shell check SC2129.
2022-01-19udev-util: add event UUID to debugging logsYu Watanabe1-2/+7
2022-01-19sd-device: add more debugging logs in device_set_syspath()Yu Watanabe1-8/+11
On failure, the function previously sometimes logs in debug level, but sometimes does not. Let's always log the error cause.
2022-01-19meson: skip to search clang, llvm-string, and bpftool, if libbpf not foundYu Watanabe1-2/+2
Prompted by https://github.com/systemd/systemd/pull/22093#issuecomment-1016254914.
2022-01-19test: wait for newly created btrfs triggeredYu Watanabe1-0/+12
Fixes the second issue in #21819.
2022-01-19sysext: use LO_FLAGS_PARTSCAN when opening imageLuca Boccassi1-1/+6
Jan 17 12:34:59 myguest1 (sd-sysext)[486]: Device '/var/lib/extensions/myext.raw' is loopback block device with partition scanning turned off, please turn it on. Fixes https://github.com/systemd/systemd/issues/22146
2022-01-19test-network: add testcases for configuring SR-IOV by .link fileYu Watanabe3-0/+136
2022-01-19test-network: split out SR-IOV test to new classYu Watanabe1-27/+38
2022-01-19test-network: silence check for alternative namesYu Watanabe1-1/+1
2022-01-19network: show driver in debug logYu Watanabe1-0/+2
2022-01-19udev/net: check if the requested SR-IOV virtual function exists before ↵Yu Watanabe1-0/+19
configuring it
2022-01-19udev/net: allow to set number of SR-IOV virtual functionsYu Watanabe8-6/+173
This adds SR-IOVVirtualFunctions= setting in [Link] section.
2022-01-19udev/net: also support [SR-IOV] section in .link filesYu Watanabe6-89/+174
The same section is already supported by .network files. But such low-level inteerface setting should be done by udevd, instead of networkd. Let's also support the same semantics by .link files. Prompted by https://github.com/systemd/systemd/issues/20474#issuecomment-901901360.
2022-01-19network: move SR-IOV related functions to src/shared/netif-sriov.[ch]Yu Watanabe7-526/+552
2022-01-19network: rename NetworkConfigSection -> ConfigSectionYu Watanabe36-196/+196
And move it and relevant functions to conf-parser.[ch].
2022-01-19network: sr-iov: add missing assertionYu Watanabe1-0/+2
2022-01-19network: sr-iov: drop conflicting sectionsYu Watanabe3-5/+32
2022-01-19network: sr-iov: fix section name in log messagesYu Watanabe1-2/+2
2022-01-19core: refuse to mount ExtensionImages if the base layer doesn't at least ↵Luca Boccassi1-0/+2
have ID in os-release We can't match an extension if we don't at least have an ID, so refuse to continue
2022-01-19dissect-image: validate extension-release even if the host has only ID in ↵Luca Boccassi1-3/+3
os-release A rolling distro won't set VERSION_ID or SYSEXT_LEVEL in os-release, which means we skip validation of ExtensionImages. Validate even with just an ID, the lower level helper already recognizes and accepts this use case. Fixes https://github.com/systemd/systemd/issues/22146
2022-01-18machined: provide more details to polkit authLudwig Nussel3-16/+112
2022-01-18bootctl: removed unused parameter only_autoGoffredo Baroncelli4-7/+11
Remove the parameter 'only_auto' from the function boot_entries_augment_from_loader() because each caller set it always to true. Signed-off-by: Goffredo Baroncelli <kreijack@inwind.it>
2022-01-18bootctl: ignore the bootloader boot entriesGoffredo Baroncelli1-1/+1
When bootctl lists the boot entries, considers also the ones returned by systemd-boot (via the efi LoaderEntries variable), created at boot time. Unfortunately this list may became incorrect if (e.g.) the user remove a kernel package. This patch changes this behaviour, so bootctl ignores some the boot entries returned by systemd-boot. In any case, bootctl still considers the 'auto-xxx' boot entries listed below: Boot entrie name Title ----------------------------- ------------------------------ auto-osx macOS boot loader auto-windows Windows Boot Manager auto-efi-shell EFI Shell auto-efi-default EFI Default Loader auto-reboot-to-firmware-setup Reboot Into Firmware Interface The other entries that systemd-boot synthetizes (e.g. the ones loaded from /efi/loader/entries/<uuid>) can be synthetized by bootctl too, so no information is lost. Signed-off-by: Goffredo Baroncelli <kreijack@inwind.it>
2022-01-18boot: Pass around HARDDRIVE_DEVICE_PATHJan Janssen1-59/+23
2022-01-18boot: Simplify looking for the xboot hard driveJan Janssen1-57/+59
The device path should not contain multiple hard drive nodes in it, so looking at them all should not be needed. If some crazy firmware/driver were to make nested GPT drives available like that, we should be only looking at the last partition and its containing GPT drive anyway.
2022-01-18boot: Search for the partition node directlyJan Janssen1-14/+12
Some firmware creates partition device paths without a messaging device path node, making the search for the xboot loader partition fail. Fixes: #17756
2022-01-18meson: force ctags to use absolute pathsEvgeny Vereshchagin1-1/+1
Looks like https://github.com/mesonbuild/meson/issues/957 was reintroduced in meson-0.57.0 (and looking and https://mesonbuild.com/Release-notes-for-0-57-0.html I'm not sure whether it was intentional or not) so run_command can no longer be used to get around https://github.com/mesonbuild/meson/issues/3589. Let's just force ctags to always use absolute paths to fix it once and for all.
2022-01-18pid1,cgroup-show: ignore -EOPNOTSUPP in cg_read_pid()Yu Watanabe2-7/+18
The function is called in recursion, and cgroup.procs in some subcgroups may not be read. Fixes #22089.
2022-01-18ci: point mkosi to commit where "testing" is fixedEvgeny Vereshchagin1-1/+1
https://github.com/systemd/mkosi/pull/886
2022-01-18ci: switch from unstable to testing on mkosiEvgeny Vereshchagin1-1/+1
2022-01-18test: fix a copy-and-paste errorYu Watanabe1-1/+1
Follow-up for 12727c2bc2859995cbd561ffc3d9a4d571202254. Addresses https://github.com/systemd/systemd/pull/22125#discussion_r786358474. Fixes CID#1469023.
2022-01-18man: add more references for extensions to portablectlLuca Boccassi1-4/+9
Link in systemd.io and systemd-sysext Fixes #22146
2022-01-17journal: Copy holes when archiving BTRFS journal filesDaan De Meyer3-12/+55
Previously, the holes we punched earlier would get removed when copying the file. Let's enable the new COPY_HOLES flag to make sure this doesn't happen. In my test, this drops a 800MB btrfs journal (without compression) to 720 MB. Fixes #22087
2022-01-17kernel-install: also remove modules.builtin.alias.binYu Watanabe1-1/+1
Fixes RHBZ#2016630.
2022-01-17meson: drop unused SYSTEMD_STDIO_BRIDGE_BINARY_PATHZbigniew Jędrzejewski-Szmek1-1/+0
The whole point of systemd-stdio-bridge is to be executed on "foreign" systems where the path might be different, so we use $PATH to find the binary everywhere.
2022-01-17stdio-bridge: trim whitespace and bracesZbigniew Jędrzejewski-Szmek1-4/+1
2022-01-17stdio-bridge: make the error more straightforwardZbigniew Jędrzejewski-Szmek1-1/+1
2022-01-17man: enhance the description of systemd-stdio-bridgeZbigniew Jędrzejewski-Szmek2-8/+22
I hope that this fixes the comment https://github.com/systemd/systemd/pull/22141#issuecomment-1013960371 > As someone who doesn't know what this prog does The listing in the man page is sorted according to logical use: all the options setting the address are now together.
2022-01-17systemd-stdio-bridge: add manpageLuca Boccassi2-0/+79
2022-01-17build(deps): bump github/codeql-action from 1.0.26 to 1.0.27dependabot[bot]1-3/+3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.0.26 to 1.0.27. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/5f532563584d71fdef14ee64d17bafb34f751ce5...cd783c8a29bdcf5a5c79c5137889e24651fa626c) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17ci: trigger CodeQL on PRs when its dependencies changeEvgeny Vereshchagin1-0/+2
2022-01-17boot: Beep n times for n-th entryJan Janssen4-18/+25
2022-01-16man: change 'allow[s] to' -> 'allow[s] one to'Luca Boccassi3-6/+6
Lintian is opinionated about this and we get nagged
2022-01-16ci: get Coverity and CodeQL to analyze the "libxkbcommon" partEvgeny Vereshchagin92-1963/+1172
By analogy with https://github.com/systemd/systemd/pull/22138, to get the static analyzers to analyze that part of code that package should be installed there as well.
2022-01-16core: add missing dependency DBus propertiesYu Watanabe3-12/+27
Follow-up for 0bc488c99ab2ed3464237607e381f4d72cd321d5. Also sort dependency properties to make them match the definition of `enum UnitDependency` in basic/unit-def.h. Fixes #22133.
2022-01-16core: update log messageYu Watanabe1-2/+6
Fixes CID#1469009.