summaryrefslogtreecommitdiff
path: root/src/basic/path-util.h
diff options
context:
space:
mode:
authorLudwig Nussel <ludwig.nussel@suse.de>2022-12-27 15:28:27 +0100
committerLennart Poettering <lennart@poettering.net>2023-01-10 15:17:07 +0100
commit2e76ca79b344b94e6f973e2ef2a8fc2e17dfb03f (patch)
tree29df2b20fcefcaf2daf44ec44a0936b31b5c6af4 /src/basic/path-util.h
parentcd48e23f6a33c9acb47a06b99d9bdc84ee42cebe (diff)
downloadsystemd-2e76ca79b344b94e6f973e2ef2a8fc2e17dfb03f.tar.gz
bootctl: honor $KERNEL_INSTALL_CONF_ROOT
Honor $KERNEL_INSTALL_CONF_ROOT for reading config files, as kernel-install does.
Diffstat (limited to 'src/basic/path-util.h')
-rw-r--r--src/basic/path-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/path-util.h b/src/basic/path-util.h
index 22d3632e6e..e40899284c 100644
--- a/src/basic/path-util.h
+++ b/src/basic/path-util.h
@@ -130,6 +130,7 @@ int fsck_exists_for_fstype(const char *fstype);
/* Similar to path_join(), but only works for two components, and only the first one may be NULL and returns
* an alloca() buffer, or possibly a const pointer into the path parameter. */
+/* DEPRECATED: use path_join() instead */
#define prefix_roota(root, path) \
({ \
const char* _path = (path), *_root = (root), *_ret; \