-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
The following patch deprecates use of the FIRMWARE_DIR variable:
commit 1d946d903c93cd022611eff180c52e2df5855a14 Author: Daniel Robbins <drobbins@funtoo.org> Date: Wed Mar 9 21:00:07 2011 -0700 firmware improvements: --firmware-dst defines where firmware is installed *to* - this is useful when using genkernel within ebuilds and you want to write firmware to somewhere in $WORKDIR. Defaults to /lib/firmware. --firmware-src replaces --firmware-dir (still supported) and defaults to --firmware-dst.
However, in gen_initramfs.sh, we can see that no firmware files will be appended to the image if FIRMWARE_DIR is not set, irregardless of wether FIRMWARE_SRC is defined or not.
if isTrue "${FIRMWARE}" && [ -n "${FIRMWARE_DIR}" ] then append_data 'firmware' fi
Fix attached.
- relates to
-
FL-1217 Improve the state of sys-kernel/genkernel
- Closed