freebsd-update-server, 7.2

Jason jhelfman at
Mon Aug 10 16:25:14 UTC 2009


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
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
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.


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 mirrors... none found.
Fetching metadata signature for 7.2-RELEASE from ... invalid signature.
No mirrors remaining, giving up.

If I do that, I then get to the next step:

freebsd-update fetch
Looking up mirrors... none found.
Fetching metadata signature for 7.2-RELEASE from ... done.
Fetching metadata index... fetch:
Not Found

On the update server, I do have this file though under the "t" directory:

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


More information about the freebsd-questions mailing list