this might be superflous at this point,
but I wanted to see what the smallest number
of changes necessary to the alpha5 i386 
ami-3520c05c / aki-dc06e6b5 /  ari-de06e6b7
2.6.31 kernel were needed in order to re-bundle at will.

echo "EC2_HOME=/usr/lib/ec2-ami-tools
EC2_PRIVATE_KEY=/appl/pk-V6JAMNSK2VIDB4GUBXK7BFMRQOX2Z43B.pem
EC2_CERT=/appl/cert-V6JAMNSK2VIDB4GUBXK7BFMRQOX2Z43B.pem
JAVA_HOME=/usr/lib/jvm/java-6-sun" >> /etc/environment
. /etc/environment   # gets executed on sudo
echo "deb http://us.archive.ubuntu.com/ubuntu/ karmic-updates multiverse" >> 
/etc/apt/sources.list
apt-get update
apt-get install -y unzip sun-java6-jre
cd $EC2_HOME
wget https://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip
unzip ec2-api-tools.zip
rm ec2-api-tools-*/bin/*.cmd
mv ec2-api-tools-*/bin  .
cp bin/* /usr/bin
mv ec2-api-tools-*/lib/* lib
rm -r ec2-api-tools.zip ec2-api-tools-*

# link works until the MIR is approved?
wget 
http://ppa.launchpad.net/timg-tpi/ubuntu/pool/main/l/linux-ec2/linux-image-2.6.31-300-ec2_2.6.31-300.2_i386.deb
apt-get install wireless-crda   # unusual dependency
dpkg -i /appl/linux-image-2.6.31-300-ec2_2.6.31-300.2_i386.deb

ec2-bundle-vol -d /mnt -p reb-ka5 --cert /appl/cert-1234567890.pem
--privatekey pk-1234567890.pem -u 400008040000 -r i386 --kernel aki-
dc06e6b5 --ramdisk ari-de06e6b7 --ec2cert /etc/ec2/amitools/cert-ec2.pem

ec2-upload-bundle -b ka5 -m /mnt/reb-ka5.manifest.xml --access-key
1234567890A6M0G2 --secret-key  t123b+qvlG

ec2reg ka5/reb-ka5.manifest.xml

-- 
Karmic EC2 images don't use a karmic kernel
https://bugs.launchpad.net/bugs/418130
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to