From b4fd892e5718b63acd33738ef688d9229e203c33 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Wed, 12 Mar 2008 20:01:49 +0000 Subject: [PATCH] Copy with -L so we get the file instead of the symlink git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@626 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- ChangeLog | 3 +++ gen_initramfs.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bea5bdf..6e149fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 12 Mar 2008; Andrew Gaffney gen_initramfs.sh: + Copy with -L so we get the file instead of the symlink + 12 Mar 2008; Andrew Gaffney gen_initramfs.sh: Fix another quoting malfunction diff --git a/gen_initramfs.sh b/gen_initramfs.sh index c803a23..232e39e 100644 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -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 -- 2.26.2