Change to new temp directory so the firmware gets copied to the right place

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@627 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Andrew Gaffney 17 years ago
parent b4fd892e57
commit 565bb21a48

@ -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

@ -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

Loading…
Cancel
Save