debian-installer: update ld permissions patch.
This commit is contained in:
parent
742eb1c3ae
commit
747d5db6a2
2 changed files with 11 additions and 6 deletions
17
helpers/DATA/debian-installer/chmod_755_ld-linux2.patch
Normal file
17
helpers/DATA/debian-installer/chmod_755_ld-linux2.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/build/Makefile b/build/Makefile
|
||||
index c073a32..cace03d 100644
|
||||
--- a/build/Makefile
|
||||
+++ b/build/Makefile
|
||||
@@ -431,6 +431,12 @@ endif
|
||||
|
||||
ifeq ($(DEB_HOST_ARCH_OS),linux)
|
||||
ifdef KERNELVERSION
|
||||
+ifneq ($(DEB_HOST_ARCH),ppc64el)
|
||||
+ chmod 755 $(TREE)/lib/$(DEB_HOST_MULTIARCH)/ld-linux*
|
||||
+endif
|
||||
+ifeq ($(DEB_HOST_ARCH),ppc64el)
|
||||
+ chmod 755 $(TREE)/lib/$(DEB_HOST_MULTIARCH)/ld*.so*
|
||||
+endif
|
||||
# Set up modules.dep, ensure there is at least one standard dir (kernel
|
||||
# in this case), so depmod will use its prune list for archs with no
|
||||
# modules.
|
||||
Loading…
Add table
Add a link
Reference in a new issue