meson: Drop genkey target
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 28 Jun 2024 07:58:56 +0000 (09:58 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 28 Jun 2024 08:20:10 +0000 (10:20 +0200)
commitb00f44c3cff083972b0458359bbb5b80f0d10931
tree41fe671f7ab9a7ec119ac8616adfe287c770aba1
parentc1451cd2a20e0ae88478e787d10ac5047a78280c
meson: Drop genkey target

In mkosi.images/system/mkosi.conf, we configure the certificate as
an extra tree so it's available inside the image. However, we pick up
the certificate from the top level repository directory and not from the
build directory where it is generated by the genkey meson target.

We currently have no way to access the build directory that mkosi was
invoked from when parsing the configuration file. Thus we have no way to
specify the correct location to the certificate when it's located in the
build directory.

For now, let's look for the key and certificate in the top level repository
root directory and drop the genkey target.

We don't have to change the Github Actions CI because it already runs genkey
manually before the image build (which is something we forgot to remove when
introducing the genkey target and is the reason this didn't cause issues before).
meson.build