Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2006 14:10:06 +0200
From:      Nikos Vassiliadis <nvass@teledomenet.gr>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        freebsd-small@freebsd.org
Subject:   Re: last known 4-.x-RELEASE where PicoBSD can be built
Message-ID:  <200602221410.06755.nvass@teledomenet.gr>
In-Reply-To: <20060221035032.A61687@xorpc.icir.org>
References:  <200602211006.45764.nvass@teledomenet.gr> <200602211211.44600.nvass@teledomenet.gr> <20060221035032.A61687@xorpc.icir.org>

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



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