Re: freebsd-update-server

2010-08-09 Thread Jason

On Sat, Aug 07, 2010 at 03:26:24PM +0200, Coert Waagmeester thus spake:

Hello all,

I am setting up my own freebsd-update-server.

Everything seems to be working so far, but how can I also get the
patches to build together with everything?

Here is the output of scripts/init.sh

# sh scripts/init.sh i386 8.1-RELEASE | tee init.log
Sat Aug  7 14:59:24 SAST 2010 Starting fetch for FreeBSD/i386 8.1-RELEASE
/usr/packages/freebsdupdateserver/work/8.1-RELEASE/i386/iso.img
645 MB   47 MBps
Sat Aug  7 14:59:35 SAST 2010 Verifying disc1 hash for FreeBSD/i386
8.1-RELEASE
Sat Aug  7 14:59:46 SAST 2010 Extracting components for FreeBSD/i386
8.1-RELEASE
Sat Aug  7 15:01:50 SAST 2010 Constructing world+src image for
FreeBSD/i386 8.1-RELEASE
Sat Aug  7 15:05:37 SAST 2010 Extracting world+src for FreeBSD/i386
8.1-RELEASE
## Here is my problem
ls: /usr/packages/freebsdupdateserver/patches/8.1-RELEASE: No such file
or directory


This is expected if the directory doesn't exist. However, if the directory
does exist you can't build any patches until an initial build has been
performed.


##
Sat Aug  7 13:07:18 UTC 2010 Building world for FreeBSD/i386 8.1-RELEASE
Sat Aug  7 15:07:26 SAST 2010 Moving components into staging area for
FreeBSD/i386 8.1-RELEASE
mv: rename /R/stage/trees to /R/trees/world: No such file or directory
Sat Aug  7 15:07:26 SAST 2010 Identifying extra documentation for
FreeBSD/i386 8.1-RELEASE



^^ this may be a problem. You may need to look at your build.conf file to
make sure you have specified all of the correct sources.


Documentation not built from src:

Sat Aug  7 15:07:44 SAST 2010 Extracting extra docs for FreeBSD/i386
8.1-RELEASE
tar: could not chdir to '/R/trees/world'

Sat Aug  7 15:07:44 SAST 2010 Indexing release for FreeBSD/i386 8.1-RELEASE
^C
#


Is ftp://ftp.freebsd.org/pub/FreeBSD/ERRATA/patches/
 the right place to get them?

And then just place them in patches/8.1-RELEASE/ ?


Kind regards,
Coert Waagmeester
___
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



Take a look at my documentation on this as your question is covered:
http://people.freebsd.org/~manolis/patches/freebsd-update-server/
http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_1941-Build-Your-Own-FreeBSD-Update-Server.html?sfQueryTermInfo=1+30+freebsd

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
___
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-update-server

2010-08-07 Thread Coert Waagmeester

Hello all,

I am setting up my own freebsd-update-server.

Everything seems to be working so far, but how can I also get the 
patches to build together with everything?


Here is the output of scripts/init.sh

# sh scripts/init.sh i386 8.1-RELEASE | tee init.log
Sat Aug  7 14:59:24 SAST 2010 Starting fetch for FreeBSD/i386 8.1-RELEASE
/usr/packages/freebsdupdateserver/work/8.1-RELEASE/i386/iso.img 
645 MB   47 MBps
Sat Aug  7 14:59:35 SAST 2010 Verifying disc1 hash for FreeBSD/i386 
8.1-RELEASE
Sat Aug  7 14:59:46 SAST 2010 Extracting components for FreeBSD/i386 
8.1-RELEASE
Sat Aug  7 15:01:50 SAST 2010 Constructing world+src image for 
FreeBSD/i386 8.1-RELEASE
Sat Aug  7 15:05:37 SAST 2010 Extracting world+src for FreeBSD/i386 
8.1-RELEASE

## Here is my problem
ls: /usr/packages/freebsdupdateserver/patches/8.1-RELEASE: No such file 
or directory

##
Sat Aug  7 13:07:18 UTC 2010 Building world for FreeBSD/i386 8.1-RELEASE
Sat Aug  7 15:07:26 SAST 2010 Moving components into staging area for 
FreeBSD/i386 8.1-RELEASE

mv: rename /R/stage/trees to /R/trees/world: No such file or directory
Sat Aug  7 15:07:26 SAST 2010 Identifying extra documentation for 
FreeBSD/i386 8.1-RELEASE


Documentation not built from src:

Sat Aug  7 15:07:44 SAST 2010 Extracting extra docs for FreeBSD/i386 
8.1-RELEASE

tar: could not chdir to '/R/trees/world'

Sat Aug  7 15:07:44 SAST 2010 Indexing release for FreeBSD/i386 8.1-RELEASE
^C
#


Is ftp://ftp.freebsd.org/pub/FreeBSD/ERRATA/patches/ 
 the right place to get them?


And then just place them in patches/8.1-RELEASE/ ?


Kind regards,
Coert Waagmeester
___
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


Re: freebsd-update server

2010-02-17 Thread Andreas Nilsson
Seems to be exactly what I'm looking for, thank you very much!

Best regards
Andreas

On Tue, Feb 16, 2010 at 7:05 PM, Jason jhelf...@e-e.com wrote:

 I have not built on 8.0, however the update code should work just fine on a
 custom kernel. The article I wrote is for amd64.

 I am doing that myself, and I have written an article on it. It is also
 pending a commit to the FreeBSD Documentation Project.


 http://www.experts-exchange.com/articles/OS/Unix/BSD/FreeBSD/Build-Your-Own-FreeBSD-Update-Server.html

 Hope this is helpful,
 Jason

 On Tue, Feb 16, 2010 at 11:46:38AM +0100, Andreas Nilsson thus spake:

 Hello,

 I have a need to ship updates to a customized freebsd install, and thought
 that freebsd-update could serve me. However
 http://www.freebsd.org/cgi/cvsweb.cgi/projects/freebsd-update-server/ is
 rather old and misses amd64 builds. There must be newer code around since
 freebsd-update can be used to update to latest 8.0-RELEASE on amd64. Where
 can I find it?

 Best regards
 Andreas Nilsson
 ___
 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


freebsd-update server

2010-02-16 Thread Andreas Nilsson
Hello,

I have a need to ship updates to a customized freebsd install, and thought
that freebsd-update could serve me. However
http://www.freebsd.org/cgi/cvsweb.cgi/projects/freebsd-update-server/ is
rather old and misses amd64 builds. There must be newer code around since
freebsd-update can be used to update to latest 8.0-RELEASE on amd64. Where
can I find it?

Best regards
Andreas Nilsson
___
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


Re: freebsd-update server

2010-02-16 Thread Jason

I have not built on 8.0, however the update code should work just fine on a
custom kernel. The article I wrote is for amd64.

I am doing that myself, and I have written an article on it. It is also
pending a commit to the FreeBSD Documentation Project.

http://www.experts-exchange.com/articles/OS/Unix/BSD/FreeBSD/Build-Your-Own-FreeBSD-Update-Server.html

Hope this is helpful,
Jason

On Tue, Feb 16, 2010 at 11:46:38AM +0100, Andreas Nilsson thus spake:

Hello,

I have a need to ship updates to a customized freebsd install, and thought
that freebsd-update could serve me. However
http://www.freebsd.org/cgi/cvsweb.cgi/projects/freebsd-update-server/ is
rather old and misses amd64 builds. There must be newer code around since
freebsd-update can be used to update to latest 8.0-RELEASE on amd64. Where
can I find it?

Best regards
Andreas Nilsson
___
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


Re: freebsd-update-server, 7.2

2009-09-18 Thread Jason

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


mirror freebsd-update server

2009-08-20 Thread Jason

Hi,

I am wondering if anyone has attempted to mirror the freebsd-update server?

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


Re: freebsd-update-server, 7.2

2009-08-11 Thread Jason

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


freebsd-update-server, 7.2

2009-08-10 Thread Jason

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