summaryrefslogtreecommitdiffstats
path: root/scripts/postinst-intercepts/update_udev_hwdb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
commit8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch)
treeefdc32587159d0050a69009bdf2330a531727d95 /scripts/postinst-intercepts/update_udev_hwdb
parentd412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff)
downloadpoky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz
The poky repository master branch is no longer being updated.
You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/postinst-intercepts/update_udev_hwdb')
-rw-r--r--scripts/postinst-intercepts/update_udev_hwdb25
1 files changed, 0 insertions, 25 deletions
diff --git a/scripts/postinst-intercepts/update_udev_hwdb b/scripts/postinst-intercepts/update_udev_hwdb
deleted file mode 100644
index 8b3f5de791..0000000000
--- a/scripts/postinst-intercepts/update_udev_hwdb
+++ /dev/null
@@ -1,25 +0,0 @@
1#!/bin/sh
2#
3# SPDX-License-Identifier: MIT
4#
5
6set -e
7
8case "${PREFERRED_PROVIDER_udev}" in
9 systemd)
10 UDEV_EXTRA_ARGS="--usr"
11 UDEVLIBDIR="${rootlibexecdir}"
12 UDEVADM="${base_bindir}/udevadm"
13 ;;
14
15 *)
16 UDEV_EXTRA_ARGS=""
17 UDEVLIBDIR="${sysconfdir}"
18 UDEVADM="${bindir}/udevadm"
19 ;;
20esac
21
22rm -f $D${UDEVLIBDIR}/udev/hwdb.bin
23PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${UDEVADM} hwdb --update --root $D ${UDEV_EXTRA_ARGS} ||
24 PSEUDO_UNLOAD=1 qemuwrapper -L $D $D${UDEVADM} hwdb --update --root $D ${UDEV_EXTRA_ARGS}
25chown root:root $D${UDEVLIBDIR}/udev/hwdb.bin