Subject: NetBSD4.0 RC1, build.sh and syspkgs
To: None <tech-userlevel@NetBSD.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: tech-userlevel
Date: 09/10/2007 22:45:52
Usually I build NetBSD system by the following commands
without root priviledges.

$ ./build.sh -u tools
$ ./build.sh -T ../obj/tools -u kernel=GENERIC
$ sudo mv /netbsd /netbsd.old && sudo cp sys/arch/i386/compile/GENERIC/netbsd /
$ sudo reboot
$ ./build.sh -T ../obj/tools -u -x build
$ ./build.sh -T ../obj/tools -u -x sets

$ ./build.sh -T ../obj/tools -u -x syspkgs
$ sudo ./build.sh -T ../obj/tools -u -x install=/

I assume that two latest commands should create /var/db/syspkg directory
and create full syspkg database in it.
But this directory is not created.
At the same time DESTDIR/var/db/syspkg (filled by ./build.sh syspkgs)
is created and seems good, at least I see several hundreds files there.

/etc/mk.conf:
...
MKOBJDIRS=yes
MKUNPRIVED=yes

It seems to me that
./builds.sh install=/
should install syspkg database.

Should I send-pr about this or this is a feature and I should create
/var/db/syspkg manually (by copying DESTDIR/var/db/syspkg)?

-- 
Best regards, Aleksey Cheusov.