discover-image: nicely support .sysext.raw + .confext.raw suffix for DDIs
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Sep 2023 16:22:24 +0000 (18:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 5 Oct 2023 17:09:12 +0000 (19:09 +0200)
commita747994b451cf8dea393c9293f802777bc314bb7
tree463452c6525f8cd7718724964d1b91fb1e5dc276
parenta121b331e37682341152b51269cf8ce00e68d755
discover-image: nicely support .sysext.raw + .confext.raw suffix for DDIs

Back at Plumbers 2022 we discussed that we should push people towards
using the .sysext.raw and .confext.raw for their DDIs if they are
extension images. Let's actually support that, by chopping off these
suffixes when turning file names into "pretty image names".
src/shared/discover-image.c
src/shared/import-util.c