diff sources/native-builds/gentoo-stage1-files/init @ 1223:db3b0244a49e

Break down and build separate patch package on target for gentoo stage 1.
author Rob Landley <rob@landley.net>
date Mon, 23 Aug 2010 00:26:48 -0500
parents a23ee1b6b8de
children 9f58f9a6b9e4
line wrap: on
line diff
--- a/sources/native-builds/gentoo-stage1-files/init	Mon Aug 23 00:26:10 2010 -0500
+++ b/sources/native-builds/gentoo-stage1-files/init	Mon Aug 23 00:26:48 2010 -0500
@@ -96,6 +96,18 @@
 
 cd .. && rm -rf rsync || exit 1
 
+# Need a patch with --dry-run to make portage happy
+
+set_titlebar "patch" && cp -sfR /mnt/patch patch && cd patch &&
+
+./configure --prefix=/usr &&
+make -j $CPUS &&
+make install &&
+
+cd .. && rm -rf patch || exit 1
+
+
+
 set_titlebar "portage" && cd /mnt/portage &&
 
 echo portage:x:250:250:portage:/var/tmp/portage:/bin/false >> /etc/passwd &&