Subject: ${PKG_SYSCONFBASE} outside ${LOCALBASE}
To: None <tech-pkg@NetBSD.org>
From: Jukka Salmi <jukka-netbsd@2004.salmi.ch>
List: tech-pkg
Date: 05/18/2004 22:28:32
Hi,
on a newly set up NetBSD current system I set PKG_SYSCONFBASE=/etc/pkg
because I wanted to keep all configuration files on the same filesystem.
After building some packages using current pkgsrc I noticed rc.d scripts
were copied to ${PREFIX}/etc/rc.d, so I set
RCD_SCRIPTS_EXAMPLEDIR=${PKG_SYSCONFBASE}/rc.d - but that didn't work as
expected, ${LOCALBASE}/etc/rc.d was created by the first package I
installed:
$ cd /usr/pkgsrc/devel/autoconf213 && make package
[...]
===> do-su-install [autoconf213-2.13] ===> Becoming root@himo.salmi.ch to install autoconf213.
/usr/pkg/bin/sudo missing: ./etc (created)
missing: ./etc/rc.d (created)
/bin/sh ./mkinstalldirs /usr/pkg/bin /usr/pkg/info /usr/pkg/share/autoconf
[...]
Since then packages complain when being installed:
$ cd /usr/pkgsrc/devel/bison && make package
[..]
===> do-su-install [bison-1.875nb1] ===> Becoming root@himo.salmi.ch to install bison.
/usr/pkg/bin/sudo etc/rc.d:
type (dir, link)
Making install in config
What am I missing? I.e. how can I convince pkgsrc to use /etc/pkg/rc.d
instead of /usr/pkg/etc/rc.d?
TIA, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~