Jump to content
Forums in Read-Only Mode - Please use Reddit ×

files: .keep_sys-apps_baselayout-0


Recommended Posts

This is probably an absolute [gen|fun]too noob type question, but curiosity gets the best of me.

 

I've noticed these numerous 0-length hidden files in different directories in Funtoo.

I'm assuming there related to "baselayout" ebuild.

 

But what exactly is the purpose of these ".keep_sys-apps_baselayout-0" files?

Link to comment
Share on other sites

It's fine, do not remove them. baselayout ebuild installing system directories (like /var/  /var/lock, etc, for a complete list look inside ebuild) by using a keepdir. i.e /run created with keepdir /run. It tells portage to leave directories behind even if they are empty (or emptied). Other than that it's same as dodir ebuild function

Link to comment
Share on other sites

×
×
  • Create New...