public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] baselayout r3172 - trunk
@ 2010-02-06  1:32 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2010-02-06  1:32 UTC (permalink / raw
  To: gentoo-commits

Author: vapier
Date: 2010-02-06 01:32:03 +0000 (Sat, 06 Feb 2010)
New Revision: 3172

Modified:
   trunk/Makefile
Log:
ignore touch failures when doing layout on live fs #232823

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2010-01-24 20:32:16 UTC (rev 3171)
+++ trunk/Makefile	2010-02-06 01:32:03 UTC (rev 3172)
@@ -49,8 +49,9 @@
 layout:
 	# 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 || exit $$? ; \
+		touch $(DESTDIR)$$x/.keep || echo "ignoring touch failure; mounted fs?" ; \
 	done
 	# Special dirs
 	install -m 0700 -d $(DESTDIR)/root || exit $$?




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-06  1:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-06  1:32 [gentoo-commits] baselayout r3172 - trunk Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox