summaryrefslogtreecommitdiffstats
path: root/mkosi.images (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Install pacman in Arch Linux imageDaan De Meyer2024-02-091-0/+1
| | | | | We install apt and dnf in the other images as well, so lets be consistent and install pacman in the Arch image as well.
* mkosi: Stop using file provides with CentOS/FedoraDaan De Meyer2024-01-311-1/+1
| | | | | | | 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.
* mkosi: Use --auto-features=enabled for mesonDaan De Meyer2024-01-264-58/+19
|
* mkosi: Fix formatting in build scriptDaan De Meyer2024-01-251-20/+20
|
* dissect: add --make-archive option to convert DDI to tarballLennart Poettering2024-01-255-0/+8
|
* mkosi: install libip4tc2 in debian/ubuntuLuca Boccassi2024-01-241-0/+1
| | | | | | | 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
* mkosi: Use authselect local profile if it existsDaan De Meyer2024-01-221-2/+10
| | | | | | 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.
* mkosi: Build a directory image by defaultDaan De Meyer2024-01-121-0/+3
| | | | | | | | | | | | | | | | | | | 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 ```
* mkosi: also add ssh client, to make it easier to test ssh logins via ↵Lennart Poettering2024-01-113-0/+3
| | | | AF_UNIX/AF_VSOCK
* mkosi: Update to latestDaan De Meyer2024-01-091-0/+3
| | | | | | | 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.
* mkosi: don't turn off installation of our PAM snippetsLennart Poettering2023-12-211-1/+1
| | | | | Otherwise we don't get the new PAM snippet for the uid0 PAM stack installed.
* mkosi: Add strace and gdb to base image build packagesDaan De Meyer2023-12-191-2/+4
| | | | For debugging failing tests in combination with mkosi's --debug-shell.
* Revert "mkosi: pin CentOS8 kernel to working version"Frantisek Sumsal2023-12-195-19/+5
| | | | | | | A fixed kernel finally landed on mirrors, so let's revert the C8S kernel pin. This reverts commit a64398b2ca1cdaee291550face0d1ce5f8ea52f6.
* mkosi: make sysvinit path inference consistentRichard Maw2023-12-141-1/+1
| | | | | | | | | | 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.
* mkosi: Install locales in fedoraRichard Maw2023-12-141-0/+1
| | | | | | | | 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.
* mkosi: Add testuser and tar to system imageRichard Maw2023-12-132-0/+10
| | | | | | | 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
* mkosi: Copy /boot into the ESP as wellDaan De Meyer2023-12-101-0/+1
| | | | | Newer mkosi will start installing UKIs to /boot so prepare for that by making sure we also copy /boot into the ESP.
* mkosi: Update comment why we can't use linux-kvm yetDaan De Meyer2023-12-041-2/+1
|
* mkosi: Drop building custom kernel logicDaan De Meyer2023-11-2913-335/+0
| | | | | | | | 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.
* mkosi: Install integritysetup on CentOS/FedoraDaan De Meyer2023-11-291-0/+1
| | | | Required for running integration tests
* mkosi: pin CentOS8 kernel to working versionDaan De Meyer2023-11-285-5/+19
| | | | | | 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.
* Update to mkosi v19Daan De Meyer2023-11-2857-0/+1416
- 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