From owner-freebsd-stable@FreeBSD.ORG Tue Sep 26 08:10:54 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2EE816A403 for ; Tue, 26 Sep 2006 08:10:54 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7121E43D53 for ; Tue, 26 Sep 2006 08:10:54 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so2822520pye for ; Tue, 26 Sep 2006 01:10:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nNGkSOcI54xixoVeVsMFjUma+v5vFmsaHjGIVBV3CXefO91/obNjsefUHEED5WXy2xTfqJT/gTWtf6Gxz83C8DhKD5tkCapAHPxq7odDo+hZlC3jLTFBMIWbGEFcarhea8KWAWJujSBHah+d9ih1nc8CgRGpfAWSae0elP9XAHs= Received: by 10.65.210.18 with SMTP id m18mr715643qbq; Tue, 26 Sep 2006 01:10:47 -0700 (PDT) Received: by 10.64.179.8 with HTTP; Tue, 26 Sep 2006 01:10:47 -0700 (PDT) Message-ID: <84dead720609260110n4ba360a3r3eee0a9de6c2312e@mail.gmail.com> Date: Tue, 26 Sep 2006 13:40:47 +0530 From: "Joseph Koshy" To: "Ulrich Spoerlein" In-Reply-To: <7ad7ddd90609260030g24ed098ft534719cd4c396570@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7ad7ddd90609260030g24ed098ft534719cd4c396570@mail.gmail.com> Cc: stable@freebsd.org Subject: Re: make release vs. installworld X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 08:10:55 -0000 > I am building my own releases for FreeBSD. When upgrading a server to the > new release, I'd like to use the 'make installworld' procedure. Therefore > I'm mounting the /usr/src and /usr/obj from the release build via NFS onto > the server in question. Are you running "make buildworld" on one host and "make installworld" on another? That isn't guaranteed to work AFAIK. You need to run both steps on the same host. Use DESTDIR=/path-to-nfs-mount-point. Note that you can build a 'world' for a different target architecture than that the build machine is running. > However, installworld will fail, as it looks like some binaries are not > built inside the chrooted make release build. First missing binary is > cat(1). After manually building it, the installworld stops at chmod(1) > > ===> bin/chio (install) > install -s -o root -g wheel -m 555 chio /bin > install -o root -g wheel -m 444 chio.1.gz /usr/share/man/man1 > ===> bin/chmod (install) > install -s -o root -g wheel -m 555 chmod /bin > install: chmod: No such file or directory > *** Error code 71 > So, what's the recommended way to a) build own releases and b) update your > servers with it. See /usr/src/UPDATING, look for "COMMON ITEMS". -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy