Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396073 - sys-kernel/linux-firmware installs empty directories into /lib/firmware with USE="savedconfig"
Summary: sys-kernel/linux-firmware installs empty directories into /lib/firmware with ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-26 12:23 UTC by Andrey
Modified: 2012-02-04 08:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed fix for linux-firmware-20110818.ebuild (delete_empty_dirs.patch,435 bytes, patch)
2011-12-26 12:26 UTC, Andrey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.