Files
systemd/src/boot/bootctl-util.h
Ludwig Nussel 2e76ca79b3 bootctl: honor $KERNEL_INSTALL_CONF_ROOT
Honor $KERNEL_INSTALL_CONF_ROOT for reading config files, as
kernel-install does.
2023-01-10 15:17:07 +01:00

15 lines
314 B
C

/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
int sync_everything(void);
const char *get_efi_arch(void);
int get_file_version(int fd, char **ret);
int settle_entry_token(void);
static inline const char* etc_kernel(void) {
return getenv("KERNEL_INSTALL_CONF_ROOT") ?: "/etc/kernel/";
}