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-unsubscr...@freebsd.org"
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"