]> git.ipfire.org Git - thirdparty/mkosi.git/log
thirdparty/mkosi.git
2 years agoarch: use GPGDir in package manager tree if it exists 1618/head
Joerg Behrmann [Wed, 7 Jun 2023 16:33:40 +0000 (18:33 +0200)] 
arch: use GPGDir in package manager tree if it exists

2 years agodebian: use trusted keys from package manager tree if they exist
Joerg Behrmann [Wed, 7 Jun 2023 13:03:19 +0000 (15:03 +0200)] 
debian: use trusted keys from package manager tree if they exist

2 years agodebian: only write sources.list during setup if one isn't in the package manager...
Joerg Behrmann [Wed, 7 Jun 2023 13:02:48 +0000 (15:02 +0200)] 
debian: only write sources.list during setup if one isn't in the package manager tree

2 years agoconfig: add PackageManagerTrees= option
Joerg Behrmann [Thu, 8 Jun 2023 13:01:23 +0000 (15:01 +0200)] 
config: add PackageManagerTrees= option

2 years agoconfig: remove RepositoryDirectories= option
Joerg Behrmann [Thu, 8 Jun 2023 09:38:42 +0000 (11:38 +0200)] 
config: remove RepositoryDirectories= option

2 years agofedora: move workspace package manager configuration into a tree
Joerg Behrmann [Wed, 7 Jun 2023 11:37:23 +0000 (13:37 +0200)] 
fedora: move workspace package manager configuration into a tree

2 years agoarch: move workspace package manager configuration into a tree
Joerg Behrmann [Wed, 7 Jun 2023 11:37:11 +0000 (13:37 +0200)] 
arch: move workspace package manager configuration into a tree

2 years agodebian: move workspace package manager configuration into a tree
Joerg Behrmann [Wed, 7 Jun 2023 09:15:23 +0000 (11:15 +0200)] 
debian: move workspace package manager configuration into a tree

2 years agostate: add a directory for package manager files in the workspace
Joerg Behrmann [Thu, 8 Jun 2023 13:01:40 +0000 (15:01 +0200)] 
state: add a directory for package manager files in the workspace

2 years agoMerge pull request #1613 from DaanDeMeyer/rework-matches
Daan De Meyer [Wed, 7 Jun 2023 13:58:07 +0000 (15:58 +0200)] 
Merge pull request #1613 from DaanDeMeyer/rework-matches

Make matches work more like systemd conditions

2 years agoMake matches work more like systemd conditions 1613/head
Daan De Meyer [Tue, 6 Jun 2023 09:59:55 +0000 (11:59 +0200)] 
Make matches work more like systemd conditions

Let's make matches behave like systemd conditions. We drop support
for list matches. Instead, we add support for match negation and
trigger matches. A match is a trigger match if it's prefixed with
the pipe symbol (|). A match is satisfied if all its regular matches
and one of its trigger matches are satisfied.

2 years agoMerge pull request #1615 from DaanDeMeyer/fixes
Daan De Meyer [Wed, 7 Jun 2023 12:59:53 +0000 (14:59 +0200)] 
Merge pull request #1615 from DaanDeMeyer/fixes

Fixes

2 years agoDon't unpack extra/skeleton archives if a target is provided 1615/head
Daan De Meyer [Wed, 7 Jun 2023 12:01:51 +0000 (14:01 +0200)] 
Don't unpack extra/skeleton archives if a target is provided

ExtraTrees= and SkeletonTrees= are currently ambiguous when a target
location is provided. The user could either mean that the archive has
to be unpacked to the target location or the user could mean that he
wants to copy the archive to that location in the image.

We should still try to resolve the ambiguity, but for now, let's assume
that when a target is provided that the user wants to copy the archive
into the image instead of unpacking the archive to that specific location.

To make this work, we also modify the logic slightly to create only the
parent directories of the target so that cp doesn't fail because we try
to copy a file to a directory.

2 years agoDon't require extra trees to exist when parsing config
Daan De Meyer [Wed, 7 Jun 2023 11:59:14 +0000 (13:59 +0200)] 
Don't require extra trees to exist when parsing config

These might be created by a preset so leave checking whether these
exist to check_inputs().

2 years agoMerge pull request #1610 from keszybz/emacs-and-spdx
Jörg Behrmann [Mon, 5 Jun 2023 16:15:54 +0000 (18:15 +0200)] 
Merge pull request #1610 from keszybz/emacs-and-spdx

Add emacs config, SPDX headers, fix typo

2 years agoAdd SPDX header to various files with code 1610/head
Zbigniew Jędrzejewski-Szmek [Mon, 5 Jun 2023 15:04:11 +0000 (17:04 +0200)] 
Add SPDX header to various files with code

2 years agoAdd .dir-locals.el file for emacs
Zbigniew Jędrzejewski-Szmek [Mon, 5 Jun 2023 15:00:37 +0000 (17:00 +0200)] 
Add .dir-locals.el file for emacs

2 years agoFix typo
Zbigniew Jędrzejewski-Szmek [Wed, 17 May 2023 15:57:17 +0000 (17:57 +0200)] 
Fix typo

2 years agoMake sure we don't copy symlinks in run_qemu()
Daan De Meyer [Fri, 2 Jun 2023 15:11:20 +0000 (17:11 +0200)] 
Make sure we don't copy symlinks in run_qemu()

2 years agoMerge pull request #1608 from DaanDeMeyer/fixes
Daan De Meyer [Fri, 2 Jun 2023 13:55:53 +0000 (15:55 +0200)] 
Merge pull request #1608 from DaanDeMeyer/fixes

Fixes

2 years agoDrop unused functions 1608/head
Daan De Meyer [Fri, 2 Jun 2023 12:25:21 +0000 (14:25 +0200)] 
Drop unused functions

2 years agoShorten exit status logic a little
Daan De Meyer [Fri, 2 Jun 2023 12:22:42 +0000 (14:22 +0200)] 
Shorten exit status logic a little

2 years agoOnly raise exception if notify exit status is nonzero.
Daan De Meyer [Fri, 2 Jun 2023 11:22:15 +0000 (13:22 +0200)] 
Only raise exception if notify exit status is nonzero.

2 years agoMerge pull request #1606 from DaanDeMeyer/notify-debug
Jörg Behrmann [Fri, 2 Jun 2023 08:15:54 +0000 (10:15 +0200)] 
Merge pull request #1606 from DaanDeMeyer/notify-debug

Log some notify stats at debug level

2 years agoGet rid of unnecessary usage of TypeVar 1606/head
Daan De Meyer [Thu, 1 Jun 2023 11:08:21 +0000 (13:08 +0200)] 
Get rid of unnecessary usage of TypeVar

2 years agoLog some notify stats at debug level
Daan De Meyer [Thu, 1 Jun 2023 11:02:33 +0000 (13:02 +0200)] 
Log some notify stats at debug level

2 years agoaction: Install swtpm
Daan De Meyer [Thu, 1 Jun 2023 10:48:28 +0000 (12:48 +0200)] 
action: Install swtpm

2 years agotests: add missing asserts
Joerg Behrmann [Wed, 24 May 2023 15:11:38 +0000 (17:11 +0200)] 
tests: add missing asserts

2 years agoconfig: add missing whitespace
Joerg Behrmann [Wed, 24 May 2023 14:07:01 +0000 (16:07 +0200)] 
config: add missing whitespace

2 years agoconfig: only use host release if we can detect one
Joerg Behrmann [Mon, 22 May 2023 15:19:43 +0000 (17:19 +0200)] 
config: only use host release if we can detect one

2 years agoci: add --debug flag
Joerg Behrmann [Fri, 26 May 2023 12:29:20 +0000 (14:29 +0200)] 
ci: add --debug flag

2 years agoUpdate installation instructions in the README
Joerg Behrmann [Wed, 31 May 2023 13:55:06 +0000 (15:55 +0200)] 
Update installation instructions in the README

2 years agoMerge pull request #1600 from DaanDeMeyer/fedora
Jörg Behrmann [Thu, 1 Jun 2023 07:45:26 +0000 (09:45 +0200)] 
Merge pull request #1600 from DaanDeMeyer/fedora

fedora: Add Enterprise Linux Next (ELN) support

2 years agoUse repart's new --architecture option
Daan De Meyer [Tue, 30 May 2023 11:40:21 +0000 (13:40 +0200)] 
Use repart's new --architecture option

This makes sure that --architecture works with user specified repart
configs as well instead of just the ones that we generate ourselves.

2 years agofedora: Add Enterprise Linux Next (ELN) support 1600/head
Daan De Meyer [Wed, 31 May 2023 20:42:55 +0000 (22:42 +0200)] 
fedora: Add Enterprise Linux Next (ELN) support

Let's add support for ELN (https://docs.fedoraproject.org/en-US/eln/)
which builds Fedora with the RHEL toolchain.

2 years agofedora: Simplify url handling
Daan De Meyer [Wed, 31 May 2023 19:58:58 +0000 (21:58 +0200)] 
fedora: Simplify url handling

2 years agoAdd QemuSwtpm option
Daan De Meyer [Wed, 31 May 2023 13:51:09 +0000 (15:51 +0200)] 
Add QemuSwtpm option

2 years agoUse VMADDR_PORT_ANY
Daan De Meyer [Wed, 31 May 2023 09:04:44 +0000 (11:04 +0200)] 
Use VMADDR_PORT_ANY

Just cleanup, shouldn't cause any change in behavior

2 years agoaction: Install systemd-measure
Daan De Meyer [Tue, 30 May 2023 12:36:17 +0000 (14:36 +0200)] 
action: Install systemd-measure

2 years agoMerge pull request #1592 from DaanDeMeyer/arch
Daan De Meyer [Tue, 30 May 2023 11:39:46 +0000 (13:39 +0200)] 
Merge pull request #1592 from DaanDeMeyer/arch

Rework architecture handling

2 years agoUse dnf when building foreign architectures 1592/head
Daan De Meyer [Tue, 30 May 2023 10:15:42 +0000 (12:15 +0200)] 
Use dnf when building foreign architectures

dnf5 does not support --forcearch yet which means it can't build
foreign architectures.

2 years agoRework architecture handling
Daan De Meyer [Mon, 29 May 2023 20:41:31 +0000 (22:41 +0200)] 
Rework architecture handling

Let's lock architectures down by making it an enum instead of a
free form string. We also introduce a bunch of mapping functions
to map the Architecture enum to qemu, distribution arches, efi
arches. We only support the architectures defined in the discoverable
partitions spec and use those architectures as the default representation.

2 years agoMerge pull request #1591 from DaanDeMeyer/exception-handling
Daan De Meyer [Sat, 27 May 2023 09:11:10 +0000 (11:11 +0200)] 
Merge pull request #1591 from DaanDeMeyer/exception-handling

Make sure we handle any exceptions thrown in MkosiAsyncioThread()

2 years agoci: Make sure we're running qemu with a vsock 1591/head
Daan De Meyer [Sat, 27 May 2023 09:01:14 +0000 (11:01 +0200)] 
ci: Make sure we're running qemu with a vsock

Let's add a little extra coverage by enforcing that qemu runs with
a vsock.

2 years agoMake sure we handle any exceptions thrown in MkosiAsyncioThread()
Daan De Meyer [Sat, 27 May 2023 08:54:20 +0000 (10:54 +0200)] 
Make sure we handle any exceptions thrown in MkosiAsyncioThread()

Any unhandled exceptions from run() are by default just printed to
stderr. Let's make sure that these exceptions cause mkosi itself to
fail by catching them and re-raising them when the thread is joined.

2 years agoMerge pull request #1583 from Cornelicorn/output-uids
Daan De Meyer [Fri, 26 May 2023 11:46:31 +0000 (13:46 +0200)] 
Merge pull request #1583 from Cornelicorn/output-uids

Improve basename symlinks

2 years agoAdd --all-architectures when we run bootctl
Daan De Meyer [Fri, 26 May 2023 11:27:41 +0000 (13:27 +0200)] 
Add --all-architectures when we run bootctl

To make sure that we install correctly even when doing cross builds

2 years agoVarious improvements
Daan De Meyer [Fri, 26 May 2023 10:01:35 +0000 (12:01 +0200)] 
Various improvements

- Move workspace and install/cache directory handling into MkosiState
- Stop running the build as the user running mkosi, this makes things
simpler as the root user in the userns can write to directories owned
by the user running mkosi but vice versa is not possible. The build
script still can't modify the build image as we mount the build overlay
read-only.
- Create directories that need to be owned by the user running mkosi
before switching to the user namespace
- Various refactorings

2 years agodebian: Fix foreign architecture builds
Daan De Meyer [Fri, 26 May 2023 10:16:50 +0000 (12:16 +0200)] 
debian: Fix foreign architecture builds

--force-architecture forces dpkg to install packages for other
architectures than the host architecture. --force-depends is required
because when building for arm64 it seems it can't quite figure out
all the pre-depends. For extra safety, we also set APT::Architectures
on top of APT::Architecture.

2 years agoAlways overwrite the basename symlink to point to the newest version 1583/head
Cornelius Hoffmann [Fri, 26 May 2023 09:37:41 +0000 (11:37 +0200)] 
Always overwrite the basename symlink to point to the newest version

Having the symlink point to the oldest image is somewhat counterintuitive

2 years agoFix wrong uid:gid on the basename symlink
Cornelius Hoffmann [Fri, 26 May 2023 07:31:50 +0000 (09:31 +0200)] 
Fix wrong uid:gid on the basename symlink

Before this would have the uid:gid of root in the uidmap space
The link is now created in the staging area first to make the change atomic,
so that the wrong uid:gid pair is never seen in the output directory

2 years agoAdd support for pesign to sign secure boot binaries
Daan De Meyer [Thu, 25 May 2023 19:33:09 +0000 (21:33 +0200)] 
Add support for pesign to sign secure boot binaries

sbsign is not packaged on CentOS so let's add support for pesign as
well as support for pesign was recently added to ukify as well.

2 years agoukify: always sign kernel inside of uki if secure boot is enabled
Malte Poll [Thu, 25 May 2023 09:53:47 +0000 (11:53 +0200)] 
ukify: always sign kernel inside of uki if secure boot is enabled

This overrides the auto detection of ukify and always signs the kernel bevore embedding it in the uki (even if the kernel is already signed).
Rationale: When building Fedora 37 images, the Fedora provided kernel is signed with an expired key (id 2574709492).
I would like to add an additional signature with my own signing key to enable kexec and other features that require a correctly signed kernel image.

Co-authored-by: Otto Bittner <cobittner@posteo.net>
2 years agofix missing exist_ok for debian /usr
Cornelius Hoffmann [Wed, 24 May 2023 22:24:41 +0000 (00:24 +0200)] 
fix missing exist_ok for debian /usr

This would prevent having /usr in a skeleton tree

2 years agoFirstboot improvements
Daan De Meyer [Wed, 24 May 2023 12:33:49 +0000 (14:33 +0200)] 
Firstboot improvements

- Merge --root-password-hashed and --root-password-file into
  --root-password. If prefixed with hashed:, we treat it as a hashed
  root password.
- When not building an initrd, also store corresponding credentials
in /usr/lib/credstore, so that the settings work even if only /usr
is shipped in the final image. We don't do this for initrds since
those generally ship with /etc populated.
- Drop setting of firstboot.hostname which isn't actually used by
systemd-firstboot

2 years agoCompress centos 8 variant cpios with xz instead of zstd
Daan De Meyer [Tue, 23 May 2023 10:58:39 +0000 (12:58 +0200)] 
Compress centos 8 variant cpios with xz instead of zstd

The kernel for CentOS 8 and its variants doesn't ship with zstd
initrd compression support, so let's default to xz instead.

2 years agoRefactor image growing
Daan De Meyer [Mon, 22 May 2023 12:08:28 +0000 (14:08 +0200)] 
Refactor image growing

2 years agoUse systemd-repart to grow disk image
Daan De Meyer [Mon, 22 May 2023 12:08:28 +0000 (14:08 +0200)] 
Use systemd-repart to grow disk image

Using truncate isn't entirely right, let's do this properly by letting
systemd-repart handle it.

2 years agoMerge pull request #1571 from DaanDeMeyer/fixes
Daan De Meyer [Mon, 22 May 2023 08:01:38 +0000 (10:01 +0200)] 
Merge pull request #1571 from DaanDeMeyer/fixes

Fixes

2 years agorocky: Drop epel repository from bootable config 1571/head
Daan De Meyer [Mon, 22 May 2023 05:46:22 +0000 (07:46 +0200)] 
rocky: Drop epel repository from bootable config

systemd-boot is provided by the base repositories now so let's drop
the epel repository config.

2 years agoMake mkosi the foreground process again when child process finishes
Daan De Meyer [Sun, 21 May 2023 15:08:51 +0000 (17:08 +0200)] 
Make mkosi the foreground process again when child process finishes

We currently get "Job mkosi has stopped" when fetching running the
summary verb. Let's fix this by making sure we make mkosi the foreground
process again when we finish running a child process.

2 years agoMake sure we page summaries only once when there's multiple presets
Daan De Meyer [Sun, 21 May 2023 15:07:26 +0000 (17:07 +0200)] 
Make sure we page summaries only once when there's multiple presets

2 years agoReturn early if verb is "clean"
Daan De Meyer [Sun, 21 May 2023 15:06:35 +0000 (17:06 +0200)] 
Return early if verb is "clean"

Otherwise we start checking the inputs of the presets which we don't
wanna do if we're just cleaning outputs

2 years agoAdd RepartDirectories to summary
Daan De Meyer [Sun, 21 May 2023 15:06:12 +0000 (17:06 +0200)] 
Add RepartDirectories to summary

2 years agoUse slightly better dnf5 check
Daan De Meyer [Tue, 16 May 2023 12:17:58 +0000 (14:17 +0200)] 
Use slightly better dnf5 check

Instead of checking whether dnf5 exists all the time, just reuse
the first check results

2 years agoVarious dnf fixes
Daan De Meyer [Tue, 16 May 2023 09:16:28 +0000 (11:16 +0200)] 
Various dnf fixes

- Put the logs in a subdirectory of the workspace
- Make sure we configure the persistdir to be inside the workspace
as well. Otherwise dnf5 tries to use the system directory which fails
with a permission error
- Use the non-compat dnf5 option names instead of the compat ones

2 years agoPass firstboot settings to generated initrd as well
Daan De Meyer [Mon, 15 May 2023 13:55:32 +0000 (15:55 +0200)] 
Pass firstboot settings to generated initrd as well

It generally doesn't make sense to have these differ between the
initrd and the rootfs, so let's pass these settings through to the
initrd as well.

The only setting we don't pass through is the root shell as configuring
a different root shell might mean installing extra packages which might
be undesireable in the initrd.

2 years agoOnly clean cache images if cache dir exists
Daan De Meyer [Mon, 15 May 2023 13:47:35 +0000 (15:47 +0200)] 
Only clean cache images if cache dir exists

2 years agoDo not check inputs up front
Daan De Meyer [Fri, 12 May 2023 12:59:16 +0000 (14:59 +0200)] 
Do not check inputs up front

They could be generated by the previous preset

2 years agoMerge pull request #1563 from DaanDeMeyer/fix-needs-build
Jörg Behrmann [Fri, 12 May 2023 12:24:32 +0000 (14:24 +0200)] 
Merge pull request #1563 from DaanDeMeyer/fix-needs-build

Fix needs_build()

2 years agoCheck inputs/outputs before removing any files. 1563/head
Daan De Meyer [Fri, 12 May 2023 11:31:15 +0000 (13:31 +0200)] 
Check inputs/outputs before removing any files.

2 years agoFix needs_build()
Daan De Meyer [Fri, 12 May 2023 11:10:10 +0000 (13:10 +0200)] 
Fix needs_build()

2 years agoDon't install a boot loader if we can't find bootctl
Daan De Meyer [Fri, 12 May 2023 08:42:54 +0000 (10:42 +0200)] 
Don't install a boot loader if we can't find bootctl

Also fail if a bootable image is requested and we can't find bootctl.

2 years agoDon't install a boot loader if no kernels are installed
Daan De Meyer [Fri, 12 May 2023 08:40:03 +0000 (10:40 +0200)] 
Don't install a boot loader if no kernels are installed

If a bootable image has not been explicitly requested, don't install
a boot loader if we can't find any kernel images installed in the image.

2 years agoCheck for btrfs before invoking run()
Daan De Meyer [Fri, 12 May 2023 08:13:31 +0000 (10:13 +0200)] 
Check for btrfs before invoking run()

check= does not handle missing binaries so let's check explicitly
before running btrfs.

2 years agoDo not reuse cache if there is no manifest
Daan De Meyer [Fri, 12 May 2023 06:26:26 +0000 (08:26 +0200)] 
Do not reuse cache if there is no manifest

This makes sure there's no need to remove the cache manually to
make sure the manifest gets generated.

2 years agoMerge pull request #1557 from DaanDeMeyer/vsock
Daan De Meyer [Fri, 12 May 2023 06:10:08 +0000 (08:10 +0200)] 
Merge pull request #1557 from DaanDeMeyer/vsock

Add a feature for enabling/disabling qemu vsock usage

2 years agoAdd a feature for enabling/disabling qemu vsock usage 1557/head
Daan De Meyer [Thu, 11 May 2023 13:26:52 +0000 (15:26 +0200)] 
Add a feature for enabling/disabling qemu vsock usage

2 years agoMove qemu logic into qemu.py
Daan De Meyer [Thu, 11 May 2023 13:18:38 +0000 (15:18 +0200)] 
Move qemu logic into qemu.py

We also introduce a new function qemu_check_vsock_support()

2 years agoMake config_kvm a proper ConfigFeature
Daan De Meyer [Thu, 11 May 2023 13:09:54 +0000 (15:09 +0200)] 
Make config_kvm a proper ConfigFeature

2 years agoMerge pull request #1555 from DaanDeMeyer/notify
Daan De Meyer [Thu, 11 May 2023 12:10:23 +0000 (14:10 +0200)] 
Merge pull request #1555 from DaanDeMeyer/notify

Propagate systemd exit status from the VM

2 years agoci: Add console=ttyS0 to the kernel command line 1555/head
Daan De Meyer [Thu, 11 May 2023 12:07:09 +0000 (14:07 +0200)] 
ci: Add console=ttyS0 to the kernel command line

It's the default but since we override the default we lose the
default value so add it back explicitly.

2 years agoUse /efi as the ESP path when building the image
Daan De Meyer [Thu, 11 May 2023 11:42:21 +0000 (13:42 +0200)] 
Use /efi as the ESP path when building the image

We used to use /boot because kernel-install would hardcode it but since
we don't use kernel-install anymore, let's use /efi instead. This way,
if anyone wants to install grub, they can do so in /boot and package
/boot up as an XBOOTLDR partition.

2 years agoci: Simplify checks
Daan De Meyer [Thu, 11 May 2023 11:53:15 +0000 (13:53 +0200)] 
ci: Simplify checks

Instead of mounting the filesystem and checking the contents of the
failed-services file, let's just shut down the machine with a non-zero
exit status if there are failed services. This works for both nspawn
and qemu now that we have the vsock notify socket set up.

2 years agoaction: Allow unprivileged access to kvm, vhost-vsock and vhost-net devices
Daan De Meyer [Thu, 11 May 2023 08:55:18 +0000 (10:55 +0200)] 
action: Allow unprivileged access to kvm, vhost-vsock and vhost-net devices

These are restricted on Debian/Ubuntu but we want to allow running
unprivileged qemu so let's loosen the permissions on these devices
to make that possible.

2 years agoFix vhost-vsock access check
Daan De Meyer [Thu, 11 May 2023 09:50:55 +0000 (11:50 +0200)] 
Fix vhost-vsock access check

Let's make sure we use exactly the same open() command that qemu
uses to check if we can access the /dev/vhost-vsock device.

2 years agoDrop kernel modules add/remove debug log messages
Daan De Meyer [Thu, 11 May 2023 09:37:54 +0000 (11:37 +0200)] 
Drop kernel modules add/remove debug log messages

Too noisy when there's lots of kernel modules

2 years agoPropagate systemd exit status from the VM
Daan De Meyer [Thu, 11 May 2023 08:45:54 +0000 (10:45 +0200)] 
Propagate systemd exit status from the VM

Let's make use of the new vmm.notify_socket credential to fetch
systemd's exit status from the VM and propagate it as our own exit
status, just like already happens automatically for containers with
systemd-nspawn.

2 years agoci: Drop epel repository for alma
Daan De Meyer [Thu, 11 May 2023 09:10:49 +0000 (11:10 +0200)] 
ci: Drop epel repository for alma

systemd-boot should be available in the base OS now.

2 years agoaction: Drop linux-modules-extra-azure again
Daan De Meyer [Thu, 11 May 2023 08:47:26 +0000 (10:47 +0200)] 
action: Drop linux-modules-extra-azure again

This doesn't work since the modules don't match the running kernel
version.

2 years agoFix output check
Daan De Meyer [Wed, 10 May 2023 16:54:40 +0000 (18:54 +0200)] 
Fix output check

2 years agoaction: Install extra azure modules package
Daan De Meyer [Wed, 10 May 2023 14:14:59 +0000 (16:14 +0200)] 
action: Install extra azure modules package

This contains the erofs kernel module which is required for mounting
erofs filesystems in systemd-nspawn.

2 years agoaction: Sort package list
Daan De Meyer [Wed, 10 May 2023 14:13:59 +0000 (16:13 +0200)] 
action: Sort package list

2 years agoFix failure when we have a build script without build packages
Daan De Meyer [Wed, 10 May 2023 12:56:47 +0000 (14:56 +0200)] 
Fix failure when we have a build script without build packages

2 years agoubuntu: Use linux-kvm package in CI
Daan De Meyer [Wed, 10 May 2023 08:15:24 +0000 (10:15 +0200)] 
ubuntu: Use linux-kvm package in CI

2 years agoDon't check for /usr/lib/kernel/cmdline on the host system
Daan De Meyer [Wed, 10 May 2023 08:13:27 +0000 (10:13 +0200)] 
Don't check for /usr/lib/kernel/cmdline on the host system

2 years agoFix --sign-expected-pcr
Daan De Meyer [Tue, 9 May 2023 15:01:28 +0000 (17:01 +0200)] 
Fix --sign-expected-pcr

Fall out from the introduction of ConfigFeature

2 years agoOnly try to apply ACL to image output if it's a directory
Daan De Meyer [Tue, 9 May 2023 09:56:35 +0000 (11:56 +0200)] 
Only try to apply ACL to image output if it's a directory

2 years agoMerge pull request #1548 from DaanDeMeyer/cache
Daan De Meyer [Tue, 9 May 2023 09:53:19 +0000 (11:53 +0200)] 
Merge pull request #1548 from DaanDeMeyer/cache

Add some very basic cache invalidation

2 years agoMake sure the initrd outputs are prefixed with the image name 1548/head
Daan De Meyer [Tue, 9 May 2023 09:23:13 +0000 (11:23 +0200)] 
Make sure the initrd outputs are prefixed with the image name

This makes sure that they're cleaned up in unlink_output() together with the image.