commit: 63accc51997bc0433f2ce3c9f637a656eac649e7 Author: Paymon <darwinskernel <AT> gmail <DOT> com> AuthorDate: Mon Jul 18 14:37:16 2022 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sun Sep 18 03:21:01 2022 +0000 URL: https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=63accc51
Relax checks on KEEPDIR when directories are mounted fs My use case for this is in containers (mkosi with systemd-nspawn in my case) Closes: https://github.com/gentoo/baselayout/pull/2 Signed-off-by: Paymon <darwinskernel <AT> gmail.com> Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e0266d2a..230acbc5 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ layout-dirs: # Create base filesytem layout for x in $(KEEP_DIRS) ; do \ test -e $(DESTDIR)$$x/.keep && continue ; \ - $(INSTALL_DIR) $(DESTDIR)$$x || exit $$? ; \ + $(INSTALL_DIR) $(DESTDIR)$$x ; \ touch $(DESTDIR)$$x/.keep || echo "ignoring touch failure; mounted fs?" ; \ done
