From owner-freebsd-small@FreeBSD.ORG Wed Feb 22 12:13:31 2006 Return-Path: X-Original-To: freebsd-small@freebsd.org Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5090916A420 for ; Wed, 22 Feb 2006 12:13:31 +0000 (GMT) (envelope-from nvass@teledomenet.gr) Received: from matrix.teledomenet.gr (dns1.teledomenet.gr [213.142.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A47AD43D45 for ; Wed, 22 Feb 2006 12:13:29 +0000 (GMT) (envelope-from nvass@teledomenet.gr) Received: from iris ([192.168.1.71]) by matrix.teledomenet.gr (8.12.10/8.12.10) with ESMTP id k1MCDRuq017390; Wed, 22 Feb 2006 14:13:28 +0200 From: Nikos Vassiliadis To: Luigi Rizzo Date: Wed, 22 Feb 2006 14:10:06 +0200 User-Agent: KMail/1.8.3 References: <200602211006.45764.nvass@teledomenet.gr> <200602211211.44600.nvass@teledomenet.gr> <20060221035032.A61687@xorpc.icir.org> In-Reply-To: <20060221035032.A61687@xorpc.icir.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602221410.06755.nvass@teledomenet.gr> Cc: freebsd-small@freebsd.org Subject: Re: last known 4-.x-RELEASE where PicoBSD can be built X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 12:13:31 -0000 On Tuesday 21 February 2006 13:50, Luigi Rizzo wrote: > On Tue, Feb 21, 2006 at 12:11:44PM +0200, Nikos Vassiliadis wrote: > > On Tuesday 21 February 2006 10:42, Luigi Rizzo wrote: > > > On Tue, Feb 21, 2006 at 10:06:45AM +0200, Nikos Vassiliadis wrote: > > > > Hi, > > > > > > > > I tried to build PicoBSD using sources from RELENG_4 on a > > > > 4.10-RELEASE-p5 system and it failed. I (think|know) it's working > > > > again on RELENG_6, but I want to use 4.x branch. So, which > > > > sources should I get to build it? > > > > > > if you take the script that i recently committed to -current > > > and -stable (/usr/src/release/picobsd/build/picobsd) > > > it should work also with 4.x sources > > > > > > it relies on ports/sysutils/makefs to build > > > the file system image without the need for > > > root permissions > > > > > > one thing you might have to do is increase the fd_size > > > to 2880 (in the imagename/config file) due to > > > increased code size > > > > I still have problems(might as well be the lack of experience though). > > I will try to build one based on 6-STABLE, which is known to work and > > try using 4.x sources then. I'll post again in a few days. > > if you want to post me the error messages you get i am > willing to help. > remember that on 4.x you cannot build a 6.x or above. Indeed everything is working fine, the problem was that my system was out-of-sync with the source. I took src/release/picobsd/build/picobsd from RELENG_6 and also commented out the sshd line from bridge/crunch.conf. 0:/usr/src/release/picobsd# cvs -d anoncvs@anoncvs.fr.freebsd.org:/home/ncvs diff -u -rRELENG_4 bridge/crunch.conf cvs server: warning: cannot open /home/ncvs/CVSROOT/val-tags read/write: Read-only file system Index: bridge/crunch.conf =================================================================== RCS file: /home/ncvs/src/release/picobsd/bridge/crunch.conf,v retrieving revision 1.1.2.9 diff -u -r1.1.2.9 crunch.conf --- bridge/crunch.conf 23 Jun 2003 17:26:16 -0000 1.1.2.9 +++ bridge/crunch.conf 22 Feb 2006 11:14:07 -0000 @@ -165,7 +165,7 @@ # Check the ssh license! If you want to use this, # go to /usr/ports/security/ssh-picobsd, do a make extract configure -progs sshd # includes ssh and scp +#progs sshd # includes ssh and scp special sshd objvar SSHD_OBJS special sshd srcdir /usr/ports/picobsd/ssh-picobsd/work/ssh-1.2.27 special sshd objdir /usr/ports/picobsd/ssh-picobsd/work/ssh-1.2.27 Could you commit PicoBSD build script to RELENG_4? (I used RELENG_4_10 sources, but there is not much difference from RELENG_4) Thanks for your help Nikos > > cheers > luigi