version 1.27, 2011/02/23 19:14:34
|
version 1.33, 2011/02/23 22:02:15
|
Line 101 ftp -a 'http://ftp.netbsd.org/pub/NetBSD
|
Line 101 ftp -a 'http://ftp.netbsd.org/pub/NetBSD
|
tar -xzpf src.tar.gz |
tar -xzpf src.tar.gz |
cd src |
cd src |
# build distribution and kernel |
# build distribution and kernel |
./build.sh -O ../obj -T ../tools -D ../dest -R ../release -V INSTALLSETS="base etc" -m amd64 -U distribution |
./build.sh -O ../obj -T ../tools -D ../dest -R ../release -m amd64 -U distribution |
./build.sh -O ../obj -T ../tools -m amd64 kernel=XEN3_DOMU |
./build.sh -O ../obj -T ../tools -m amd64 kernel=XEN3_DOMU |
# install distribution in /mnt/ec2 |
# install distribution in /mnt/ec2 |
./build.sh -O ../obj -T ../tools -D ../dest -R ../release -U install=/mnt/ec2 |
su root ./build.sh -O ../obj -T ../tools -D ../dest -R ../release -U -V INSTALLSETS="base etc" install=/mnt/ec2 |
"""]] |
"""]] |
|
|
# Configuration of your NetBSD EC2 tree |
# Configuration of your NetBSD EC2 tree |
Line 199 procfs /proc procfs rw
|
Line 199 procfs /proc procfs rw
|
EOF |
EOF |
# EC2 startup script (if you installed it) |
# EC2 startup script (if you installed it) |
if [ -f etc/rc.d/ec2_init ]; then |
if [ -f etc/rc.d/ec2_init ]; then |
chmod 755 etc/rc.d/ec2_init |
chmod 555 etc/rc.d/ec2_init |
fi |
fi |
"""]] |
"""]] |
|
|