poky/scripts/postinst-intercepts
Kai Kang 72bb57ed0b update_udev_hwdb: fix multilib issue with systemd
It duplicates udevadm in systemd recipe to make it could run
update_udev_hwdb with multilib enabled. Since systemd last update,
it deploys a shared library libsystemd-shared-250.so in /lib/systemd/.
The library will be overwritten when multilib enabled. Then if both
udev-hwdb and lib32-udev-hwdb are installed, it fails to run the
multilib version postinstall intercept update_udev_hwdb:

| /path/to/build/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-small/1.0-r1/rootfs/usr/libexec/lib32-udevadm:
    error while loading shared libraries: libsystemd-shared-250.so: wrong ELF class: ELFCLASS64

`udevadm hwdb --update` just concatenates .hwdb files in dirs
/etc/udev/hwdb.d and /lib/udev/hwdb.d. The output file hwdb.bin is
identical with the one created by lib32-udevadm. So do NOT duplicate
lib32-udevadm in systemd and eudev. And update intercept script
update_udev_hwdb that re-run udevadm with same arch qemuwrapper if run
${binprefix}qemuwrapper failed.

(From OE-Core rev: 3dba872a42c2be7d0865a30118984ab013850292)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:12 +01:00
..
delay_to_first_boot meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
postinst_intercept meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
update_desktop_database mime-xdg.bbclass: initial add 2020-01-19 13:24:38 +00:00
update_font_cache base/bitbake.conf: Enable pseudo path filtering 2020-10-07 11:18:38 +01:00
update_gio_module_cache meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
update_gtk_icon_cache gtk-icon-cache: rename intercept to update_gtk_icon_cache 2019-06-27 12:20:36 +01:00
update_gtk_immodules_cache meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
update_mime_database mime.bbclass: rework 2020-01-19 13:24:38 +00:00
update_pixbuf_cache meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
update_udev_hwdb update_udev_hwdb: fix multilib issue with systemd 2022-04-19 14:14:12 +01:00