From owner-freebsd-questions@FreeBSD.ORG Sat Sep 19 02:36:19 2009 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 E36F4106566B for ; Sat, 19 Sep 2009 02:36:18 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id CA6AD8FC08 for ; Sat, 19 Sep 2009 02:36:18 +0000 (UTC) Received: from eggman.experts-exchange.com (unknown [75.15.116.151]) by mail.experts-exchange.com (Postfix) with ESMTP id 1D3434A30842 for ; Fri, 18 Sep 2009 18:29:55 -0700 (PDT) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Fri, _d Sep 2009 19:36:17 -0700 Date: Fri, 18 Sep 2009 19:36:17 -0700 From: Jason To: freebsd-questions@freebsd.org Message-ID: <20090919023617.GA27825@jason-helfmans-macbook-pro.local> References: <20090810162450.GD55676@eggman.experts-exchange.com> <20090811161704.GC99758@eggman.experts-exchange.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20090811161704.GC99758@eggman.experts-exchange.com> X-Operating-System: Darwin 9.8.0 X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: freebsd-update-server, 7.2 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: Sat, 19 Sep 2009 02:36:19 -0000 No worries, all. I've managed to get this to work, and have a working internal freebsd-update server. With some help from Colin, I've realized a couple of things that needed to be changed for my setup to work. In regards to the amd64 build I was doing, it was missing some kernel sources that were not in the configuration file I was following for i386 that is part of the cvs source. I will be submitting my configuration files for review, as well. In addition to this, I will submit documentation to FreeBSD on how I've used the software to create a working freebsd-update server. -jgh On Tue, Aug 11, 2009 at 09:17:04AM -0700, Jason thus spake: >Does anyone have any thoughts, or experience in using the >freebsd-update-server code? > >Thanks, >Jason > >On Mon, Aug 10, 2009 at 09:24:52AM -0700, Jason thus spake: >>Hi. >> >>The freebsd-update-server project software hasn't been updated for 7,2, >>but after making a couple of simple modifications, it seems to work rather well. >> >>I am close, but not quiet smoking the cigar of triumph, yet. >> >>When it initially builds, I get this error in the output: >> >>Fri Aug 7 18:50:56 PDT 2009 Extracting world+src for FreeBSD/amd64 >>7.2-RELEASE >>Sun Sep 12 01:51:21 UTC 2010 Building world for FreeBSD/amd64 7.2-RELEASE >>Sat Sep 11 18:51:30 PDT 2010 Moving components into staging area for >>FreeBSD/amd64 7.2-RELEASE >>mv: rename /R/stage/trees to /R/trees/world: No such file or directory >>Fri Aug 7 18:51:30 PDT 2009 Extracting extra docs for FreeBSD/amd64 >>7.2-RELEASE >>tar: could not chdir to '/R/trees/world' >> >>I would like to clear these errors up, as well... but... >> >>The only code change I have made is adding this to build.subr for the iso >>fetch. Basically a path change. >> >>ISO=${FTP}/ISO-IMAGES-${TARGET}/${RELNUM}/${REL}-${TARGET}-disc1.iso >> >>However, it does build. I send the update to my update server, and need to >>copy latest.ssl and pub.ssl from one of the official update servers from >>FreeBSD. If I don't do that, I will get this error. >> >>freebsd-update fetch >>Looking up xxx.xxx.xxx.xxx mirrors... none found. >>Fetching metadata signature for 7.2-RELEASE from >>xxx.xxx.xxx.xxx ... invalid signature. >>No mirrors remaining, giving up. >> >>If I do that, I then get to the next step: >> >>freebsd-update fetch >>Looking up xxx.xxx.xxx.xxx mirrors... none found. >>Fetching metadata signature for 7.2-RELEASE from >>xxx.xxx.xxx.xxx ... done. >>Fetching metadata index... fetch: >>http://xxx.xxx.xxx.xxx/7.2-RELEASE/amd64/t/14e85c887f8e9ecaef130d50e3d2ddbb3664af22d9e05f652a66219bda5b76ba: >>Not Found >>failed. >> >>On the update server, I do have this file though under the "t" directory: >>4eeb3a30c564302be5e8129e6afdf3477ff316a891b5a4b6c9535947b7a81e28 >> >>I am curious why it is requesting the wrong file. >> >>Here is my configuration file for 7.2: >> >># SHA256 hash of RELEASE disc1.iso image. >>export RELH=1ea1f6f652d7c5f5eab7ef9f8edbed50cb664b08ed761850f95f48e86cc71ef5 >> >># Components of the world, source, and kernels >>export WORLDPARTS="base catpages dict doc games info manpages proflibs" >>export SOURCEPARTS="base bin contrib crypto etc games gnu include krb5 \ >> lib libexec release rescue sbin secure share sys tools \ >> ubin usbin" >>export KERNELPARTS="generic" >> >># EOL date >>export EOL=1275289200 >> >>Thanks, >>Jason >> >>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >