new file mode 100644
@@ -0,0 +1,12 @@
+diff -purN host-cross-ldd-6c9c724ebd6a29c279c6e5734e44c07f067808ec.orig/cross-compile-ldd host-cross-ldd-6c9c724ebd6a29c279c6e5734e44c07f067808ec/cross-compile-ldd
+--- host-cross-ldd-6c9c724ebd6a29c279c6e5734e44c07f067808ec.orig/cross-compile-ldd 2022-01-06 12:25:40.144852639 +0000
++++ host-cross-ldd-6c9c724ebd6a29c279c6e5734e44c07f067808ec/cross-compile-ldd 2022-01-06 12:25:40.148852681 +0000
+@@ -19,7 +19,7 @@ sed="${SED:-sed}"
+ grep="${GREP:-grep}"
+
+ my_name="$( basename "${0}" )"
+-prefix="${0%-ldd}"
++prefix="${0%-ldd-buildroot}"
+ gcc="${prefix}-gcc"
+ readelf="${prefix}-readelf"
+ fake_load_addr_root="$((0xdeadbeef))"
new file mode 100644
@@ -0,0 +1,23 @@
+################################################################################
+#
+# cross-ldd
+#
+# ldd drop-in replacement for cross-compilation toolchains.
+# This is the officially supported version mentioned
+# in the dracut documentation (see dracut/docs/README.cross)
+#
+################################################################################
+
+CROSS_LDD_VERSION = 6c9c724ebd6a29c279c6e5734e44c07f067808ec
+CROSS_LDD_SOURCE = $(CROSS_LDD_VERSION).tar.gz
+CROSS_LDD_SITE = https://gist.github.com/jerome-pouiller/c403786c1394f53f44a3b61214489e6f/archive
+CROSS_LDD_LICENSE = GPL-2.0
+
+# Notice that we change the name to '-ldd-buildroot', in order to avoid conflict
+# with some external toolchains that implement it
+
+define HOST_CROSS_LDD_INSTALL_CMDS
+ install -D -m 755 $(@D)/cross-compile-ldd $(TARGET_CROSS)ldd-buildroot
+endef
+
+$(eval $(host-generic-package))
new file mode 100644
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+set -e
+set -x
+
+if [ -z "$*" ]; then
+ echo "No argument supplied"
+ exit
+fi
+
+DRACUT_LDD=${TARGET_CROSS}ldd-cross \
+DRACUT_INSTALL="${HOST_DIR}/lib/dracut/dracut-install" \
+dracutbasedir=${HOST_DIR}/usr/lib/dracut \
+dracutsysrootdir=${TARGET_DIR} \
+${HOST_DIR}/bin/dracut "$@"