]> git.ipfire.org Git - thirdparty/mkosi.git/log
thirdparty/mkosi.git
16 months agoOnly do path logic in config_parse_dict() if value is not empty 2620/head
Daan De Meyer [Wed, 10 Apr 2024 18:56:16 +0000 (20:56 +0200)] 
Only do path logic in config_parse_dict() if value is not empty

16 months agoFix credential file parsing falling through to empty values
Richard Maw [Wed, 10 Apr 2024 14:07:40 +0000 (15:07 +0100)] 
Fix credential file parsing falling through to empty values

16 months agoOnly parse arguments again if append was specified
Daan De Meyer [Wed, 10 Apr 2024 18:51:06 +0000 (20:51 +0200)] 
Only parse arguments again if append was specified

Otherwise we won't parse any arguments anyway.

16 months agoReset append ns field value when parsing arguments again
Daan De Meyer [Wed, 10 Apr 2024 18:50:25 +0000 (20:50 +0200)] 
Reset append ns field value when parsing arguments again

16 months agoMake sure we don't chdir() again when parsing arguments again
Daan De Meyer [Wed, 10 Apr 2024 18:46:39 +0000 (20:46 +0200)] 
Make sure we don't chdir() again when parsing arguments again

When we parse arguments again for --append, let's make sure we don't
chdir() again as this breaks when using relative paths for --directory

16 months agodocs: Clarify RuntimeSize=
Daan De Meyer [Wed, 10 Apr 2024 12:07:35 +0000 (14:07 +0200)] 
docs: Clarify RuntimeSize=

16 months agoAllow setting QemuSmp=0 to use all available CPUs
Daan De Meyer [Mon, 8 Apr 2024 20:32:06 +0000 (22:32 +0200)] 
Allow setting QemuSmp=0 to use all available CPUs

16 months agoIntroduce CACHE_UID/CACHE_GID for use in the cache manifest
Daan De Meyer [Tue, 9 Apr 2024 15:40:00 +0000 (17:40 +0200)] 
Introduce CACHE_UID/CACHE_GID for use in the cache manifest

The INVOKING_USER uid and gid are potentially modified in become_root(),
causing cache mismatches depending on whether have_cache() is called
inside or outside of the user namespace.

Let's instead introduce two new constants resolved at module load time
which won't change.

16 months agoMake sure we make all kinds of scripts executable
Daan De Meyer [Tue, 9 Apr 2024 14:29:04 +0000 (16:29 +0200)] 
Make sure we make all kinds of scripts executable

16 months agoDrop unnecessary make_executable() calls
Daan De Meyer [Tue, 9 Apr 2024 14:20:34 +0000 (16:20 +0200)] 
Drop unnecessary make_executable() calls

Use the builtin constants for --include= to include the default initrd
and tools tree so that parse_config() makes the scripts executable for
us instead of having to do it ourselves.

16 months agoMake sure /var/lib/dpkg/available exists when setting up apt
Daan De Meyer [Tue, 9 Apr 2024 10:43:21 +0000 (12:43 +0200)] 
Make sure /var/lib/dpkg/available exists when setting up apt

Fixes #2610

16 months agoStore invoking user uid/gid in cache manifest
Daan De Meyer [Mon, 8 Apr 2024 16:32:53 +0000 (18:32 +0200)] 
Store invoking user uid/gid in cache manifest

Much simpler than the complicated logic we have now.

16 months agoLog when we can't rename in move_tree()
Daan De Meyer [Mon, 8 Apr 2024 16:00:35 +0000 (18:00 +0200)] 
Log when we can't rename in move_tree()

Can help explain why mkosi is slower than it should be.

16 months agoopensuse: Don't install distribution-release by default
Daan De Meyer [Mon, 8 Apr 2024 11:40:35 +0000 (13:40 +0200)] 
opensuse: Don't install distribution-release by default

distribution-release is a virtual package that is satisfied by
multiple packages. By installing it by default in the first transaction
we can't override it anymore later. Let's fix the issue by not explicitly
installing distribution-release.

To make sure openSUSE-release is pulled in by default to satisfy
distribution-release, we install patterns-base-minimal_base which has
a Suggests dependency on openSUSE-release.

16 months agoFix --debug-shell
Daan De Meyer [Mon, 8 Apr 2024 11:22:05 +0000 (13:22 +0200)] 
Fix --debug-shell

16 months agoIntroduce --append argument
Daan De Meyer [Fri, 5 Apr 2024 19:01:56 +0000 (21:01 +0200)] 
Introduce --append argument

In systemd, we want to have a default set of kernel command line
arguments and override a few of them via the command line. Introduce
--append so that we can specify settings via the command line that
are parsed after all configuration have files have been parsed to
make this possible.

16 months agoMerge pull request #2601 from DaanDeMeyer/stuff
Daan De Meyer [Mon, 8 Apr 2024 09:57:51 +0000 (11:57 +0200)] 
Merge pull request #2601 from DaanDeMeyer/stuff

Various improvements

16 months agoAdd RuntimeBuildSources= setting 2601/head
Daan De Meyer [Sun, 7 Apr 2024 17:23:02 +0000 (19:23 +0200)] 
Add RuntimeBuildSources= setting

This setting mounts the build sources and build directory into a
booted container/virtual machine in the same location that they were
mounted to do the build.

This helps both with making gdb more useful in the container as the
sources will be available for use by gdb without having to do any
source directory mapping. It also helps with doing incremental builds
inside the container.

16 months agogithub: add missing label in bug report template
Jörg Behrmann [Mon, 8 Apr 2024 08:08:00 +0000 (10:08 +0200)] 
github: add missing label in bug report template

16 months agoMount RuntimeTrees= directory without target to /root/src
Daan De Meyer [Sun, 7 Apr 2024 13:58:33 +0000 (15:58 +0200)] 
Mount RuntimeTrees= directory without target to /root/src

Let's use the same behavior for RuntimeTrees= as we use with
BuildSources=.

16 months agoMake sure the build directory is owner by root (in the userns)
Daan De Meyer [Sun, 7 Apr 2024 13:56:21 +0000 (15:56 +0200)] 
Make sure the build directory is owner by root (in the userns)

The build directory will (unless mkosi-as-caller is used) contain
files owned by root (in the userns). To make sure the correct uidmap
is used when using this directory in RuntimeTrees=, let's make sure
the directory is owned by root (in the userns).

16 months agoRemove uidmap argument from start_virtiofsd()
Daan De Meyer [Sun, 7 Apr 2024 13:55:26 +0000 (15:55 +0200)] 
Remove uidmap argument from start_virtiofsd()

Instead, automatically infer whether it's required or not based on
the owner of the directory we're passing in.

Also make whether we do selinux or not an explicit argument, and do
the same for the name used for the virtiofsd scope.

16 months agoReplace git script with environment variables
Daan De Meyer [Sun, 7 Apr 2024 13:54:07 +0000 (15:54 +0200)] 
Replace git script with environment variables

git allows setting config values via environment variables, let's
use that instead of our git script.

16 months agoRemove unnecessary colons from docs
Daan De Meyer [Sun, 7 Apr 2024 18:23:12 +0000 (20:23 +0200)] 
Remove unnecessary colons from docs

16 months agogithub: add issue template
Jörg Behrmann [Sat, 6 Apr 2024 18:27:28 +0000 (20:27 +0200)] 
github: add issue template

16 months agoMerge pull request #2351 from septatrix/feature/oci-output-format
Daan De Meyer [Fri, 5 Apr 2024 13:28:39 +0000 (15:28 +0200)] 
Merge pull request #2351 from septatrix/feature/oci-output-format

Add support for oci-dir output (fixes #1865)

16 months agoImplement creation of OCI images 2351/head
Septatrix [Wed, 27 Mar 2024 19:44:55 +0000 (20:44 +0100)] 
Implement creation of OCI images

16 months agoMount image root directory to /buildroot when running modinfo
Daan De Meyer [Fri, 5 Apr 2024 08:07:16 +0000 (10:07 +0200)] 
Mount image root directory to /buildroot when running modinfo

16 months agoMerge pull request #2593 from DaanDeMeyer/tools
Daan De Meyer [Fri, 5 Apr 2024 08:12:29 +0000 (10:12 +0200)] 
Merge pull request #2593 from DaanDeMeyer/tools

Check in spawn() whether the command we're trying to run is available

16 months agoTranslate paths to SELinux policy files to /buildroot
Joakim Nohlgård [Fri, 5 Apr 2024 07:07:26 +0000 (07:07 +0000)] 
Translate paths to SELinux policy files to /buildroot

The setfiles call was broken by 62cee058cb116684294831c4cab20924dde93e45
because the binary policy and file context files were still using the
host path in the run arguments.

Fixes the error `Error opening
/home/user/.cache/mkosi/mkosi-workspaceb5nodee6/root/etc/selinux/targeted/policy/policy.33:
No such file or directory`

16 months agoCheck in spawn() whether the command we're trying to run is available 2593/head
Daan De Meyer [Thu, 4 Apr 2024 18:29:15 +0000 (20:29 +0200)] 
Check in spawn() whether the command we're trying to run is available

Currently, if we try to run a command within a sandbox, we fail with
an unclear error if the program is not installed. This is because our
FileNotFoundError exception handler is never triggered as the program
we run via subprocess is almost always "sh" or "bwrap". Let's make sure
we also check for the actual program we're going to run in the sandbox
and show a clear error if it's not available.

16 months agoMove gpg set-priv setup command to sandbox
Daan De Meyer [Thu, 4 Apr 2024 18:28:58 +0000 (20:28 +0200)] 
Move gpg set-priv setup command to sandbox

16 months agoMove grub-bios-setup shell setup command to sandbox
Daan De Meyer [Thu, 4 Apr 2024 18:28:34 +0000 (20:28 +0200)] 
Move grub-bios-setup shell setup command to sandbox

16 months agoPass environment the usual way when we're invoking the package manager
Daan De Meyer [Thu, 4 Apr 2024 18:22:24 +0000 (20:22 +0200)] 
Pass environment the usual way when we're invoking the package manager

Let's only use "env" in the package manager scripts we make available
when running user scripts. If we're invoking the package manager ourselves,
pass the environment in the usual way.

16 months agoAdd check for depmod
Daan De Meyer [Thu, 4 Apr 2024 18:10:24 +0000 (20:10 +0200)] 
Add check for depmod

Fixes #2584

16 months agoMake sure we always sort when iterating over config files in a dir
Daan De Meyer [Thu, 4 Apr 2024 11:35:10 +0000 (13:35 +0200)] 
Make sure we always sort when iterating over config files in a dir

16 months agoAdd missing sandbox
Daan De Meyer [Thu, 4 Apr 2024 10:06:15 +0000 (12:06 +0200)] 
Add missing sandbox

16 months agoMerge pull request #2590 from DaanDeMeyer/fix
Daan De Meyer [Thu, 4 Apr 2024 09:59:11 +0000 (11:59 +0200)] 
Merge pull request #2590 from DaanDeMeyer/fix

Implement run() on top of spawn()

16 months agoImplement run() on top of spawn() 2590/head
Daan De Meyer [Thu, 4 Apr 2024 09:02:52 +0000 (11:02 +0200)] 
Implement run() on top of spawn()

16 months agoDeduplicate paths in rmtree()
Daan De Meyer [Thu, 4 Apr 2024 09:02:58 +0000 (11:02 +0200)] 
Deduplicate paths in rmtree()

16 months agoDefault to /dev/null for stdin in spawn() as well
Daan De Meyer [Thu, 4 Apr 2024 09:09:26 +0000 (11:09 +0200)] 
Default to /dev/null for stdin in spawn() as well

16 months agoDrop extra_groups argument from run()
Daan De Meyer [Thu, 4 Apr 2024 08:51:11 +0000 (10:51 +0200)] 
Drop extra_groups argument from run()

16 months agoDrop CalledProcessError handling from spawn()
Daan De Meyer [Thu, 4 Apr 2024 08:49:03 +0000 (10:49 +0200)] 
Drop CalledProcessError handling from spawn()

This exception is never raised by subprocess.Popen().

16 months agoAdd missing raise in spawn()
Daan De Meyer [Thu, 4 Apr 2024 08:48:39 +0000 (10:48 +0200)] 
Add missing raise in spawn()

16 months agoAdd missing cwd argument to spawn()
Daan De Meyer [Thu, 4 Apr 2024 08:47:25 +0000 (10:47 +0200)] 
Add missing cwd argument to spawn()

16 months agodebian/ubuntu: Always install base-files
Daan De Meyer [Wed, 3 Apr 2024 19:50:33 +0000 (21:50 +0200)] 
debian/ubuntu: Always install base-files

In some setups, there might not be any essential packages, so make
sure we always install base-files so that the base directory layout
is always populated.

Fixes #2585

16 months agoPick up SYSTEMD_LOG_LOCATION from environment as well
Daan De Meyer [Wed, 3 Apr 2024 18:29:40 +0000 (20:29 +0200)] 
Pick up SYSTEMD_LOG_LOCATION from environment as well

Helps with debugging errors in systemd sometimes.

16 months agoTrim default image package lists
Daan De Meyer [Wed, 3 Apr 2024 18:06:49 +0000 (20:06 +0200)] 
Trim default image package lists

Let's remove build tools and Fedora/CentOS packaging tools as these
aren't getting used and pull in the kitchen sink.

16 months agoInstall git-core where possible
Daan De Meyer [Wed, 3 Apr 2024 17:31:15 +0000 (19:31 +0200)] 
Install git-core where possible

Let's not pull in hundreds of perl modules if we can avoid it.

16 months agoAdd specifiers for various paths
Daan De Meyer [Wed, 3 Apr 2024 10:21:55 +0000 (12:21 +0200)] 
Add specifiers for various paths

Fixes #2579

16 months agoMerge pull request #2580 from DaanDeMeyer/config
Daan De Meyer [Wed, 3 Apr 2024 09:39:52 +0000 (11:39 +0200)] 
Merge pull request #2580 from DaanDeMeyer/config

Make sure multiple image definitions can parse the same include

16 months agoExtend bootable docs a little
Daan De Meyer [Wed, 3 Apr 2024 09:21:14 +0000 (11:21 +0200)] 
Extend bootable docs a little

Fixes #2581

16 months agoMake sure multiple image definitions can parse the same include 2580/head
Daan De Meyer [Wed, 3 Apr 2024 08:24:05 +0000 (10:24 +0200)] 
Make sure multiple image definitions can parse the same include

16 months agoSimplify config parsing
Daan De Meyer [Wed, 3 Apr 2024 08:22:46 +0000 (10:22 +0200)] 
Simplify config parsing

Instead of passing namespace and defaults everywhere, have every
nested function operate on the function global object and simply reset
the objects to the copy we took after we finish parsing a single image
definition.

16 months agoMerge pull request #2572 from DaanDeMeyer/journal
Daan De Meyer [Tue, 2 Apr 2024 10:51:53 +0000 (12:51 +0200)] 
Merge pull request #2572 from DaanDeMeyer/journal

Add ForwardJournal= to enable log forwarding of VMs and containers

16 months agoAdd ForwardJournal= to enable log forwarding of VMs and containers 2572/head
Daan De Meyer [Sun, 31 Mar 2024 17:54:22 +0000 (19:54 +0200)] 
Add ForwardJournal= to enable log forwarding of VMs and containers

In systemd v256, journald will support forwarding to systemd-journal-remote
via the new journal.forward_to_socket credential. Let's expose this
functionality via a new ForwardJournal= setting, which specifies a path to
which logs should be forwarded.

16 months agoIntroduce INVOKING_USER.chown()
Daan De Meyer [Sun, 31 Mar 2024 17:21:05 +0000 (19:21 +0200)] 
Introduce INVOKING_USER.chown()

16 months agoMake pass_fds follow the $LISTEN_FDS protocol for socket activation
Daan De Meyer [Sun, 31 Mar 2024 14:39:29 +0000 (16:39 +0200)] 
Make pass_fds follow the $LISTEN_FDS protocol for socket activation

This allows us to pass file descriptors to binaries implementing
systemd socket activation.

16 months agoAdd setpgid to sandbox instead of cmdline
Daan De Meyer [Sun, 31 Mar 2024 14:35:03 +0000 (16:35 +0200)] 
Add setpgid to sandbox instead of cmdline

This makes sure we don't log it in debug mode.

16 months agoMerge pull request #2575 from DaanDeMeyer/creds
Daan De Meyer [Tue, 2 Apr 2024 10:12:07 +0000 (12:12 +0200)] 
Merge pull request #2575 from DaanDeMeyer/creds

Parse credentials from files/dirs during parsing instead of afterwards

16 months agoParse credentials from files/dirs during parsing instead of afterwards 2575/head
Daan De Meyer [Mon, 1 Apr 2024 16:02:07 +0000 (18:02 +0200)] 
Parse credentials from files/dirs during parsing instead of afterwards

16 months agoAllocate scopes for virtiofsd and swtpm as well
Daan De Meyer [Mon, 1 Apr 2024 18:27:59 +0000 (20:27 +0200)] 
Allocate scopes for virtiofsd and swtpm as well

16 months agoBump github/codeql-action from 3.24.8 to 3.24.9
dependabot[bot] [Mon, 1 Apr 2024 22:56:31 +0000 (22:56 +0000)] 
Bump github/codeql-action from 3.24.8 to 3.24.9

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.8 to 3.24.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/05963f47d870e2cb19a537396c1f668a348c7d8f...1b1aada464948af03b950897e5eb522f92603cc2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
16 months agoAdd path_default=False to two more settings
Daan De Meyer [Mon, 1 Apr 2024 16:01:37 +0000 (18:01 +0200)] 
Add path_default=False to two more settings

16 months agoFix empty config.json caused by buffered write
Cornelius Hoffmann [Mon, 1 Apr 2024 14:48:52 +0000 (16:48 +0200)] 
Fix empty config.json caused by buffered write

16 months agoMove hash_file to utils
Septatrix [Wed, 27 Mar 2024 19:35:07 +0000 (20:35 +0100)] 
Move hash_file to utils

16 months agoSwitch to linux-virtual on Ubuntu
Daan De Meyer [Fri, 29 Mar 2024 07:25:48 +0000 (08:25 +0100)] 
Switch to linux-virtual on Ubuntu

linux-virtual finally supports credentials so we don't need to use
linux-generic anymore.

16 months agoFix kernel installed check
Daan De Meyer [Thu, 28 Mar 2024 17:51:36 +0000 (18:51 +0100)] 
Fix kernel installed check

16 months agoPass --quiet when invoking busctl
Daan De Meyer [Thu, 28 Mar 2024 12:26:12 +0000 (13:26 +0100)] 
Pass --quiet when invoking busctl

We don't care about the return value of the DBUS method so let's
silence busctl so it doesn't show it.

16 months agoFix scope allocation
Daan De Meyer [Thu, 28 Mar 2024 10:56:52 +0000 (11:56 +0100)] 
Fix scope allocation

16 months agoMerge pull request #2564 from DaanDeMeyer/ssh
Daan De Meyer [Thu, 28 Mar 2024 12:15:00 +0000 (13:15 +0100)] 
Merge pull request #2564 from DaanDeMeyer/ssh

Support mkosi ssh for multiple running instances of the same image

16 months agoAllocate scope for and register virtual machine if possible 2564/head
Daan De Meyer [Thu, 28 Mar 2024 10:56:52 +0000 (11:56 +0100)] 
Allocate scope for and register virtual machine if possible

These might be long running so let's make them more introspectible
by allocating a scope for them and registering them with machined
if possible.

16 months agoAdd foreground argument to run()
Daan De Meyer [Thu, 28 Mar 2024 10:56:35 +0000 (11:56 +0100)] 
Add foreground argument to run()

16 months agoRework spawn() process termination slightly
Daan De Meyer [Thu, 28 Mar 2024 10:56:15 +0000 (11:56 +0100)] 
Rework spawn() process termination slightly

16 months agoSupport mkosi ssh for multiple running instances of the same image
Daan De Meyer [Wed, 27 Mar 2024 22:48:36 +0000 (23:48 +0100)] 
Support mkosi ssh for multiple running instances of the same image

Let's add a stopgap solution until systemd-machined supports everything
we need. We maintain a super basic JSON state file in the runtime directory
that is used to map a machine name to the corresponding SSH proxy command.

We also store the path to the ssh key in there so that mkosi ssh can be
run from every directory.

The new Machine= option allows selecting the machine name to use. Unless
set explicitly, we also use the machine name as the hostname for the machine.

16 months agoUpdate NEWS
Daan De Meyer [Wed, 27 Mar 2024 19:35:29 +0000 (20:35 +0100)] 
Update NEWS

16 months agodocs: Mention that only dnf/dnf5 support various proxy settings
Daan De Meyer [Wed, 27 Mar 2024 19:26:37 +0000 (20:26 +0100)] 
docs: Mention that only dnf/dnf5 support various proxy settings

16 months agoOnly mount output directory if it exists when running clean scripts
Daan De Meyer [Wed, 27 Mar 2024 15:07:18 +0000 (16:07 +0100)] 
Only mount output directory if it exists when running clean scripts

16 months agoMerge pull request #2561 from DaanDeMeyer/clean
Daan De Meyer [Wed, 27 Mar 2024 14:48:41 +0000 (15:48 +0100)] 
Merge pull request #2561 from DaanDeMeyer/clean

Add CleanScripts=

16 months agoAdd CleanScripts= 2561/head
Daan De Meyer [Wed, 27 Mar 2024 13:43:58 +0000 (14:43 +0100)] 
Add CleanScripts=

Clean scripts can be used to remove any outputs that mkosi doesn't
know about, e.g. packages built in mkosi build scripts and copied
to the output directory.

16 months agoMove ConfigureScripts= to [Config] section
Daan De Meyer [Wed, 27 Mar 2024 13:38:51 +0000 (14:38 +0100)] 
Move ConfigureScripts= to [Config] section

16 months agoDon't pass final argument to configure scripts
Daan De Meyer [Wed, 27 Mar 2024 13:38:15 +0000 (14:38 +0100)] 
Don't pass final argument to configure scripts

16 months agoMerge pull request #2559 from DaanDeMeyer/osrelease
Daan De Meyer [Wed, 27 Mar 2024 13:12:54 +0000 (14:12 +0100)] 
Merge pull request #2559 from DaanDeMeyer/osrelease

Extension image fixes

16 months agoDon't rebuild local package repository if OutputFormat == none 2559/head
Daan De Meyer [Wed, 27 Mar 2024 11:44:12 +0000 (12:44 +0100)] 
Don't rebuild local package repository if OutputFormat == none

We're not going to do anything anymore if the output format == none
so don't rebuild the local package repository.

16 months agoExtension image fixes
Daan De Meyer [Wed, 27 Mar 2024 10:25:08 +0000 (11:25 +0100)] 
Extension image fixes

- Insist on /usr/lib/os-release existing and read only from it instead
  of /etc/os-release
- Don't fail if /usr/lib/os-release doesn't exist when building a sysext
  or confext.
- Skip more operations when building sysext/confext images

16 months agoFix PCR banks
Daan De Meyer [Wed, 27 Mar 2024 09:59:52 +0000 (10:59 +0100)] 
Fix PCR banks

Fixes: d44e0f8eaa9bc4837d27bbbb55969f2fa5187897
16 months agoStop measuring for SHA1 TPM bank
Daan De Meyer [Wed, 27 Mar 2024 08:23:17 +0000 (09:23 +0100)] 
Stop measuring for SHA1 TPM bank

Let's avoid having to deal with openssl configuration to re-enable
SHA1 support by not measuring for the SHA1 TPM bank.

16 months agoMerge pull request #2553 from behrmann/jsonkeys
Daan De Meyer [Tue, 26 Mar 2024 23:02:03 +0000 (00:02 +0100)] 
Merge pull request #2553 from behrmann/jsonkeys

Capitalise inner JSON keys

16 months agoPass through SYSTEMD_LOG_LEVEL in run() as well
Daan De Meyer [Tue, 26 Mar 2024 12:42:59 +0000 (13:42 +0100)] 
Pass through SYSTEMD_LOG_LEVEL in run() as well

16 months agoSet TMPDIR and HOME for spawn() as well
Daan De Meyer [Tue, 26 Mar 2024 12:42:36 +0000 (13:42 +0100)] 
Set TMPDIR and HOME for spawn() as well

16 months agoconfig: capitalise inner keys in JSON dump 2553/head
Jörg Behrmann [Tue, 26 Mar 2024 10:36:31 +0000 (11:36 +0100)] 
config: capitalise inner keys in JSON dump

16 months agoMerge pull request #2554 from DaanDeMeyer/fix
Daan De Meyer [Tue, 26 Mar 2024 13:39:46 +0000 (14:39 +0100)] 
Merge pull request #2554 from DaanDeMeyer/fix

Make sure we create parent directories as well

16 months agoSwitch back to debian testing 2554/head
Daan De Meyer [Tue, 26 Mar 2024 11:17:51 +0000 (12:17 +0100)] 
Switch back to debian testing

unstable breaks too much to be useful for CI. To keep CI green, we
stop installing pacman-package-manager in the default images and disable
debian tools tree in CI.

16 months agoDo check_inputs() check before calling run_sync()
Daan De Meyer [Tue, 26 Mar 2024 12:25:06 +0000 (13:25 +0100)] 
Do check_inputs() check before calling run_sync()

16 months agoMerge pull request #2552 from DaanDeMeyer/configure-scripts
Daan De Meyer [Tue, 26 Mar 2024 12:18:21 +0000 (13:18 +0100)] 
Merge pull request #2552 from DaanDeMeyer/configure-scripts

Add support for configure scripts

16 months agoAdd support for configure scripts 2552/head
Daan De Meyer [Tue, 26 Mar 2024 09:49:26 +0000 (10:49 +0100)] 
Add support for configure scripts

These allow dynamically modifying the configuration.

16 months agoMake sure we create parent directories as well
Daan De Meyer [Tue, 26 Mar 2024 10:44:38 +0000 (11:44 +0100)] 
Make sure we create parent directories as well

16 months agoconfig: use super in JsonEncoder instead of explicit parent type
Jörg Behrmann [Tue, 26 Mar 2024 10:35:46 +0000 (11:35 +0100)] 
config: use super in JsonEncoder instead of explicit parent type

16 months agotests: test that environment keys are not changed by JSON serialisation
Jörg Behrmann [Tue, 26 Mar 2024 10:35:13 +0000 (11:35 +0100)] 
tests: test that environment keys are not changed by JSON serialisation

16 months agodocs: Update execution flow
Daan De Meyer [Tue, 26 Mar 2024 09:49:01 +0000 (10:49 +0100)] 
docs: Update execution flow