Commits

Eric Dowd committed 1044f2d Merge
  • Participants
  • Parent commits 6c803fd, c216fca

Comments (0)

Files changed (4)

build_gentoo_32.sh

 
 echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: hostname = $server"
 
-echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: Wait 60 seconds, just in case, for server to finish coming up"
+echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: Wait 120 seconds, just in case, for server to finish coming up"
 
-sleep 60
+sleep 120
 
 echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: copying files to remote server"
 
 
 echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: hostname = $server"
 
-echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: Wait 60 seconds, just in case, for server to finish coming up"
+echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: Wait 120 seconds, just in case, for server to finish coming up"
 
-sleep 60
+sleep 120
 
 echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: checking connection"
 up_check=`ssh -o StrictHostKeyChecking=no -i $keyfile -t ec2-user@$server "uname -a" | wc -c`

build_gentoo_64.sh

 $boot_image \
 --group $group \
 --key $key \
---instance-type c1.xlarge \
+--instance-type c1.large \
 --block-device-mapping "/dev/sdf=:10" \
 | grep "^INSTANCE" \
 | awk '{ print $2 }'`
 
 echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: hostname = $server"
 
-echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: Wait 60 seconds, just in case, for server to finish coming up"
+echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: Wait 120 seconds, just in case, for server to finish coming up"
 
-sleep 60
+sleep 120
 
 echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: copying files to remote server"
 
 
 echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: hostname = $server"
 
-echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: Wait 60 seconds, just in case, for server to finish coming up"
+echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: Wait 120 seconds, just in case, for server to finish coming up"
 
-sleep 60
+sleep 120
 
 echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: checking connection"
 up_check=`ssh -o StrictHostKeyChecking=no -i $keyfile -t ec2-user@$server "uname -a" | wc -c`

i386/remote_gentoo.sh

 # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
 CHOST="i686-pc-linux-gnu"
 MAKEOPTS="-j3"
+EMERGE_DEFAULT_OPTS= "--jobs=2 --load-average=3.0"
 EOF
 
 mkdir -p /mnt/gentoo/etc/portage
 sys-fs/lvm2
 sys-fs/mdadm
 sys-kernel/gentoo-sources
-sys-process/vixie-cron
+sys-process/fcron
+sys-process/atop
 EOF
 
 echo "/tmp/build.sh"
 rc-update add net.eth0 default
 rc-update add sshd default
 rc-update add syslog-ng default
-rc-update add vixie-cron default
+rc-update add fcron default
 rc-update add ntpd default
 rc-update add lvm boot
 rc-update add mdraid boot

x86_64/remote_gentoo.sh

 # profile used for building.
 USE="mmx sse sse2"
 MAKEOPTS="-j9"
+EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=8.0"
 EOF
 
 mkdir -p /mnt/gentoo/etc/portage
 sys-fs/lvm2
 sys-fs/mdadm
 sys-kernel/gentoo-sources
-sys-process/vixie-cron
+sys-process/fcron
+sys-process/atop
 EOF
 
 echo "/tmp/build.sh"
 rc-update add net.eth0 default
 rc-update add sshd default
 rc-update add syslog-ng default
-rc-update add vixie-cron default
+rc-update add fcron default
 rc-update add ntpd default
 rc-update add lvm boot
 rc-update add mdraid boot