On Fri, Sep 12, 2003 at 01:00:06PM -0700, Kris Kennaway wrote:
> As part of my world-building script for creating binary distributions
> for use on bento I use the following to populate /etc in the target
> directory:
> ---
> cd /usr/src/etc
> make distribute DISTRIBUTION=/destdir TARGET_ARCH=whatever
> ---
> This used to work fine, but now it is dying with the following:
> 
> install -o root -g wheel -m 644  
> /a/asami/portbuild/amd64/5/src/etc/sendmail/freebsd.mc 
> /a/asami/portbuild/amd64/5/src/etc/sendmail/freebsd.cf //var/chroot/etc/mail
> install: /a/asami/portbuild/amd64/5/src/etc/sendmail/freebsd.cf: No such file or 
> directory
> *** Error code 71
> 
> Stop in /a/asami/portbuild/amd64/5/src/etc/sendmail.
> *** Error code 1
> 
> Indeed, freebsd.cf does not appear to be built anywhere.  Does anyone
> know what is going on?
> 
A FAQ question on current@ these days.  The ``distribute'' is
the special case of ``install''.  Before installing stuff, you
should build it first.  There was a bug in etc/sendmail/Makefile
that was attempting to build stuff during the build, that was
fixed.  You need to catch up to this (right) change and fix
your commands like this:

cd /usr/src/etc
make obj
make all
make distribute ...


Cheers,
-- 
Ruslan Ermilov          Sysadmin and DBA,
[EMAIL PROTECTED]               Sunbay Software Ltd,
[EMAIL PROTECTED]               FreeBSD committer

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to