| Commit message (Collapse) | Author | Files | Lines |
|
For some use cases we want to operate on the loop device that
systemd-dissect has attached the loop device to, so let's make that
easily accessible.
|
|
(#28868)
* test: Check that SELinux policy is available before running SELinux test
---------
Co-authored-by: Frantisek Sumsal <frantisek@sumsal.cz>
|
|
|
|
install_subdir() does not copy symlinks but copies the file they
point to. We also get a very ugly warning in the meson install
output:
"""
Warning: trying to copy a symlink that points to a file. This will copy the file,
but this will be changed in a future version of Meson to copy the symlink as is. Please update your
build definitions so that it will not break when the change happens.
"""
Let's fix both problems at once by using rsync which does the right
thing. Verified by running systemd-dissect --mtree on both the install
output before and after and all the symlinks are now correctly preserved.
|
|
We conditionalize behavior based on whether these paths have trailing
slashes or not, so let's make sure we keep them intact.
|
|
|
|
Sometimes its useful to keep a trailing slash in the path so let's
add path_simplify_full() and a flag to do just that.
|
|
An error reply from polkit is a valid case and should not be propagated
as failure of async_polkit_callback(). It should only be saved here.
It'll be returned by bus_verify_polkit_async() later, when it's called
for the same method again.
Follow-up for #26365.
|
|
in confidential vms
|
|
|
|
|
|
|
|
|
|
|
|
Setting USEC_INFINITY to timer event source should not cause any
problem. But, disabling timer event source should be preferable.
[zjs: simplify the call to sd_event_source_set_enabled()]
|