Re: 'cd /usr/src/etc; make distribute' broken.
From: Ruslan Ermilov (ru_at_freebsd.org)
Date: 09/12/03
- Previous message: Ruslan Ermilov: "Re: FreeBSD as bluetooth gateway for a PDA"
- In reply to: Kris Kennaway: "'cd /usr/src/etc; make distribute' broken."
- Next in thread: Kris Kennaway: "Re: 'cd /usr/src/etc; make distribute' broken."
- Reply: Kris Kennaway: "Re: 'cd /usr/src/etc; make distribute' broken."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 12 Sep 2003 23:14:15 +0300 To: Kris Kennaway <kris@obsecurity.org>
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, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer
- application/pgp-signature attachment: stored
- Previous message: Ruslan Ermilov: "Re: FreeBSD as bluetooth gateway for a PDA"
- In reply to: Kris Kennaway: "'cd /usr/src/etc; make distribute' broken."
- Next in thread: Kris Kennaway: "Re: 'cd /usr/src/etc; make distribute' broken."
- Reply: Kris Kennaway: "Re: 'cd /usr/src/etc; make distribute' broken."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|