summaryrefslogtreecommitdiff
path: root/src/sysext
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-02-03 22:37:40 +0100
committerLennart Poettering <lennart@poettering.net>2021-02-03 23:12:57 +0100
commit57f1b61b76525b29f94b48d6a49b0d764835d045 (patch)
tree109a128d6aba61303db92c402d31e783f5748686 /src/sysext
parent0fb613000de5e3ae343778290bed0ff9e9f741e4 (diff)
downloadsystemd-57f1b61b76525b29f94b48d6a49b0d764835d045.tar.gz
shared: rename machine-image.[ch] → discover-image.[ch]
The old name originates when this was used to discover "machine" images, as managed by machined/machinectl. But nowadays this is also used by portable services and system extensions, hence let's use a more generic name for this API. Taking inspiration from "dissect-image.[ch]", let's call this "discover-image.[ch]". This is pure renaming, no other changes.
Diffstat (limited to 'src/sysext')
-rw-r--r--src/sysext/sysext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c
index 601fd63a14..ee38e49ec9 100644
--- a/src/sysext/sysext.c
+++ b/src/sysext/sysext.c
@@ -6,6 +6,7 @@
#include <unistd.h>
#include "capability-util.h"
+#include "discover-image.h"
#include "dissect-image.h"
#include "escape.h"
#include "fd-util.h"
@@ -14,7 +15,6 @@
#include "fs-util.h"
#include "hashmap.h"
#include "log.h"
-#include "machine-image.h"
#include "main-func.h"
#include "missing_magic.h"
#include "mkdir.h"