From 1ac56c233e4b21637df6a1cb80b8703d47049165 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 4 Nov 2011 03:50:17 +0000 Subject: [PATCH] * Handle x86_64. svn path=/nixos/trunk/; revision=30220 --- maintainers/scripts/create-amis.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maintainers/scripts/create-amis.sh b/maintainers/scripts/create-amis.sh index 8f8c198957e9..985eea727f17 100755 --- a/maintainers/scripts/create-amis.sh +++ b/maintainers/scripts/create-amis.sh @@ -13,7 +13,7 @@ buildAndUploadFor() { ec2-bundle-image -i ./ec2-ami/nixos.img --user "$AWS_ACCOUNT" --arch "$arch" \ -c "$EC2_CERT" -k "$EC2_PRIVATE_KEY" - name="$(echo nixos-$arch-r$revision | tr '[A-Z]' '[a-z]')" + name="$(echo nixos-$arch-r$revision | tr '[A-Z]_' '[a-z]-')" bucket="$name-eu" ec2-upload-bundle -b "$bucket" -m /tmp/nixos.img.manifest.xml \ -a "$AWS_ACCESS_KEY_ID" -s "$AWS_SECRET_ACCESS_KEY" --location EU @@ -33,5 +33,5 @@ buildAndUploadFor() { ec2-modify-image-attribute "$ami" -l -a all } -buildAndUploadFor i686-linux i386 -#buildAndUploadFor x86_64-linux x86_64 +#buildAndUploadFor i686-linux i386 +buildAndUploadFor x86_64-linux x86_64