Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702778 - sys-boot/tboot-1.9.6_p20171118 installs orphan files
Summary: sys-boot/tboot-1.9.6_p20171118 installs orphan files
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-13 23:18 UTC by Ulrich Müller
Modified: 2019-12-13 23:18 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 Ulrich Müller gentoo-dev 2019-12-13 23:18:17 UTC
In pkg_postinst():

        cp ${ROOT%/}/usr/lib/tboot/boot/* ${ROOT%/}/boot/

The files in ${ROOT%/}/boot/ won't be recorded in the VDB, and therefore will remain as orphans when the package is removed.

This should be moved to src_install (which AFAICS could be simplified then).