hi,

On system with empty /lib/ld* , the initrd.rul will fail.
this patch avoid to fail in this situation.

If someone with write access to the svn could commit this fix, it would be cool.

PS: this fix has been successfully tested on centos-6.3 (building the rpm in 
order to deploy my OSCAR cluster on centos-6.3)

Cheers,

Olivier.
--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
Index: initrd_source/initrd.rul
===================================================================
--- initrd_source/initrd.rul	(révision 4568)
+++ initrd_source/initrd.rul	(copie de travail)
@@ -158,7 +158,7 @@
 								$(ZLIB_DIR).install
 
 	# Copy over the standard libs. -BEF-
-	cp -a /lib/ld*   $(INITRD_BUILD_DIR)/lib
+	test -z "$(echo /lib/ld*)" || cp -a /lib/ld*   $(INITRD_BUILD_DIR)/lib
 	test ! -d /lib64 || cp -a /lib64/ld* $(INITRD_BUILD_DIR)/lib64
 	# Explicitly include more w/mklibs -L.  -dawild-
 ifeq ($(ARCH),x86_64)
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to