tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cyclic dependency on NetBSD



Thus wrote S.P.Zeidler (spz%NetBSD.org@localhost):

> Thus wrote John Nemeth (jnemeth%cue.bc.ca@localhost):
> 
> > On Dec 22, 17:02, "S.P.Zeidler" wrote:
> > } Thus wrote John Nemeth (jnemeth%cue.bc.ca@localhost):
> > } 
> > } >      My solution for pbulk was to follow the regular pkgsrc
> > } > instructions on the host (under "Other NetBSD versions"), including
> > } > copying the binaries from /usr/pkg/sbin to /usr/sbin.  Then in
> > } > pbulk.conf (/usr/local/pbulk/usr/pbulk/etc/pbulk.conf on my systems),
> > } > set pkgdb to /usr/pkg/pkgdb.  Since /usr/sbin is "null" mounted
> > } > into the pbulk chroot, these steps solved everything.
> > } 
> > } Do you build the full set or a subset of packages?
> > 
> >      Subset, including pkgin, which has a dependency on pkg_install.
> 
> Building a subset works (I started armbulk1 on zsh and firefox).

Unless Manuel tried something on amd64-nb9 that I'm not seeing,
nuking the previous bulklog and starting really from scratch also works.

Summary instruction for pbulk with the present set of mk:

- update tree
- set PKG_DBDIR in 
  + /etc/pkg_install.conf
  + /etc/mk.conf
  + /usr/pkg/etc/pkg_install.conf
  wherever pbulk runs or packages get built
- set pkgdb in pbulk.conf
- build pkg_install using "make USE_CWRAPPERS=no install"
- cd /usr/pkg/sbin && install -c pkg_add pkg_admin pkg_create pkg_delete pkg_info /usr/sbin/
- remove the old bulklog dir(s)
- start new pbulk run

regards,
	spz


Home | Main Index | Thread Index | Old Index