[nycbug-talk] Building a Jail on 5.4 - make error
Kevin Reiter
tux
Sun Aug 21 16:13:50 EDT 2005
All,
Just got a new install of 5.4 done this morning, and before I start
loading all kinds of crap on it for testing, I figured the best way to
do it would be to use jails. So, I pulled up the manpage for jail, and
following the instructions, I created a shellscript called
"make_jail.sh" with the following contents:
kevin at olympus [~]$ cat make_jail.sh
#!/bin/sh
D=/usr/local/jails/jail1
cd /usr/src
mkdir -p $D
make world DESTDIR=$D
cd etc
make distribution DESTDIR=$D
mount_devfs devfs $D/dev
cd $D
ln -sf dev/null kernel
When I ran it, I received this error:
cd: can't cd to /usr/src/tools/regression/usr.bin/make
--------------------------------------------------------------
>>> Building an up-to-date make(1)
--------------------------------------------------------------
cd: can't cd to /usr/src/usr.bin/make
*** Error code 2
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
Any ideas why it's looking for usr.bin instead of usr/bin ? If I knew
which file to edit to correct it, I'd do it, but I couldn't find
anything with usr.bin.
I'm going to see if Ike's jailing presentation is still on the website
to see if that gives me better joy in the meantime, but I'd still like
to know what's causing that error if anyone knows.
TIA
-Kev
More information about the talk
mailing list