| Commit message (Collapse) | Author | Files | Lines |
|
|
|
Binutils 2.38 added support for efi-app-aarch64
Still use binary mode if we have an older objcopy
Add check for incompatible gnu-efi crt0 containing the header section
which gets added by objcopy and if used results in duplicate header
and subsequently a broken binary
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
|
|
If we add a drop-in for init.scope (e.g.: to set some memory limit),
it will be loaded long after the cgroup has already been realized.
Do it again when creating the special unit.
|
|
Make it easier to discern enabled and disabled build options.
|
|
|
|
It's mostly desired to enable machines.target
along with the machine since only when both are
enabled it would really work.
|
|
|
|
This reverts commit e59678b2cf42e4206ddabc959d3cf9a5a865ecdc.
We also modify the repart integration tests to make them pass with the
changes in this commit. In short, we have to make sure every file is
owned by the user executing repart. We use tee instead of cat since it
makes that easier. This also has the benefit of improving debugability
as seeing the config file contents on stdout makes it easier to know
which test is failing.
|
|
|
|
This reverts commit d2ac7698cb43807a2dd0af727599db486180ebf1.
|
|
The root meson.build file is already large enough.
|
|
Fix incorrection assumption about the Debian patch being buggy and
actually making TEST-73-LOCALE fail on Debian.
```
# localectl set-locale LANG=C.UTF-8
# cat /etc/default/locale
LANG=C.UTF-8
```
|
|
Closes #24228.
Replaces #25412.
|
|
Suggested at https://github.com/systemd/systemd/pull/25805#discussion_r1054871210
> we now write multiple files and we cannot possibly guarantee that
> either both updates worked or neither. unix fs apis simply have
> no concept that would allow us to implement that. hence I think
> we should update what we can, log about what we cannot, but return
> success as long as our in-memory state was updated.
|
|
Similary, this also merges x11_convert_to_vconsole_and_emit() with
method_set_x11_keyboard().
No functional changes, preparation for later commits.
|
|
No functional changes, just refactoring and preparation for later
commits.
|
|
Similary, this also renames context_free_x11() -> context_clear_x11(),
to make it clear that these functions do not free Context.
Also, this makes context_clear() support to be called more than once.
|
|
|
|
- add missing assertions,
- rename arguments for storing results,
- always initialize results on success,
- use _cleanup_ attribute at more places, etc.
|
|
|
|
|
|
With the previous form, gcc is confused and thinks that .type might be unset.
Fixes #26118.
|
|
We would set .path in all cases except INSTALL_CHANGE_AUXILIARY_FAILED, where
we would just just .source. This special case is just not worth it, because
we can't easily assert that .path is set. Let's remove this special case to
help the compiler know that .path is actually set.
Avoids a warning with gcc-13.0.1-0.1.fc38.x86_64.
|
|
Whether we use a newline at the beginning of <programlisting> or not doesn't
seem to have any effect. So let's use the newline in multi-line examples; it is
easier to get the indentation right this way.
|
|
Two issues that were missed in 8b9f092112ce097dd5c72a58a092c4176458889c.
|
|
|
|
Follow-up for da20baaeccbcca78350bf64bdc069dec685c95bc.
|
|
|
|
|
|
|
|
character buffers to NUL terminated C strings
|
|
|
|
Fixes a leak reported at https://github.com/systemd/systemd/pull/26115#issuecomment-1398026085.
|
|
|
|
SD_ID128_TO_STRING()
|
|
Let's make sure the timestamp file's mtime is guaranteed to change for
each boot, so that it is a useful indicator of time. Or in other words
this gurantees that systemd-timesyncd.service acts as a new kind of
milestone: that time definitely progressed on this boot even the machine
died abnormally imediately after.
|
|
Let's log more.
|
|
disk timestamp
It's useful being able to easily detect if a disk-based clock bump was
done, let's make it a structure message, the same way as acquiring an
NTP fix already is.
Also, set the clock to 1 µs further than the timestamp from the disk,
after all we know that that timestamp was current when it was written,
hence it can't be the right one right now anymore.
|
|
|
|
|
|
If output fields are specified, let's store this in a Set right-away,
instead of converting between strv and Set again and again for each
line.
This is not only faster, but also simpler and shorter.
|
|
|
|
|
|
--help text
grub (at least on fedora) nowadays implements the boot loader spec, but
not the boot loader interface. Hence let's split out the commands
specific to each in two groups in the --help text. This way the first
group just covers boot lodaer spec stuff (i.e. stuff on disk in the
ESP/XBOOTLDR partition). And the other covers talking to the boot loader
via EFI var.
|
|
for some reason the descriptions of the switches and the commands
weren't aligned, one space off. Fix that.
|
|
Let's call them kernel *images*, not just *kernels*.
|
|
We never do that, don't do so here either.
|
|
The source (usually DMI/SMBIOS) only has 24h granularity, hence don't
show time as well, it's useless.
|
|
|
|
|