On Tue, Mar 17, 2020 at 12:29 PM Alex Kiernan <[email protected]> wrote: > > systemd supports a distribution hwdb.bin in /usr/lib/udev/hwdb.bin, > which is used if /etc/udev/hwdb.bin is not present. When generating the > install time hwdb, for systemd, ensure that we put it in /usr/lib/udev, > which then ensures that at boot time we do not regenerate it, unless the > system is marked for update. > > This allows fragments dropped into /etc/udev/hwdb.d to be processed > correctly, but without requiring a first boot time build: > > root@qemumips:~# systemctl status systemd-hwdb-update.service > * systemd-hwdb-update.service - Rebuild Hardware Database > Loaded: loaded (/usr/lib/systemd/system/systemd-hwdb-update.service; > static; vendor preset: disabled) > Active: inactive (dead) > Condition: start condition failed at Wed 2020-03-04 15:18:11 UTC; 44s ago > |- ConditionPathExists=|!/usr/lib/udev/hwdb.bin was not met > |- ConditionPathExists=|/etc/udev/hwdb.bin was not met > `- ConditionDirectoryNotEmpty=|/etc/udev/hwdb.d was not met > Docs: man:hwdb(7) > man:systemd-hwdb(8) > > Signed-off-by: Alex Kiernan <[email protected]>
Acked-by: Otavio Salvador <[email protected]> -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
