From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/baselayout/files: baselayout-2.0.1-proc_touch.patch |
Date: | Thu, 04 Nov 2010 00:34:00 |
Message-Id: | 20101104003357.0B3FD20051@flycatcher.gentoo.org |
1 | ssuominen 10/11/04 00:33:56 |
2 | |
3 | Added: baselayout-2.0.1-proc_touch.patch |
4 | Log: |
5 | Fix Stage1 building wrt #232823. |
6 | |
7 | (Portage version: 2.2.0_alpha3/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-apps/baselayout/files/baselayout-2.0.1-proc_touch.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/baselayout/files/baselayout-2.0.1-proc_touch.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/baselayout/files/baselayout-2.0.1-proc_touch.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: baselayout-2.0.1-proc_touch.patch |
16 | =================================================================== |
17 | https://bugs.gentoo.org/232823 |
18 | http://sources.gentoo.org/cgi-bin/viewvc.cgi/baselayout/trunk/Makefile?r1=3171&r2=3172 |
19 | |
20 | --- Makefile |
21 | +++ Makefile |
22 | @@ -49,8 +49,9 @@ |
23 | layout: |
24 | # Create base filesytem layout |
25 | for x in $(KEEP_DIRS) ; do \ |
26 | + test -e $(DESTDIR)$$x/.keep && continue ; \ |
27 | $(INSTALL_DIR) $(DESTDIR)$$x || exit $$? ; \ |
28 | - touch $(DESTDIR)$$x/.keep || exit $$? ; \ |
29 | + touch $(DESTDIR)$$x/.keep || echo "ignoring touch failure; mounted fs?" ; \ |
30 | done |
31 | # Special dirs |
32 | install -m 0700 -d $(DESTDIR)/root || exit $$? |