public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Drake Wyrm <wyrm@haell.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] .keep files
Date: Sat, 21 May 2005 17:37:53 -0700	[thread overview]
Message-ID: <20050522003753.GA15776@phaenix.haell.com> (raw)
In-Reply-To: <1116707899.20765.0.camel@blackwidow>

[-- Attachment #1: Type: text/plain, Size: 939 bytes --]

marduk <marduk@gentoo.org> wrote:
> On Sat, 2005-05-21 at 22:28 +0200, Andrej Kacian wrote:
> > Are .keep files necessary in a live filesystem? AFAIK they're only
> > there to keep portage from removing a directory from emerge-time
> > image. Would it be possible to just remove them from live filesystem
> > after package files are merged to / ?
> > 
> > Or do .keep files serve another purpose, not obvious to me?
> > 
> 
> I always thought that they were to keep 'emerge unmerge' from removing
> an empty directory, but I could be wrong...

That, and to keep portage from removing empty directories during the
post-merge clean phase. Were it not for the .keep files, portage would
cheerfully remove any empty directories the first time the package was
upgraded.

-- 
Batou: Hey, Major... You ever hear of "human rights"?
Kusanagi: I understand the concept, but I've never seen it in action.
  --Ghost in the Shell

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2005-05-22  0:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-21 20:28 [gentoo-dev] .keep files Andrej Kacian
2005-05-21 20:38 ` marduk
2005-05-22  0:34   ` Jason Stubbs
2005-05-22  0:37   ` Drake Wyrm [this message]
2005-05-22 19:19     ` Andrej Kacian
2005-05-22 21:31       ` Marius Mauch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050522003753.GA15776@phaenix.haell.com \
    --to=wyrm@haell.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox