Skip to contentSkip to conversation

svn commit: trunk/buildroot/target/linux

Buildroot ninevoltz at uclibc.org 1 participant 1 message Mar 21, 2008

lore
Share & tools
lore
#0 lore raw

Author: ninevoltz
Date: 2008-03-21 10:57:02 -0700 (Fri, 21 Mar 2008) New Revision: 21441

Log:
kernel 2.6.24 creates a symlink to bzImage, which is copied inplace, symlink and all, this gives an incorrect symlink deref in binaries/uclibc/ and points to ../../x86/bzImage. Do not copy symlink in place, follow it. Patch by Nigel Kukard.

Modified:
trunk/buildroot/target/linux/Makefile.in

Changeset:
Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================

buildroot/target/linux/Makefile.in +1 -1
@@ -191,7 +191,7 @@
 		$(LINUX26_DIR)/.depend_done
 	$(MAKE) $(LINUX26_MAKE_FLAGS) \
 		-C $(LINUX26_DIR) $(LINUX26_FORMAT)
-	cp -dpf $(LINUX26_DIR)/$(LINUX26_BINLOC) $(LINUX26_KERNEL)
+	cp -pf $(LINUX26_DIR)/$(LINUX26_BINLOC) $(LINUX26_KERNEL)
 	touch -c $@
 
 $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION)/modules.dep: $(LINUX26_DIR)/.configured