Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706332 - sys-kernel/vanilla-kernel-5.4.13: unmerging leaves a file in /usr/src
Summary: sys-kernel/vanilla-kernel-5.4.13: unmerging leaves a file in /usr/src
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-25 16:43 UTC by Jan Ziak (atomsymbol)
Modified: 2020-01-25 18:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Ziak (atomsymbol) 2020-01-25 16:43:47 UTC
Hi. When upgrading vanilla-kernel from 5.4.13 to 5.4.14 and unmerging the older version, the following file belonging to 5.4.13 hasn't been deleted:

/usr/src/linux-5.4.13/arch/x86/boot/initrd
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-25 17:57:09 UTC
Good catch.  Will push an update soonish.
Comment 2 Larry the Git Cow gentoo-dev 2020-01-25 18:29:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=904b2a23c2aacdab32af335d9875aec391ee0268

commit 904b2a23c2aacdab32af335d9875aec391ee0268
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-01-25 18:01:50 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-01-25 18:29:17 +0000

    kernel-install.eclass: Remove initramfs in postrm
    
    Closes: https://bugs.gentoo.org/706332
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 eclass/kernel-install.eclass | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)