From owner-freebsd-questions@FreeBSD.ORG Mon Aug 10 16:25:14 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 31ADD1065670 for ; Mon, 10 Aug 2009 16:25:14 +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 188DC8FC1E for ; Mon, 10 Aug 2009 16:25:13 +0000 (UTC) Received: from eggman.experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id 62A52420D39D for ; Mon, 10 Aug 2009 09:16:30 -0700 (PDT) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Mon, 10 Aug 2009 09:24:52 -0700 Date: Mon, 10 Aug 2009 09:24:52 -0700 From: Jason To: freebsd-questions@freebsd.org Message-ID: <20090810162450.GD55676@eggman.experts-exchange.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline 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: 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: Mon, 10 Aug 2009 16:25:14 -0000 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