debian-installer: filter unsupported mediums for missing ld on arm builds

This commit is contained in:
Ark74 2023-07-06 21:59:01 -06:00
parent 747d5db6a2
commit e3d65e6c70

View file

@ -7,7 +7,7 @@ index c073a32..cace03d 100644
ifeq ($(DEB_HOST_ARCH_OS),linux)
ifdef KERNELVERSION
+ifneq ($(DEB_HOST_ARCH),ppc64el)
+ chmod 755 $(TREE)/lib/$(DEB_HOST_MULTIARCH)/ld-linux*
+ find $(TREE)/lib/$(DEB_HOST_MULTIARCH)/ -name "ld-linux*" | xargs -r chmod 755
+endif
+ifeq ($(DEB_HOST_ARCH),ppc64el)
+ chmod 755 $(TREE)/lib/$(DEB_HOST_MULTIARCH)/ld*.so*