diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-04-12 14:26:56 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-04-12 14:41:32 +0200 |
commit | b151e69671c8cb01eba1f7969bf1aa63d9f87eb3 (patch) | |
tree | 4f8c9d492e44d8538c14aa08a93b9d0d6084b7bb /src/shared/discover-image.c | |
parent | 14cb10b737fc88d5acb82c626daa219703d00e64 (diff) | |
download | systemd-b151e69671c8cb01eba1f7969bf1aa63d9f87eb3.tar.gz |
discover-image: bring discover path list up-to-date.
While merge 3af48a86d99b3117a44bc22258ab4d34d0ba7655 was for a working
PR it was based on an older version of git main. Let's catch up with the
search path changes from de862276eddbbe76b436213b4d427205356d1886.
Diffstat (limited to 'src/shared/discover-image.c')
-rw-r--r-- | src/shared/discover-image.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/shared/discover-image.c b/src/shared/discover-image.c index fac595f0d5..198c975c44 100644 --- a/src/shared/discover-image.c +++ b/src/shared/discover-image.c @@ -79,12 +79,10 @@ static const char* const image_search_path[_IMAGE_CLASS_MAX] = { static const char* const image_search_path_initrd[_IMAGE_CLASS_MAX] = { /* (entries that aren't listed here will get the same search path as for the non initrd-case) */ - [IMAGE_SYSEXT] = "/etc/extensions\0" /* only place symlinks here */ - "/run/extensions\0" /* and here too */ - "/var/lib/extensions\0" /* the main place for images */ - "/usr/local/lib/extensions\0" - "/usr/lib/extensions\0" - "/.extra/sysext\0" /* put sysext picked up by systemd-stub last, since not trusted */ + [IMAGE_SYSEXT] = "/etc/extensions\0" /* only place symlinks here */ + "/run/extensions\0" /* and here too */ + "/var/lib/extensions\0" /* the main place for images */ + "/.extra/sysext\0" /* put sysext picked up by systemd-stub last, since not trusted */ }; static Image *image_free(Image *i) { |