| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This is extremely slow since the latest pacman release, and since
we don't strip binaries, not really needed either.
|
| |
|
|
|
|
|
| |
systemd-repart is part of systemd-experimental and we need systemd-repart
in the initrd so let's install systemd-experimental in the initrd.
|
|
|
|
|
|
|
| |
ukify is part of systemd-experimental on OpenSUSE and not its own
package. Because the OpenSUSE systemd maintainers do not want to
introduce a python dependency for systemd-experimental, we have to
install python3-pefile manually to make sure ukify works properly.
|
|
|
|
|
| |
Don't fail if SecureBoot is not enabled. Instead, only execute
the secure boot related checks if secure boot is actually enabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By always cloning the latest branch commit, we can't bisect properly
using mkosi as when bisecting wildly different packaging sources will
be used compared to when the commit was merged. By using submodules, we
track individual commits which means when bisecting the same packaging
sources will be used.
We use git submodules as dependabot has support for automatically making
PRs to update git submodules. This commit also includes the necessary
dependabot configuration to enable this.
We make ubuntu/debian use the same submodule instead of adding the debian
packaging sources twice by introducing a new $PKG_SUBDIR environment variable
and using it instead of $DISTRIBUTION.
|
| |
|
|
|
|
|
| |
Instead of cloning the same repository twice, let's make sure we
use the same directory for both debian/ubuntu.
|
|
|
|
| |
Follow-up for 4d0f1451b58dbd4b94da579b800adef4f4e42c34.
|
|
|
|
| |
Follow-up for 4d0f1451b58dbd4b94da579b800adef4f4e42c34.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of running meson install and hoping for the best, let's build
distribution packages from the downstream packaging specs. This gets
us the following:
- Vastly simplified mkosi scripts since we don't need a separate initrd
image anymore but can just reuse the default mkosi initrd.
- Almost everything can move to the base image as its not the basis
anymore for the initrd and as such we don't need to care about the
size anymore.
- The systemd packages that get pulled in as dependencies of other
packages get properly uninstalled and replaced with our packages that
we built instead of just installing on top of an existing systemd
installation with no guarantee that everything from that previous
installation was removed.
- Much better testing coverage as what we're testing is much closer
to what will actually be deployed in distributions.
- Immediate feedback if something we change breaks distribution packaging
- We get integration with the distribution for free as we'll automatically
use the proper directories and such instead of having to hack this
into a mkosi build script.
- ...
|
|
|
|
| |
Otherwise the output directory cannot be configured by users.
|
| |
|
|
|
|
|
|
| |
This doesn't seem to fail anymore.
This reverts commit 84c7929cd461f6f1cc2c44c69877b9fd0676c794.
|
|
|
|
|
|
| |
Let's see if this finally works.
This reverts commit e167a8283d5964ca0f903b3e362ab7e48a1ed2ab.
|
|
|
|
|
|
|
| |
The test hasn't been working for a while, since there's no /efi or /boot
in $DESTDIR.
Resolves: #31618
|
|
|
|
|
| |
We install apt and dnf in the other images as well, so lets be
consistent and install pacman in the Arch image as well.
|
|
|
|
|
|
|
| |
dnf5 does not download filelists metadata by default anymore as this
consists of a pretty big chunk of the repository metadata. Let's make
sure the filelists metadata doesn't have to be downloaded by dnf5 by
removing any usage of file provides from our package lists.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
It's now a dlopen library and it is installed at build time via
libiptc-dev, but was never added to the running image.
Follow-up for 5b5f8f8b9aef405cdc42771e7876988d5aefb51e
|
|
|
|
|
|
| |
authselect 1.5.0 removed the "minimal" profile and added the "local"
profile instead. Let's modify our post-installation script to take
these changes into account.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Both building and booting a directory image is much faster than
building or booting a disk image so let's default to a directory
image.
In CI, we stick to a disk image to make sure that keeps working as
well.
The only extra dependency this introduces is virtiofsd which is
packaged in all distributions except Debian stable. For users
hacking on systemd on Debian stable, a disk image can be built by
writing the following to mkosi.local.conf:
```
[Output]
Format=disk
```
|
|
|
|
| |
AF_UNIX/AF_VSOCK
|
|
|
|
|
|
|
| |
The mkosi github action doesn't set up the host machine for building
full images anymore. Instead, only sufficient packages are installed
to be able to build tools trees so we configure a fedora tools tree
to build the actual images.
|
|
|
|
|
| |
Otherwise we don't get the new PAM snippet for the uid0 PAM stack
installed.
|
|
|
|
| |
For debugging failing tests in combination with mkosi's --debug-shell.
|
|
|
|
|
|
|
| |
A fixed kernel finally landed on mirrors, so let's revert the C8S kernel
pin.
This reverts commit a64398b2ca1cdaee291550face0d1ce5f8ea52f6.
|
|
|
|
|
|
|
|
|
|
| |
The integration tests use /etc/rc.d/init.d if it exists
or falls back to /etc/init.d,
while the mkosi.build.chroot script dereferenced /etc/init.d.
This produces inconsistent results, as sometimes an image can be made
that has systemd built to expect /etc/init.d but /etc/rc.d/init.d
also exists.
|
|
|
|
|
|
|
|
| |
locale files are not generated on-demand in Fedora like they are in
Debian-like systems and are typically installed from package instead.
This is necessary for the locale tests,
which expect en_US.UTF-8 to be available.
|
|
|
|
|
|
|
| |
The integration tests are installed into the image
with the intention that it should be possible to run those tests,
but those tests require the named user testuser
and tar is needed for machined-import
|
|
|
|
|
| |
Newer mkosi will start installing UKIs to /boot so prepare for that
by making sure we also copy /boot into the ESP.
|
| |
|
|
|
|
|
|
|
|
| |
Now that mkosi-kernel is a thing, this logic in systemd is just mostly
bitrotting since I just use mkosi-kernel these days. If I ever need to
hack on systemd and the kernel in tandem, I'll just add support for
building systemd to mkosi-kernel instead, so let's drop the support for
building a custom kernel in systemd's mkosi configuration.
|
|
|
|
| |
Required for running integration tests
|
|
|
|
|
|
| |
Newer kernels are affected by a regression that causes a kernel panic
on boot when using cgroupv2, so pin them for now. Can be reverted once
that problem is fixed.
|
|
- Use mkosi.images/ instead of mkosi.presets/
- Use the .chroot suffix to run scripts in the image
- Use BuildSources= match for the kernel build
- Move 10-systemd.conf to mkosi.conf and rely on mkosi.local.conf
for local configuration
|