changeset 1219:a23ee1b6b8de

Break link (touch gets confused that /mnt is a read-only squashfs).
author Rob Landley <rob@landley.net>
date Sat, 21 Aug 2010 02:47:39 -0500
parents fd67d5a442c9
children e20d4f39809e
files sources/native-builds/gentoo-stage1-files/init
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/native-builds/gentoo-stage1-files/init	Sat Aug 21 02:46:30 2010 -0500
+++ b/sources/native-builds/gentoo-stage1-files/init	Sat Aug 21 02:47:39 2010 -0500
@@ -87,7 +87,10 @@
 set_titlebar "rsync" && cp -sfR /mnt/rsync rsync && cd rsync &&
 
 ./configure --prefix=/usr &&
-touch proto.h-tstamp &&
+# Break link and touch file, otherwise ./configure tries to recreate it
+# which requires perl.
+cat proto.h-tstamp > proto.h.new &&
+mv -f proto.h.new proto.h-tstamp &&
 make -j $CPUS &&
 make install &&