bootctl: honor $KERNEL_INSTALL_CONF_ROOT

Honor $KERNEL_INSTALL_CONF_ROOT for reading config files, as
kernel-install does.
This commit is contained in:
Ludwig Nussel
2023-01-10 15:17:07 +01:00
committed by Lennart Poettering
parent cd48e23f6a
commit 2e76ca79b3
5 changed files with 29 additions and 9 deletions
+1
View File
@@ -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; \