summaryrefslogtreecommitdiff
path: root/sys-apps/baselayout/files/baselayout-2.0.1-proc_touch.patch
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:24:26 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:24:26 +0200
commit7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch)
tree1684924656132935256e034f35f92abee6623265 /sys-apps/baselayout/files/baselayout-2.0.1-proc_touch.patch
Added ebuilds for kogaion desktop
Diffstat (limited to 'sys-apps/baselayout/files/baselayout-2.0.1-proc_touch.patch')
-rw-r--r--sys-apps/baselayout/files/baselayout-2.0.1-proc_touch.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/baselayout/files/baselayout-2.0.1-proc_touch.patch b/sys-apps/baselayout/files/baselayout-2.0.1-proc_touch.patch
new file mode 100644
index 00000000..7b7df780
--- /dev/null
+++ b/sys-apps/baselayout/files/baselayout-2.0.1-proc_touch.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/232823
+http://sources.gentoo.org/cgi-bin/viewvc.cgi/baselayout/trunk/Makefile?r1=3171&r2=3172
+
+--- Makefile
++++ Makefile
+@@ -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 $$?