Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: building ec2 amis



On Thu, 3 Mar 2011 22:25:42 -0500, Jan Schaumann <jschauma%netmeister.org@localhost> wrote:
Hello,

I'm trying to follow http://wiki.netbsd.org/amazon_ec2/ to build a new
AMI, but I've not been successful.  After

su root ./build.sh -O ../obj -T ../tools -D ../dest -R ../release -U -V \
        INSTALLSETS="base etc" install=/mnt/ec2

I find that /mnt/ec2 looks not completely populated. /mnt/ec2/etc/rc.d/ is
empty, as is /mnt/ec2/etc/ssh/; running

makefs -t ffs -B le -s 256m -N /mnt/ec2/etc/ -o density=32k \
        /tmp/NetBSD-AMI.img /mnt/ec2/

then yields:

makefs: Unable to use user and group databases in `/mnt/ec2/etc'

Is it possible that there are some steps missing from the wiki?

Most likely, the etc set is not extracted, because of [1].

You need a -current updated src/; patch for -5 has a pull-up request. But it's still in the pipe, as it is a commodity fix.

[1] http://www.mail-archive.com/source-changes-full%netbsd.org@localhost/msg22423.html

--
Jean-Yves Migeon
jean-yves.migeon%espci.fr@localhost


Home | Main Index | Thread Index | Old Index