On Fri, 18 Apr 2008, Gabriel JEAN wrote:
Then I follow the handbook method so I use the following command:
./build.sh -O ../obj -T ../tools -U -u distribution
That should be fine.
install-etc-files ===> etc
# create etc//usr/src/etc/MAKEDEV
MACHINE=i386 MACHINE_ARCH=i386 NETBSDSRCDIR=/usr/src awk -f
/usr/src/etc/MAKEDEV.awk /usr/src/etc/MAKEDEV.tmpl >
/usr/src/etc/MAKEDEV
Here, it's creating MAKEDEV in the source directory, not in the
obj directory. I don't know why.
[later]
# install /usr/src/../obj/destdir.i386/dev/MAKEDEV
cd /usr/src/../obj/etc &&
/usr/src/../tools/bin/i386--netbsdelf-install -U -M
/usr/src/../obj/destdir.i386/METALOG -D /usr/src/../obj/destdir.i386
-h sha1 -N /usr/src/etc -c -p -r -T etc_pkg -o root -g wheel -m 555
MAKEDEV /usr/src/../obj/destdir.i386/dev
i386--netbsdelf-install: MAKEDEV: stat: No such file or directory
Here, it's trying to install MAKEDEV from the obj directory, but that
file doesn't exist.
--apb (Alan Barrett)