Same as $KERNEL_INSTALL_BYPASS, but for hwdb. This will speed up cross architecture image builds in mkosi as I can disable package managers from running the costly hwdb update stuff in qemu user mode and run it myself with a native systemd-hwdb with --root=.
12 lines
313 B
C
12 lines
313 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "sd-hwdb.h"
|
|
|
|
bool hwdb_should_reload(sd_hwdb *hwdb);
|
|
int hwdb_update(const char *root, const char *hwdb_bin_dir, bool strict, bool compat);
|
|
int hwdb_query(const char *modalias, const char *root);
|
|
int hwdb_bypass(void);
|