Copy with -L so we get the file instead of the symlink
authorAndrew Gaffney <agaffney@gentoo.org>
Wed, 12 Mar 2008 20:01:49 +0000 (20:01 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Wed, 12 Mar 2008 20:01:49 +0000 (20:01 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@626 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
gen_initramfs.sh

index bea5bdf77dff6b0b4568c84e75c21c2cc2a3be6f..6e149fedb42fdb7363014723fe7b2034fe7161a3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
+  Copy with -L so we get the file instead of the symlink
+
   12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
   Fix another quoting malfunction
 
index c803a23ee1aed40c87752bb7af418c55d65f3e6b..232e39ebb1bd1a36dfe6a4dd50ef007056c0c29e 100644 (file)
@@ -268,7 +268,7 @@ append_firmware() {
                IFS=","
                for i in ${FIRMWARE_FILES}
                do
-                       cp -a "${i}" ${TEMP}/initramfs-firmware-temp/lib/firmware/
+                       cp -L "${i}" ${TEMP}/initramfs-firmware-temp/lib/firmware/
                done
                IFS=$OLD_IFS
        else