Gentoo Archives: gentoo-dev

From: Peter Stuge <peter@×××××.se>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] find ${D} -delete in src_install() ?
Date: Tue, 15 Jul 2014 10:24:39
Message-Id: 20140715102431.22988.qmail@stuge.se
In Reply to: Re: [gentoo-dev] find ${D} -delete in src_install() ? by Samuli Suominen
1 Samuli Suominen wrote:
2 > > Is it really acceptable for an ebuild to delete all files in $D
3 > > which have a particular name?
4 >
5 > Of course, why wouldn't it be? $D is the image directory of the
6 > package before it's merged to actual filesystem,
7
8 Ah yes! Of course - no problem!
9
10
11 > and even if it weren't, it specifies -name as well, so it's double-safe
12
13 If $D was in my root I sure would not want ebuilds to randomly delete
14 files only based on filename.
15
16
17 Thanks for the explanation!
18
19 //Peter

Replies

Subject Author
[gentoo-dev] Re: find ${D} -delete in src_install() ? Duncan <1i5t5.duncan@×××.net>