Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

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 an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...