From owner-freebsd-questions@FreeBSD.ORG Tue Aug 11 16:17:22 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 CBC10106564A for ; Tue, 11 Aug 2009 16:17:22 +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 B44FC8FC16 for ; Tue, 11 Aug 2009 16:17:22 +0000 (UTC) Received: from eggman.experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id 12B594A3FE19 for ; Tue, 11 Aug 2009 09:17:22 -0700 (PDT) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Tue, 11 Aug 2009 09:17:04 -0700 Date: Tue, 11 Aug 2009 09:17:04 -0700 From: Jason To: freebsd-questions@freebsd.org Message-ID: <20090811161704.GC99758@eggman.experts-exchange.com> References: <20090810162450.GD55676@eggman.experts-exchange.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20090810162450.GD55676@eggman.experts-exchange.com> X-Operating-System: FreeBSD 7.1-RELEASE-p6 EGGMAN 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: Tue, 11 Aug 2009 16:17:23 -0000 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" >