Change to new temp directory so the firmware gets copied to the right place
authorAndrew Gaffney <agaffney@gentoo.org>
Wed, 12 Mar 2008 20:33:50 +0000 (20:33 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Wed, 12 Mar 2008 20:33:50 +0000 (20:33 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@627 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
gen_initramfs.sh

index 6e149fedb42fdb7363014723fe7b2034fe7161a3..983b088f9b3c9634eee27bc6eed974eaad5c3961 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:
+  Change to new temp directory so the firmware gets copied to the right place
+
   12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
   Copy with -L so we get the file instead of the symlink
 
index 232e39ebb1bd1a36dfe6a4dd50ef007056c0c29e..761f0fad3b7fa48bc6fb70b7eb42b6ca1f0806a2 100644 (file)
@@ -262,6 +262,7 @@ append_firmware() {
                rm -r "${TEMP}/initramfs-firmware-temp/"
        fi
        mkdir -p "${TEMP}/initramfs-firmware-temp/lib/firmware"
+       cd "${TEMP}/initramfs-firmware-temp/lib/firmware"
        if [ -n "${FIRMWARE_FILES}" ]
        then
                OLD_IFS=$IFS