From owner-freebsd-questions@FreeBSD.ORG Wed Aug 1 06:23:09 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5BDD16A417 for ; Wed, 1 Aug 2007 06:23:09 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.freebsd.org (Postfix) with ESMTP id 7E73B13C4B6 for ; Wed, 1 Aug 2007 06:23:09 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so86856wxd for ; Tue, 31 Jul 2007 23:23:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:x-x-sender:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:from:sender; b=k/f2PnuT0d6BOfMd+/m04L3K1jWQli+MICaVZQ5DnGoe678R8MgkP9GdwJ0uZ+NCy06VpN5Xf235a2DMzi9cuNW40CFx7AtVPkTOqeWWSjf692MV4YX+gkECFxbCr8xTeQhm1mgEq+8FjQKWoObv/TDawU2dbW5YMFh5wQKPoe4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:x-x-sender:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:from:sender; b=AiX6zZQTL+MNWfWRaQTG67eiqbFnWJnR+yyAa+fbspCnTmqmjNvH/GlLUFV0fYFV7nQk3lBXKVRXtnOzlCo3mvrvI8QXZ9meeyJuk4V0Wm3uAYZRYpAUi32ow5uO+VZvWahxv3ROtXcGN/b8VspeNDDIMmTY8p7A4N4M40gibE4= Received: by 10.90.29.18 with SMTP id c18mr121740agc.1185949388776; Tue, 31 Jul 2007 23:23:08 -0700 (PDT) Received: from smtp.home.rakhesh.com ( [82.178.139.14]) by mx.google.com with ESMTPS id 7sm265743agc.2007.07.31.23.23.01 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2007 23:23:08 -0700 (PDT) Received: from scrat.home.rakhesh.com (scrat.home.rakhesh.com [192.168.17.31]) by smtp.home.rakhesh.com (Postfix) with ESMTP id 574C411429; Wed, 1 Aug 2007 10:22:35 +0400 (GST) Date: Wed, 1 Aug 2007 10:22:35 +0400 (GST) X-X-Sender: rakhesh@scrat.home.rakhesh.com To: Garrett Cooper In-Reply-To: <46B01B3C.7080505@u.washington.edu> Message-ID: <20070801101542.E31348@scrat.home.rakhesh.com> References: <46AF241A.6000708@diomedia.be> <20070801082649.O23854@scrat.home.rakhesh.com> <46B01B3C.7080505@u.washington.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Rakhesh Sasidharan Sender: Rakhesh Sasidharan Cc: Bram Van Steenlandt , Liste FreeBSD Subject: Re: updating multiple freebsd desktops X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 06:23:09 -0000 On Tue, 31 Jul 2007, Garrett Cooper wrote: > Rakhesh Sasidharan wrote: >> >> On Tue, 31 Jul 2007, Bram Van Steenlandt wrote: >>> So what I would really like is to make one machine the build/test machine >>> and keep this machine up to date with the ports and portmanager or so. >>> Can I then set up some kind of repo with the packages from this machine >>> and run something like "yum upgrade" on every desktop we have ? >> >> 1. Use one machine as the build/ test machine. Let /usr/ports be on that, >> and shared to all the other machines. >> >> 2. Keep the ports tree up-to-date on this machine, and while building ports >> make packages too. (`make package-recursive` will do I guess). These will >> be stored on /usr/ports/packages. >> >> 3. On the clients, let /usr/ports be the shared one from the main machine. >> a) If you want to find the packages that need updating, use >> something like `pkg_version -l "<"`. >> b) If you want to update *all* the packages, use something like >> `portupgrade -aPP`. >> >> I haven't done any of these myself. Just that if I were in a situation such >> as yours, this is what I'd probably do. >> >> Regards, >> Rakhesh > rsync or some other means of sharing data may be better than a global share > as you might have one machine with a different architecture building under a > work directory in the /usr/ports directory. Or set "WRKDIRPREFIX= /tmp" in your /etc/make.conf on all machines ... ? Regards, Rakhesh