Bug 39552
Summary: | Linux buildsystem installs AMD Radeon firmware during "make install" | ||
---|---|---|---|
Product: | Other | Reporter: | Dennis Schridde (devurandom) |
Component: | Other | Assignee: | Michal Marek (mmarek) |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | aklhfex, mmarek, rdunlap |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.2.1 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
.config (2.6.39-gentoo-r3)
/sbin/installkernel Log of "make V=1 modules_install" |
Description
Dennis Schridde
2011-07-19 07:59:05 UTC
Are you sure that it's not your /sbin/installkernel doing this? Please attach the full output of make V=1 install. Created attachment 66352 [details]
/sbin/installkernel
This is /sbin/installkernel and /etc/kernel/postinst.d is empty.
Created attachment 66362 [details]
Log of "make V=1 modules_install"
First: Please excuse me, the firmware is installed by "modules_install", not "install".
The last thing "make -j3" did was:
IHEX firmware/radeon/R100_cp.bin
IHEX firmware/radeon/R200_cp.bin
IHEX firmware/radeon/R420_cp.bin
IHEX firmware/radeon/R300_cp.bin
IHEX firmware/radeon/RS690_cp.bin
IHEX firmware/radeon/RS600_cp.bin
IHEX firmware/radeon/R520_cp.bin
IHEX firmware/radeon/R600_pfp.bin
IHEX firmware/radeon/R600_me.bin
IHEX firmware/radeon/RV610_me.bin
IHEX firmware/radeon/RV610_pfp.bin
IHEX firmware/radeon/RV630_pfp.bin
IHEX firmware/radeon/RV630_me.bin
IHEX firmware/radeon/RV620_pfp.bin
IHEX firmware/radeon/RV620_me.bin
IHEX firmware/radeon/RV635_pfp.bin
IHEX firmware/radeon/RV635_me.bin
IHEX firmware/radeon/RV670_pfp.bin
IHEX firmware/radeon/RV670_me.bin
IHEX firmware/radeon/RS780_pfp.bin
IHEX firmware/radeon/RS780_me.bin
IHEX firmware/radeon/RV770_pfp.bin
IHEX firmware/radeon/RV730_pfp.bin
IHEX firmware/radeon/RV730_me.bin
IHEX firmware/radeon/RV770_me.bin
IHEX firmware/radeon/RV710_pfp.bin
IHEX firmware/radeon/RV710_me.bin
The log of the following "make V=1 modules_install" is attached.
That's correct behavior then, modules_install installs firmware files needed by the installed modules. But thereby it might override files installed by the package manager. I am judging by seeing these files being reinstalled everytime I compile a new kernel, since I am unable to fully understand scripts/Makefile.fwinst But thereby it might override files installed by the package manager. I am judging by seeing these files being reinstalled everytime I compile a new kernel, since I am unable to fully understand scripts/Makefile.fwinst Or am I wrong? If so, how does it work? (In reply to comment #4) > That's correct behavior then, modules_install installs firmware files needed > by > the installed modules. Can you please reply why the files installed by the package manager are not sufficient? All those files are already present, installed by a system package. make <whatever>install simply (re)installs the files it is supposed to install, that's the same with every other project. You may argue with David Woodhouse about the default firmware install directory (/lib/firmware vs. /lib/firmware/$version), but there is no bug that these files are installed. |