Add $SYSTEMD_HWDB_UPDATE_BYPASS (#30463)
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=.
This commit is contained in:
@@ -249,6 +249,14 @@ All tools:
|
||||
devices sysfs path are actually backed by sysfs. Relaxing this verification
|
||||
is useful for testing purposes.
|
||||
|
||||
`udevadm` and `systemd-hwdb`:
|
||||
|
||||
* `SYSTEMD_HWDB_UPDATE_BYPASS=` — If set to "1", execution of hwdb updates is skipped
|
||||
when `udevadm hwdb --update` or `systemd-hwdb update` are invoked. This can
|
||||
be useful if either of these tools are invoked unconditionally as a child
|
||||
process by another tool, such as package managers running either of these
|
||||
tools in a postinstall script.
|
||||
|
||||
`nss-systemd`:
|
||||
|
||||
* `$SYSTEMD_NSS_BYPASS_SYNTHETIC=1` — if set, `nss-systemd` won't synthesize
|
||||
|
||||
Reference in New Issue
Block a user