Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2010 02:21:06 -0700
From:      Jason <jhelfman@e-e.com>
To:        Coert Waagmeester <lgroups@waagmeester.co.za>
Cc:        FreeBSD questions <questions@freebsd.org>
Subject:   Re: freebsd-update-server
Message-ID:  <20100809092105.GA62010@eggman.experts-exchange.com>
In-Reply-To: <4C5D5F00.4040806@waagmeester.co.za>
References:  <4C5D5F00.4040806@waagmeester.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100809092105.GA62010>