List Info

Thread: NetBSD4.0 RC1, build.sh and syspkgs




NetBSD4.0 RC1, build.sh and syspkgs
country flaguser name
Belarus
2007-09-10 14: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.

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )