| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Instead of using ExtraTrees=, let's use the new RuntimeTrees= option
to mount the full repository into the VM/container. Let's also store
the sources under /usr/src/systemd and update the gdbinit file and
vscode HACKING guide section to match the new location.
|
|
|
|
|
| |
The kernel package is named after the architecture, so builds will
fail if mkosi --architecture arm64 is used
|
|
|
|
|
|
|
|
| |
mkosi now supports booting directory images in qemu using virtiofs.
However, until distribution kernels build the virtiofs driver directly
into the kernel, we need an initrd to make this work, so make sure to
pull in the initrd preset when building a directory image that could be
bootable to make this work.
|
|
|
|
|
| |
squashfs has been moved to kernel-modules-core so no need to install
kernel-modules anymore on Fedora.
|
|
|
|
|
|
| |
The original issue should be fixed in kernel-5.14.0-362.el9.
This reverts commit b0881b65a69e83decab3df0d2b23206cea59bb1b.
|
|\
| |
| | |
Various mkosi improvements
|
| |
| |
| |
| |
| |
| |
| |
| | |
Let's not build all presets by default, but only the system preset.
Also, let's only make the system preset depend on the initrd preset
if we're building a bootable disk image. This means that if we build
the system image as a cpio, uki or directory, the initrd preset will
be skipped as it's not necessary, making the build a little faster.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The kernel has this horrible build system feature where distros
can ship /sbin/installkernel and it'll automatically be used by
make install. Let's make sure that doesn't happen as on Debian this
script puts the kernel under the wrong name causing mkosi build
failures.
|
|/ |
|
|
|
|
|
| |
We don't build our kernel with hid support so don't build the selftests
either.
|
|\
| |
| | |
mkosi: Update to latest
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Configuration now takes priority over CLI options so we have to
configure the defaults for settings that we want to allow overriding
from the CLI. We also explicitly set some other settings so that they
can't be overridden from the CLI anymore. For example the base and
initrd image should never be made bootable so we set Bootable=no
explicitly for both.
|
|/
|
|
|
| |
Required by loadkeys but not always a hard dependency so let's install
it explicitly.
|
|
|
|
|
|
|
|
| |
Newer kernels are affected by a regression that causes a kernel panic
on shutdown, so pin them for now. Can be reverted once that problem is
fixed.
https://bugzilla.redhat.com/show_bug.cgi?id=2234390
|
|
|
|
|
| |
systemd-oomd keeps complaining about the lack of swap partition, so
let's add one.
|
|
|
|
|
| |
Let's exercise the repart Subvolumes= setting by creating a few
subvolumes in the root partition when we create it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally, the source code was copied under /root/src.
This home directory is part of root FS and the new mkosi building
paradigm has only ephemeral root FS that is generated lazily.
Any files placed on the root FS in the build environment are that
excluded from the final image.
It is useful to have source codes available in the image's runtime (not
build time) environment for debugging.
ExtraTrees= as used currently are ineffective, so change the destination
to copy files under /usr to achieve the intention.
gdb sees source files as:
> 1354 ../src/src/systemctl/systemctl.c: No such file or directory.
Modify gdb configration in the built image accordingly (that file cannot
be in /root neither) to resolve to the moved sources.
(Commit fdecbf7 ("Enable unprivileged image builds") envisions bind
mounting or virtiofsd for nspawn or qemu containers respectively.)
|
|
This update introduces the explicit Dependencies= setting, instead
of relying on implicit dependencies via alphanumerical ordering.
We also take the opportunity to rename the "final" preset to the
"system" preset, which seems like a better name.
|