commit:     c4887e88316e2176dc99c173ccc6af825c10f745
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  6 22:53:15 2018 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Feb  6 22:53:15 2018 +0000
URL:        https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=c4887e88

Do not install .keep files

 Makefile | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/Makefile b/Makefile
index 966e71ac..35bdb627 100644
--- a/Makefile
+++ b/Makefile
@@ -65,9 +65,7 @@ install:
 layout-dirs:
        # Create base filesytem layout
        for x in $(KEEP_DIRS) ; do \
-               test -e $(DESTDIR)$$x/.keep && continue ; \
                $(INSTALL_DIR) $(DESTDIR)$$x || exit $$? ; \
-               touch $(DESTDIR)$$x/.keep || echo "ignoring touch failure; 
mounted fs?" ; \
        done
 
 layout-BSD: layout-dirs
@@ -82,11 +80,8 @@ layout-Linux: layout-dirs
 layout: layout-dirs layout-$(OS)
        # Special dirs
        install -m 0700 -d $(DESTDIR)/root
-       touch $(DESTDIR)/root/.keep
        install -m 1777 -d $(DESTDIR)/var/tmp
-       touch $(DESTDIR)/var/tmp/.keep
        install -m 1777 -d $(DESTDIR)/tmp
-       touch $(DESTDIR)/tmp/.keep
        # FHS compatibility symlinks stuff
        ln -snf /var/tmp $(DESTDIR)/usr/tmp
 

Reply via email to