Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 396073

Summary: sys-kernel/linux-firmware installs empty directories into /lib/firmware with USE="savedconfig"
Product: Gentoo Linux Reporter: Andrey <ahipp0>
Component: New packagesAssignee: Greg Kroah-Hartman (RETIRED) <gregkh>
Status: RESOLVED FIXED    
Severity: normal CC: chithanh, kernel
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Proposed fix for linux-firmware-20110818.ebuild

Description Andrey 2011-12-26 12:23:04 UTC
When emerging sys-kernel/linux-firmware with USE="savedconfig", it prevents unneeded firmware blobs from installing, but leaves empty directories, that pollutes /lib/modules.

Reproducible: Always

Steps to Reproduce:
1. Remove all but one firmware blob from /etc/portage/savedconfig/sys-kernel/linux-firmware-*
2. USE="savedconfig" emerge sys-kernel/linux-firmware
Actual Results:  
Many empty directories in /lib/firmware

Expected Results:  
No stale empty directories in /lib/firmware
Comment 1 Andrey 2011-12-26 12:26:23 UTC
Created attachment 296975 [details, diff]
Proposed fix for linux-firmware-20110818.ebuild
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-02-03 23:39:38 UTC
Fixed in linux-firmware-20120125
Comment 3 Andrey 2012-02-04 08:16:24 UTC
(In reply to comment #2)
> Fixed in linux-firmware-20120125

Thank you!
Works fine now.