public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] prevent package from creating dir?
  @ 2014-10-20 12:48 99% ` Michael Orlitzky
  0 siblings, 0 replies; 1+ results
From: Michael Orlitzky @ 2014-10-20 12:48 UTC (permalink / raw
  To: gentoo-user

On 10/20/2014 08:40 AM, Douglas J Hunley wrote:
> I've noticed that newer releases of systemd unconditionally create
> /var/log/journal if it doesn't exist. I'm getting tired of nuking this
> directory after every upgrade of systemd. I know how to configure
> Portage to not overwrite config files, but is there an option to _not_
> create a directory if it exists? Yes, I could edit the "Storage" line
> journald.conf but thinking bigger picture (for when some other package
> starts doing this) I'm curious if Portage can be told not to do this.
> Thanks.
> 

man make.conf:

  INSTALL_MASK = [space delimited list of file names]
    Use this variable if you want  to  selectively  prevent  certain
    files  from  being copied into your file system tree.  This does
    not work on symlinks, but only on actual files.  Useful  if  you
    wish  to  filter  out  files  like  HACKING.gz  and TODO.gz. The
    INSTALL_MASK is processed just before a package is merged.  Also
    supported  is  a  PKG_INSTALL_MASK variable that behaves exactly
    like INSTALL_MASK except that it is processed just  before  cre‐
    ation of a binary package.

Honestly I don't know if it works on empty directories, but give it a shot.



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-10-20 12:40     [gentoo-user] prevent package from creating dir? Douglas J Hunley
2014-10-20 12:48 99% ` Michael Orlitzky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox