| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Split out from #17919.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- HostonlyInitrd reduces the size of the initramfs which speeds up
QEMU boot times.
- Autologin and deleting the root password remove
the manual login step whenever starting the systemd-nspawn container
or QEMU vm.
- NetworkVeth passes --network-veth to the nspawn container when
using mkosi boot and emulates --network-veth with a tap device
and networkd's 80-vm-vt.network builtin network file when using
mkosi qemu. --network-veth makes it easier to test network and
resolved in mkosi's nspawn container or QEMU vm.
|
|
|
|
|
|
| |
It's often useful to have an editor available to edit some random
config file in the final image. Let's install some basic editors
that don't take up too much space.
|
|
|
|
| |
As suggested: https://github.com/systemd/systemd/pull/17741#issuecomment-743479834
|
|
|
|
| |
Useful for debugging purposes.
|
|
|
|
|
|
| |
Let's add a debugger to the mkosi images so we can debug coredumps
from inside mkosi qemu VMs (and hopefully in the future from
mkosi systemd-nspawn containers as well).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--qemu-headless configures the generated image and mkosi's qemu
command to connect to the VM via the serial port. This allows
spawning a qemu VM within the user's terminal instead of spawning
a graphical GTK GUI. --qemu-headless sets TERM, COLUMNS and LINES
in serial-getty@ttyS0.service in the container which makes the
terminal in the VM behave almost equivalent to the one on the host.
This change makes testing changes to systemd using mkosi + QEMU a
lot easier compared to before as commands can be executed in the VM
from the comfort of one's terminal compared to the Linux console
available when running via the GTK GUI.
|
|
|
|
| |
find is needed by test_exec_dynamicuser.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
As long as the RPM version does not include a dep for it yet, we need to
add it manually, since we now link against it.
Follow-up for: 95f7ab2fe66cc3bb3a95eb8690114732eab30555
|
|
|
|
|
|
|
| |
We need to include ninja-build in the packages list because meson doesn't
depend on it (because it supports other backends too).
Also drop xz-devel, it's not crucial for the test.
|
|
|
|
|
| |
We want to build this image with as many deps turned on as we can make
happen, hence include libfido2 in the image.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
libzstd is a new dependency for systemd that's not in a stable release
yet, so it's not pulled in by the RPM package dependency. Manually
include it in the package section so the image mkosi produces works. It
can be removed when the RPM depends on it.
Additionally, a number of packages in the list appear to be pulled in
because they're dependencies in the systemd rpm, so remove them.
Finally, mkosi v5 adds the proper fs utilities for bootable images type
so drop that dependency as well.
|
| |
|
|
|
|
|
| |
Both hostname and uname utilities boil down to uname(2) syscall. Reduce
tests dependency footprint by using uname for checking hostname too.
|
|
|
|
| |
Since 6123dfaa72 this should not be necessary anymore.
|
|
|
|
|
| |
This saves ~24MB of space, see
https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot.
|
|
|
|
|
|
|
| |
efsck to build
This is preparation for subsequent additions which link against these
libraries.
|
|
|
|
|
|
|
|
|
|
| |
Fedora minimization had some effect, hence add some required
dependencies explicitly so that we work anyway.
Also, the libtool is not used anymore, drop it.
Finally, the mkosi output format is called gpt_ext4 now, not raw_ext4
anymore.
|
| |
|
| |
|
|
|
|
|
| |
F29 is at beta now, but should be out within two or three weeks, by the time
next systemd release happens.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
These lines are generally out-of-date, incomplete and unnecessary. With
SPDX and git repository much more accurate and fine grained information
about licensing and authorship is available, hence let's drop the
per-file copyright notice. Of course, removing copyright lines of others
is problematic, hence this commit only removes my own lines and leaves
all others untouched. It might be nicer if sooner or later those could
go away too, making git the only and accurate source of authorship
information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This part of the copyright blurb stems from the GPL use recommendations:
https://www.gnu.org/licenses/gpl-howto.en.html
The concept appears to originate in times where version control was per
file, instead of per tree, and was a way to glue the files together.
Ultimately, we nowadays don't live in that world anymore, and this
information is entirely useless anyway, as people are very welcome to
copy these files into any projects they like, and they shouldn't have to
change bits that are part of our copyright header for that.
hence, let's just get rid of this old cruft, and shorten our codebase a
bit.
|
|
|
|
|
| |
Our test-execute test uses 'hostname' to validate specifiers, hence it
should be available in our mkosi build too, so that the test can pass.
|
|
|
|
|
|
|
|
|
|
| |
Files which are installed as-is (any .service and other unit files, .conf
files, .policy files, etc), are left as is. My assumption is that SPDX
identifiers are not yet that well known, so it's better to retain the
extended header to avoid any doubt.
I also kept any copyright lines. We can probably remove them, but it'd nice to
obtain explicit acks from all involved authors before doing that.
|
|
|
|
|
|
|
|
|
|
|
| |
intltool is unnecessary since c81217920effddc93fb780cf8f9eb699d6fe1319.
But we still need gettext, because we use msgformat to generate .mo files.
(I tried to make meson depend on it, at least in Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1545926, but that didn't fly,
and in Debian at least meson also has no dependency on the tools used by
its i18n module, so we need to add our own dependency anyway.)
Closes #8192.
|
|\
| |
| |
| | |
Trivial merge conflict resolved locally.
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
| |
This way these dirs will be created automatically if they are missing,
thus always guaranteeing optimal speedy behaviour.
(Well at least, after https://github.com/systemd/mkosi/pull/181 is
merged)
|
|
|
| |
This seems to be required since the move to meson.
|
|\
| |
| | |
WakeSystem= and other timer fixes.
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Recent systemd compiled in a build root which had libidn2-devel installed would
not run in the default installation root which had just libidn and did not have
libidn2. Since a8a2a0ed64f727c82e libidn2-devel (or equivalent) is installed in
the build root. Normally, since we install systemd in the installation root,
all dependencies that are needed for the compiled systemd to run are present,
but libidn2 is a new dependency, so the distro packages would just pull in
libidn, and not libidn2.
Temporily add libdn2 to explicitly specified Packages. We can remove that once
distro-compiled systemds have moved to libind2.
|
| |
|
| |
|
|
|
|
|
| |
For Fedora, the version is bumped to 26. In F25, ninja is still called ninja-build
(while the package with the rename is going through QA).
|
| |
|
|
|
|
|
| |
Our tests require "diff" and "tree", hence let's add them to the set of
development packages.
|
|
|
|
|
| |
checking if gcc supports -fno-rtti -fno-exceptions... ./configure: line 10083: diff: command not found
no
|
|
|
|
| |
No need to look back at the past. Fedora 25 is here (almost).
|
|
|
|
| |
No point in spamming the fs.
|