]> git.ipfire.org Git - thirdparty/mkosi.git/log
thirdparty/mkosi.git
2 years agoUse shared package cache directory by default 2333/head
Daan De Meyer [Fri, 26 Jan 2024 22:05:06 +0000 (23:05 +0100)] 
Use shared package cache directory by default

Instead of having a separate package cache for each mkosi project,
let's default to having a shared package cache directory that can
also be configured separately from the incremental cache directory.

2 years agoAdd back missing call to createrepo()
Daan De Meyer [Fri, 26 Jan 2024 22:01:36 +0000 (23:01 +0100)] 
Add back missing call to createrepo()

2 years agoDrop Gentoo support
Daan De Meyer [Fri, 26 Jan 2024 21:50:11 +0000 (22:50 +0100)] 
Drop Gentoo support

Gentoo has completely stopped working and nobody has stepped up to
maintain it. It also keeps hindering refactoring so let's remove the
gentoo support so the upcoming work is easier.

2 years agoMove user related stuff to user.py
Daan De Meyer [Fri, 26 Jan 2024 20:30:50 +0000 (21:30 +0100)] 
Move user related stuff to user.py

2 years agoRework find_grub_binary()
Daan De Meyer [Fri, 26 Jan 2024 16:24:16 +0000 (17:24 +0100)] 
Rework find_grub_binary()

Instead of replacing grub with grub2, let's simply pass the binary
name without grub into the function.

2 years agoIntroduce want_local_repo()
Daan De Meyer [Fri, 26 Jan 2024 16:21:11 +0000 (17:21 +0100)] 
Introduce want_local_repo()

2 years agoMerge pull request #2331 from DaanDeMeyer/upgrade
Daan De Meyer [Fri, 26 Jan 2024 16:18:56 +0000 (17:18 +0100)] 
Merge pull request #2331 from DaanDeMeyer/upgrade

Run distribution upgrade automatically in some scenarios

2 years agoHave mageia and openmandriva inherit from Fedora 2331/head
Daan De Meyer [Fri, 26 Jan 2024 14:41:39 +0000 (15:41 +0100)] 
Have mageia and openmandriva inherit from Fedora

These are similar enough to Fedora so let's have them inherit from
Fedora.

2 years agoRework local repository
Daan De Meyer [Fri, 26 Jan 2024 12:21:23 +0000 (13:21 +0100)] 
Rework local repository

Let's have each createrepo function return the repository to use to
access the local packages and let's call this function from the setup()
functions of each distribution.

2 years agoUse generators for all repository methods
Daan De Meyer [Fri, 26 Jan 2024 14:18:45 +0000 (15:18 +0100)] 
Use generators for all repository methods

Let's use generators and a repositories() method everywhere to make
things consistent.

2 years agoapt: Switch to deb822 format
Daan De Meyer [Fri, 26 Jan 2024 12:09:07 +0000 (13:09 +0100)] 
apt: Switch to deb822 format

2 years agopacman: Make sure we pass packages to repo-add in right order
Daan De Meyer [Fri, 26 Jan 2024 10:50:37 +0000 (11:50 +0100)] 
pacman: Make sure we pass packages to repo-add in right order

According to https://wiki.archlinux.org/title/pacman/Tips_and_tricks,
the newest version has to be added last, so let's make sure we sort
the paths we pass to repo-add.

2 years agoMake sure we remove cached default initrd entries if needed
Daan De Meyer [Fri, 26 Jan 2024 10:50:02 +0000 (11:50 +0100)] 
Make sure we remove cached default initrd entries if needed

2 years agoCreate CNAME
Daan De Meyer [Fri, 26 Jan 2024 08:42:53 +0000 (09:42 +0100)] 
Create CNAME

2 years agoDelete CNAME
Daan De Meyer [Fri, 26 Jan 2024 08:41:39 +0000 (09:41 +0100)] 
Delete CNAME

2 years agoCreate CNAME
Daan De Meyer [Fri, 26 Jan 2024 07:56:04 +0000 (08:56 +0100)] 
Create CNAME

2 years agoMerge pull request #2324 from neighbourhoodie/github-page-website
Daan De Meyer [Fri, 26 Jan 2024 07:52:53 +0000 (08:52 +0100)] 
Merge pull request #2324 from neighbourhoodie/github-page-website

Add GitHub Page website from docs

2 years agoAdd CompressLevel= setting
Daan De Meyer [Thu, 25 Jan 2024 09:35:09 +0000 (10:35 +0100)] 
Add CompressLevel= setting

Let's allow configuring the compression level.

2 years agoman: Add a note on reserved prefixes
Joerg Behrmann [Wed, 24 Jan 2024 16:08:15 +0000 (17:08 +0100)] 
man: Add a note on reserved prefixes

2 years agoMerge pull request #2326 from DaanDeMeyer/news
Jörg Behrmann [Wed, 24 Jan 2024 16:34:21 +0000 (17:34 +0100)] 
Merge pull request #2326 from DaanDeMeyer/news

Update NEWS.md

2 years agoUpdate kernel-install plugin installation instructions 2326/head
Daan De Meyer [Wed, 24 Jan 2024 16:04:35 +0000 (17:04 +0100)] 
Update kernel-install plugin installation instructions

2 years agoUpdate NEWS.md
Daan De Meyer [Wed, 24 Jan 2024 15:52:17 +0000 (16:52 +0100)] 
Update NEWS.md

2 years agoWebsite: Rename Categories and change order 2324/head
hulkoba [Wed, 24 Jan 2024 13:25:10 +0000 (14:25 +0100)] 
Website: Rename Categories and change order

2 years agoUpdate link to mkosi introduction blog post
Daan De Meyer [Wed, 24 Jan 2024 12:21:27 +0000 (13:21 +0100)] 
Update link to mkosi introduction blog post

Let's stop linking the old blog from 2017 and link the newer one
that was just published instead. The old one isn't really useful
as it uses tons of features that have been removed since.

2 years agoMerge pull request #2310 from behrmann/hostonlyucode
Daan De Meyer [Wed, 24 Jan 2024 12:15:55 +0000 (13:15 +0100)] 
Merge pull request #2310 from behrmann/hostonlyucode

Add MicrocodeHost= option

2 years agoAdd GitHub Page website from docs
hulkoba [Wed, 24 Jan 2024 11:51:03 +0000 (12:51 +0100)] 
Add GitHub Page website from docs

2 years agoMerge pull request #2323 from DaanDeMeyer/tmp
Daan De Meyer [Wed, 24 Jan 2024 10:56:24 +0000 (11:56 +0100)] 
Merge pull request #2323 from DaanDeMeyer/tmp

Use a subdirectory of TMPDIR as the sandbox's /var/tmp

2 years agokernel-install: Use CPU detection to find host-specific microcode 2310/head
Joerg Behrmann [Tue, 23 Jan 2024 15:48:44 +0000 (16:48 +0100)] 
kernel-install: Use CPU detection to find host-specific microcode

2 years agoAdd MicrocodeHost option
Joerg Behrmann [Fri, 19 Jan 2024 16:09:11 +0000 (17:09 +0100)] 
Add MicrocodeHost option

2 years agoOnly build microcode when on x86_64
Joerg Behrmann [Tue, 23 Jan 2024 15:36:12 +0000 (16:36 +0100)] 
Only build microcode when on x86_64

2 years agoUse a subdirectory of TMPDIR as the sandbox's /var/tmp 2323/head
Daan De Meyer [Wed, 24 Jan 2024 09:00:38 +0000 (10:00 +0100)] 
Use a subdirectory of TMPDIR as the sandbox's /var/tmp

Let's take TMPDIR into account instead of always using /var/tmp. We
also make sure we override TMPDIR to /var/tmp in the sandbox.

2 years agoMerge pull request #2322 from DaanDeMeyer/useradd
Daan De Meyer [Wed, 24 Jan 2024 09:06:24 +0000 (10:06 +0100)] 
Merge pull request #2322 from DaanDeMeyer/useradd

Add FAQ entry on how to add regular users to image

2 years agoAdd FAQ entry on how to add regular users to image 2322/head
Daan De Meyer [Wed, 24 Jan 2024 07:52:55 +0000 (08:52 +0100)] 
Add FAQ entry on how to add regular users to image

Fixes #2320

2 years agoFix FAQ indentation
Daan De Meyer [Wed, 24 Jan 2024 09:05:47 +0000 (10:05 +0100)] 
Fix FAQ indentation

2 years agoUse a subdirectory of the workspace as TMPDIR
Daan De Meyer [Wed, 24 Jan 2024 08:58:26 +0000 (09:58 +0100)] 
Use a subdirectory of the workspace as TMPDIR

Let's properly distinguish temporary files from workspace files by
putting the temporary files in a subdirectory of the workspace.

2 years agoUse compression extension
Renjaya Raga Zenta [Wed, 24 Jan 2024 07:05:45 +0000 (14:05 +0700)] 
Use compression extension

When `SplitArtifacts=yes` and `CompressOutput=zstd`, the file extensions should be `.zst` instead of `.zstd`.

Follow up for: 9f9426ac70bbefffa657ce4d92022231b524b870

2 years agoFix MinimumVersion= check
Daan De Meyer [Tue, 23 Jan 2024 22:49:16 +0000 (23:49 +0100)] 
Fix MinimumVersion= check

2 years agoAdd markdown contents for "A re-introduction to mkosi" blog post
Daan De Meyer [Wed, 10 Jan 2024 10:15:07 +0000 (11:15 +0100)] 
Add markdown contents for "A re-introduction to mkosi" blog post

Let's keep this in the repo so it can be reviewed and so we can update
it later if needed.

2 years agoman: `--debug-shell=` -> `--debug-shell`
Winterhuman [Tue, 23 Jan 2024 12:51:55 +0000 (12:51 +0000)] 
man: `--debug-shell=` -> `--debug-shell`

`--debug-shell` refuses to take an argument, so the equal sign is misleading (aka. `--debug-shell=yes` errors out), so let's remove it from the `man` page.

2 years agoMerge pull request #2316 from DaanDeMeyer/ssh
Daan De Meyer [Tue, 23 Jan 2024 12:32:40 +0000 (13:32 +0100)] 
Merge pull request #2316 from DaanDeMeyer/ssh

Don't use a tools tree for verbs that don't need a build

2 years agoOnly use tools trees for verbs that need a build 2316/head
Daan De Meyer [Mon, 22 Jan 2024 19:51:00 +0000 (20:51 +0100)] 
Only use tools trees for verbs that need a build

Currently we try to use a tools tree that isn't there for verbs
that don't need a build. Let's instead opt to not use one altogether
since building an entire image just to run ssh is kind of overkill.

2 years agoDon't require a build for journalctl and coredumctl
Daan De Meyer [Mon, 22 Jan 2024 19:50:28 +0000 (20:50 +0100)] 
Don't require a build for journalctl and coredumctl

These only make sense after we've booted the image, so requiring a
build is kind of backwards.

2 years agoMerge pull request #2313 from DaanDeMeyer/resources
Daan De Meyer [Tue, 23 Jan 2024 10:49:45 +0000 (11:49 +0100)] 
Merge pull request #2313 from DaanDeMeyer/resources

Allow including builtin configs

2 years agoMerge pull request #2317 from keszybz/pythonesque-tweaks
Daan De Meyer [Tue, 23 Jan 2024 10:25:44 +0000 (11:25 +0100)] 
Merge pull request #2317 from keszybz/pythonesque-tweaks

Minor cleanups to code

2 years agokernel-install: Use builtin mkosi-initrd configuration 2313/head
Daan De Meyer [Mon, 22 Jan 2024 14:21:01 +0000 (15:21 +0100)] 
kernel-install: Use builtin mkosi-initrd configuration

2 years agoAllow including builtin configs
Daan De Meyer [Mon, 22 Jan 2024 14:17:01 +0000 (15:17 +0100)] 
Allow including builtin configs

Let's make it possible to include builtin configurations using
e.g. Include=mkosi-initrd. This allows building the default initrd
or default tools tree independently whereas currently these can only
be built as part of another image.

2 years agoRename inner parse_config() to parse_config_one()
Daan De Meyer [Mon, 22 Jan 2024 13:58:41 +0000 (14:58 +0100)] 
Rename inner parse_config() to parse_config_one()

Let's not use the same function name for the inner and outer function.

2 years agoExtract mkosi.resources once
Daan De Meyer [Mon, 22 Jan 2024 13:23:16 +0000 (14:23 +0100)] 
Extract mkosi.resources once

Instead of extracting individual files and directories when we need
them, let's extract the resources once and pass the extracted path
around so that we don't have to deal with context managers every time
we want to use resources.

2 years agoExtract full resources instead of specific paths
Daan De Meyer [Mon, 22 Jan 2024 12:57:35 +0000 (13:57 +0100)] 
Extract full resources instead of specific paths

2 years agoDrop unnecessary parentheses around conditionals 2317/head
Zbigniew Jędrzejewski-Szmek [Tue, 23 Jan 2024 09:39:48 +0000 (10:39 +0100)] 
Drop unnecessary parentheses around conditionals

2 years agoDrop unneeded inner function
Zbigniew Jędrzejewski-Szmek [Mon, 22 Jan 2024 09:45:32 +0000 (10:45 +0100)] 
Drop unneeded inner function

The result should be exactly the same.

One of the loops was using inverted logic (continue-if-not-else-yield instead
of yield-if), so invert that for consistency.

2 years agosandbox: Deal correctly with unmerged-usr
Daan De Meyer [Mon, 22 Jan 2024 15:05:07 +0000 (16:05 +0100)] 
sandbox: Deal correctly with unmerged-usr

If /bin and such are directories instead of symlinks, bind mount
them in to the sandbox.

Fixes #2314

2 years agoRelease 20.2 v20.2
Luca Boccassi [Mon, 22 Jan 2024 12:17:22 +0000 (12:17 +0000)] 
Release 20.2

2 years agoUpdate NEWS
Daan De Meyer [Mon, 22 Jan 2024 11:43:41 +0000 (12:43 +0100)] 
Update NEWS

2 years agoUse an r-string for regexp
Zbigniew Jędrzejewski-Szmek [Mon, 22 Jan 2024 09:41:41 +0000 (10:41 +0100)] 
Use an r-string for regexp

I think we should do so everywhere to avoid double escaping,
even if here the string is the same length in both cases.

2 years agoImplement RepositoryKeyCheck= for apt
Daan De Meyer [Fri, 19 Jan 2024 11:21:47 +0000 (12:21 +0100)] 
Implement RepositoryKeyCheck= for apt

2 years agoUpdate NEWS
Daan De Meyer [Fri, 19 Jan 2024 08:39:51 +0000 (09:39 +0100)] 
Update NEWS

2 years agoHandle builds that run from directories with less than two parent dirs
Daan De Meyer [Thu, 18 Jan 2024 19:40:20 +0000 (20:40 +0100)] 
Handle builds that run from directories with less than two parent dirs

Fixes #2302

2 years agoMerge pull request #2301 from DaanDeMeyer/depmod
Jörg Behrmann [Thu, 18 Jan 2024 11:17:29 +0000 (12:17 +0100)] 
Merge pull request #2301 from DaanDeMeyer/depmod

Improve check for whether we have to rerun depmod

2 years agoDon't mount /srv and /mnt read-only
Daan De Meyer [Thu, 18 Jan 2024 08:56:45 +0000 (09:56 +0100)] 
Don't mount /srv and /mnt read-only

It seems there are use cases where users expect to write their output
to a directory in /srv or /mnt so let's make that writable. This should
be safe as we set up a custom sandbox now so none of the tools we run
will have access to /srv and /mnt in the first place.

2 years agoImprove check for whether we have to rerun depmod 2301/head
Daan De Meyer [Thu, 18 Jan 2024 09:26:10 +0000 (10:26 +0100)] 
Improve check for whether we have to rerun depmod

Let's check if any extra modules were dropped in by users and rerun
depmod in that case.

2 years agoDon't preserve timestamps when copying skeleton/extra trees
Daan De Meyer [Thu, 18 Jan 2024 09:24:45 +0000 (10:24 +0100)] 
Don't preserve timestamps when copying skeleton/extra trees

If timestamps should be preserved, a tar archive should be used.
Timestamps in directories are very likely to be arbitrary and there's
no point in preserving them. This doesn't impact reproducible builds
as we have SourceDateEpoch= for that.

2 years agoMerge pull request #2298 from DaanDeMeyer/env
Daan De Meyer [Wed, 17 Jan 2024 21:40:32 +0000 (22:40 +0100)] 
Merge pull request #2298 from DaanDeMeyer/env

Introduce config_make_dict_parser()

2 years agoFix summary indentation 2298/head
Daan De Meyer [Wed, 17 Jan 2024 14:34:12 +0000 (15:34 +0100)] 
Fix summary indentation

2 years agoIntroduce config_make_dict_parser()
Daan De Meyer [Wed, 17 Jan 2024 14:05:20 +0000 (15:05 +0100)] 
Introduce config_make_dict_parser()

2 years agoFix --mirror for Fedora (again)
Daan De Meyer [Wed, 17 Jan 2024 13:03:15 +0000 (14:03 +0100)] 
Fix --mirror for Fedora (again)

2 years agoMerge pull request #2296 from DaanDeMeyer/passwd
Daan De Meyer [Wed, 17 Jan 2024 11:28:46 +0000 (12:28 +0100)] 
Merge pull request #2296 from DaanDeMeyer/passwd

Hash root password when a plaintext one is given

2 years agoStop using --best when not necessary 2296/head
Daan De Meyer [Wed, 17 Jan 2024 10:27:20 +0000 (11:27 +0100)] 
Stop using --best when not necessary

2 years agoRemove unnecessary quotes
Daan De Meyer [Wed, 17 Jan 2024 10:26:11 +0000 (11:26 +0100)] 
Remove unnecessary quotes

2 years agoFix SRPM path in rpm scripts
Daan De Meyer [Wed, 17 Jan 2024 10:18:52 +0000 (11:18 +0100)] 
Fix SRPM path in rpm scripts

2 years agoHash root password when a plaintext one is given
Daan De Meyer [Wed, 17 Jan 2024 10:18:39 +0000 (11:18 +0100)] 
Hash root password when a plaintext one is given

2 years agoRevert "Don't include root password in /usr/lib/credstore"
Daan De Meyer [Wed, 17 Jan 2024 09:34:08 +0000 (10:34 +0100)] 
Revert "Don't include root password in /usr/lib/credstore"

If /etc/shadow is included in the image this is just as safe/unsafe
as including the hashed root password in /usr/lib/credstore. We'll
deal with including the plaintext root password in the next commit.

This reverts commit 1e054b4f3d75552b23299d20079f5f6ee3b7853a.

2 years agoMerge pull request #2294 from DaanDeMeyer/topdir
Jörg Behrmann [Wed, 17 Jan 2024 09:27:22 +0000 (10:27 +0100)] 
Merge pull request #2294 from DaanDeMeyer/topdir

Always set rpm _topdir to /var/tmp

2 years agoMerge pull request #2295 from DaanDeMeyer/news
Jörg Behrmann [Wed, 17 Jan 2024 09:23:57 +0000 (10:23 +0100)] 
Merge pull request #2295 from DaanDeMeyer/news

Update NEWS

2 years agoAdd link to constellation mkosi blog post 2295/head
Daan De Meyer [Tue, 16 Jan 2024 22:39:09 +0000 (23:39 +0100)] 
Add link to constellation mkosi blog post

2 years agoAdd link to "Building USIs with mkosi" blog post
Daan De Meyer [Tue, 16 Jan 2024 22:32:26 +0000 (23:32 +0100)] 
Add link to "Building USIs with mkosi" blog post

2 years agoUpdate NEWS
Daan De Meyer [Tue, 16 Jan 2024 21:26:00 +0000 (22:26 +0100)] 
Update NEWS

2 years agoClarify that --build-in-place sets _builddir to the CWD 2294/head
Daan De Meyer [Tue, 16 Jan 2024 20:28:41 +0000 (21:28 +0100)] 
Clarify that --build-in-place sets _builddir to the CWD

This isn't exactly obvious, so let's mention that --build-in-place
configures _builddir to the current working directory which explains
why we need to change directory to the upstream sources before
invoking rpmbuild.

2 years agoAlways set rpm _topdir to /var/tmp
Daan De Meyer [Tue, 16 Jan 2024 20:20:38 +0000 (21:20 +0100)] 
Always set rpm _topdir to /var/tmp

_topdir is rpm's working directory. Set it /var/tmp so we don't pollute
the image or source directories we're building from with rpmbuild
artifacts.

2 years agoUse $PACKAGEDIR when building mkosi rpm
Daan De Meyer [Tue, 16 Jan 2024 15:57:47 +0000 (16:57 +0100)] 
Use $PACKAGEDIR when building mkosi rpm

2 years agoCache depmod again
Daan De Meyer [Tue, 16 Jan 2024 15:39:05 +0000 (16:39 +0100)] 
Cache depmod again

Let's run depmod before we cache our images so that we can skip it
when doing incremental builds for kernels installed with the package
manager. depmod is noticeably slow so this speeds up kernel builds a
bit.

2 years agoFix shim signing bug
Daan De Meyer [Tue, 16 Jan 2024 13:37:51 +0000 (14:37 +0100)] 
Fix shim signing bug

sign_efi_binary() expects the full output path.

2 years agoMerge pull request #2291 from DaanDeMeyer/stuff
Jörg Behrmann [Tue, 16 Jan 2024 14:57:23 +0000 (15:57 +0100)] 
Merge pull request #2291 from DaanDeMeyer/stuff

kernel-install: Build microcode initrd

2 years agokernel-install: Build microcode initrd 2291/head
Daan De Meyer [Tue, 16 Jan 2024 13:49:20 +0000 (14:49 +0100)] 
kernel-install: Build microcode initrd

Let's make sure we build a microcode initrd as well in the
kernel-install plugin. It's a bit too complicated to reuse
the build_microcode_initrd() function we have already due to
sandboxing so we opt to duplicate it instead.

2 years agoMake archive.py independent of Context
Daan De Meyer [Tue, 16 Jan 2024 13:21:52 +0000 (14:21 +0100)] 
Make archive.py independent of Context

Let's make these functions slightly more generic by passing in a
tools directory and a sandbox instead of the full Context object.

2 years agoMake sure we open Packages output location in binary mode
Daan De Meyer [Tue, 16 Jan 2024 13:59:40 +0000 (14:59 +0100)] 
Make sure we open Packages output location in binary mode

2 years agoUse stdin/stdout for cpio/tar
Daan De Meyer [Tue, 16 Jan 2024 12:54:30 +0000 (13:54 +0100)] 
Use stdin/stdout for cpio/tar

Let's reduce the amount of stuff we have to mount in the sandbox
by making use of stdin/stdout when invoking cpio/tar.

2 years agoMerge pull request #2289 from DaanDeMeyer/news
Daan De Meyer [Tue, 16 Jan 2024 12:31:01 +0000 (13:31 +0100)] 
Merge pull request #2289 from DaanDeMeyer/news

Update NEWS

2 years agoDon't include root password in /usr/lib/credstore 2289/head
Daan De Meyer [Tue, 16 Jan 2024 12:04:58 +0000 (13:04 +0100)] 
Don't include root password in /usr/lib/credstore

2 years agoUpdate NEWS
Daan De Meyer [Tue, 16 Jan 2024 12:01:37 +0000 (13:01 +0100)] 
Update NEWS

2 years agoMerge pull request #2287 from DaanDeMeyer/stuff
Daan De Meyer [Tue, 16 Jan 2024 12:00:50 +0000 (13:00 +0100)] 
Merge pull request #2287 from DaanDeMeyer/stuff

Package manager improvements

2 years agoAdd PackageDirectories= 2287/head
Daan De Meyer [Mon, 15 Jan 2024 21:24:08 +0000 (22:24 +0100)] 
Add PackageDirectories=

Let's make it possible to serve local packages as a local repository
so that users don't have to put local paths in their Packages= setting.
We'll also allow adding more packages to this local repository in the
build script so that these can be installed in the initrd when we build
it or in a postinst or finalize script.

2 years agoMount package manager caches to their canonical locations
Daan De Meyer [Mon, 15 Jan 2024 20:57:35 +0000 (21:57 +0100)] 
Mount package manager caches to their canonical locations

Let's reduce the amount of configuration by mounting package
manager caches to their canonical locations.

2 years agoReplace flatten() with format string
Daan De Meyer [Mon, 15 Jan 2024 20:31:34 +0000 (21:31 +0100)] 
Replace flatten() with format string

2 years agoUse context.pkgmngr in one more place
Daan De Meyer [Mon, 15 Jan 2024 20:30:58 +0000 (21:30 +0100)] 
Use context.pkgmngr in one more place

2 years agoMount package manager cache directories when running scripts
Daan De Meyer [Mon, 15 Jan 2024 20:29:10 +0000 (21:29 +0100)] 
Mount package manager cache directories when running scripts

When running package managers in host scripts we want the cache
to be available as well;

2 years agoPut --mirror in cache manifest
Daan De Meyer [Mon, 15 Jan 2024 20:04:55 +0000 (21:04 +0100)] 
Put --mirror in cache manifest

2 years agoFix --mirror for CentOS and Fedora
Daan De Meyer [Mon, 15 Jan 2024 19:59:03 +0000 (20:59 +0100)] 
Fix --mirror for CentOS and Fedora

Let's unify the interface for --mirror and only require users to
specify a url and add the entire path ourselves in mkosi. This is
required to use EPEL repositories with --mirror= as the epel
repositories are mirrored under <url>/fedora/epel whereas the CentOS
Stream repositories are under <url>/centos-stream

2 years agoci: Enable Arch Linux tools tree CI again
Daan De Meyer [Tue, 16 Jan 2024 09:33:54 +0000 (10:33 +0100)] 
ci: Enable Arch Linux tools tree CI again

The required qemu fix was backported to the qemu package.

2 years agoGenerate more strict regexes from loaded modules
Daan De Meyer [Tue, 16 Jan 2024 10:11:54 +0000 (11:11 +0100)] 
Generate more strict regexes from loaded modules

Let's only match actual modules ending in .ko.