# This file is part of systemd.
#
-# Data imported from: hwdb/sdio.ids
+# Data imported from: hwdb.d/sdio.ids
sdio:c00v*d*
ID_SDIO_CLASS_FROM_DATABASE=Non-standard SDIO interface
# This file is part of systemd.
#
-# Data imported from: hwdb/sdio.ids
+# Data imported from: hwdb.d/sdio.ids
sdio:c*v0020*
ID_VENDOR_FROM_DATABASE=ST-Ericsson
add_item(items, (vendor, device), text)
with open('20-sdio-vendor-model.hwdb', 'wt') as out:
- header(out, 'hwdb/sdio.ids')
+ header(out, 'hwdb.d/sdio.ids')
for key in sorted(items):
if len(key) == 1:
add_item(items, klass, text)
with open('20-sdio-classes.hwdb', 'wt') as out:
- header(out, 'hwdb/sdio.ids')
+ header(out, 'hwdb.d/sdio.ids')
for klass in sorted(items):
print(f'',
xml_helper_py = find_program('tools/xml_helper.py')
hwdb_update_sh = find_program('tools/meson-hwdb-update.sh')
-subdir('units')
subdir('sysctl.d')
subdir('sysusers.d')
subdir('tmpfiles.d')
+subdir('hwdb.d')
+subdir('units')
subdir('presets')
-subdir('hwdb')
subdir('network')
subdir('man')
subdir('shell-completion/bash')
D=$(mktemp --directory)
trap "rm -rf '$D'" EXIT INT QUIT PIPE
mkdir -p "$D/etc/udev"
-ln -s "$ROOTDIR/hwdb" "$D/etc/udev/hwdb.d"
+ln -s "$ROOTDIR/hwdb.d" "$D/etc/udev/hwdb.d"
# Test "good" properties" — no warnings or errors allowed
err=$("$SYSTEMD_HWDB" update --root "$D" 2>&1 >/dev/null) && rc= || rc=$?
# Test "bad" properties" — warnings required, errors not allowed
rm -f "$D/etc/udev/hwdb.bin" "$D/etc/udev/hwdb.d"
-ln -s "$ROOTDIR/test/hwdb" "$D/etc/udev/hwdb.d"
+ln -s "$ROOTDIR/test/hwdb.d" "$D/etc/udev/hwdb.d"
err=$("$SYSTEMD_HWDB" update --root "$D" 2>&1 >/dev/null) && rc= || rc=$?
if [ -n "$rc" ]; then
echo "$SYSTEMD_HWDB returned $rc"
h.service
hello-after-sleep.target
hello.service
- hwdb/10-bad.hwdb
+ hwdb.d/10-bad.hwdb
i.service
journal-data/journal-1.txt
journal-data/journal-2.txt