Subject: postinstall giving errors
To: None <netbsd-users@netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: netbsd-users
Date: 09/11/2002 11:57:08
Hello

I do the following to update the /etc tree in some of my machines:

# rm -rf /tmp/temproot
# mkdir /tmp/temproot
# cd /tmp/temproot
# tar xzpf /mass/NetBSD-current/binary/sets/etc.tgz
# etcupdate -b /tmp/temproot

Everything goes perfect until `etcupdate' reaches the postinstall
stage. I get lots of errors there. For example:

rc check:
        /tmp/temproot/etc/rc != /etc/rc
        /tmp/temproot/etc/rc.subr != /etc/rc.subr
        /tmp/temproot/etc/rc.shutdown != /etc/rc.shutdown
[...]

Instead, if I run postinstall directly from /etc, using the sources
in /usr/src, I get no errors.

Why is this?

Thanks

-- 
HispaBSD admin - http://www.HispaBSD.org
For the developer - http://buildtool.sourceforge.net
Julio Merino <jmmv@hispabsd.org>