Re: Freesbie - pen drive

2005-04-12 Thread Dario Freni
mailing by Giardina Software ha scritto:
Hello list,
when start the file flashfreesbie.sh to install Freesbie version pen 
drive, it say me to be unable to load the correct path /dev/sda1. This 
is the real path of my pen drive plugged to port.
flashfreesbie.sh is written only for FreeBSD. Apparently you're running 
it under linux.

Bye,
Dario
--
FreeSBIE mailing list (http://www.freesbie.org)


Re: FreeSBIE next release

2005-04-30 Thread Dario Freni
On Fri, Apr 29, 2005 at 08:16:10PM -0400, Scott Ullrich wrote:
 What I meant by limitations is in this scay man page for unionfs:
 
  THIS FILE SYSTEM TYPE IS NOT YET FULLY SUPPORTED (READ: IT DOESN'T WORK)
  AND USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM.  USE AT YOUR OWN
  RISK.  BEWARE OF DOG.  SLIPPERY WHEN WET.
 
  This code also needs an owner in order to be less dangerous - serious
  hackers can apply by sending mail to [EMAIL PROTECTED] and announcing
  their intent to take it over.
 
  Without whiteout support from the file system backing the upper layer,
  there is no way that delete and rename operations on lower layer objects
  can be done.  EROFS is returned for this kind of operations along with
  any others which would make modifications to the lower layer, such as
  chmod(1).

Also, in order to give the opportunity of installing new programs we
have two ways: ports and packages.

In the ports' case we should include the entire ports' collection
(compressed) that equals a big amount of space substracted to the
programs. Also compiling big programs may cause easily out of memory
problems.

Package system (which I don't like very much except for initial
installations) (I avoid it as much as I can), isn't really
transparent, i.e. you can't know if a package exists, or what is the
exact package name, until you don't search it on a ports' tree or on
freshports or whatever. We haven't a tool for searching packages,
selecting and installing automagically.

For those who don't know the Debian package system used by Knoppix and
Ubuntu's live CDs, there's usually a customisable list of repositories
to download the list of packages from, and then selecting and
installing them is a bunch of commands. Or clicks, if you use a
graphical package manager.

We should invent an online ports' tree :)

Bye,
Dario

-- 
Dario Freni ([EMAIL PROTECTED]) - satu on Azzurra
Gruppo Utenti FreeBSD Italia (http://www.gufi.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


pgpFk5uFCpbQy.pgp
Description: PGP signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: vidcontrol - not found

2005-05-12 Thread Dario Freni
On Thu, May 12, 2005 at 11:21:44PM +0800, sam wun wrote:
 Hi,
 
 I got this error when booting the liveCD.
 I replaced the FREESBIE.i386 with the 5.4 Release kernel configuration file.
 When booting the CD, it showns error :
 vidcontrol -not found (something like that) and then shown whole bunch 
 of /usr/libexec/getty for port /dev/ttyv4 No such file or direcitory
 
 Can anyone please tell me what is wrong wth my compilation during the 
 process making the livecd iso file?

FreeSBIE configuration file isn't generic. One for all, geom_uzip is
vital to the functionality of the system. If you want a custom kernel
_edit_ FREESBIE.i386 and _not_ GENERIC.

Bye,
Dario

-- 
Dario Freni ([EMAIL PROTECTED]) - satu on Azzurra
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


pgpFXz4yvBEPA.pgp
Description: PGP signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: FreeSBIE User management

2005-05-21 Thread Dario Freni
On Sat, May 21, 2005 at 01:52:37PM +0200, Dobermann wrote:
 Hi,
 
 I am a french student in information technology. I'm currently  
 developping an application which will be distributed on a FreeSBIE  
 LiveCD.
 I have to run a MySQL database and an Apache webserver on it. This is  
 not a problem, it's quite alright.
 The only problem I have is that MySQL refuses to run as root, so I  
 have to create a mysql user on the FreeSBIE system.
 I tried to edit manually /etc/passwd and /etc/master.passwd, adding a  
 simple user as in my production box, but the user is not recognized  
 on the live cd... (chown returns a mysql bad argument error on a md  
 directory)
 
 Is there any action to perform to make my user recognized ?

editing passwd and master.passwd isn't enough, you'll need to rebuild
the user's db:

chroot $FREESBIEBASEDIR
vipw [add your user]
vi /etc/group [add your group]

Then build the iso.

-- 
Dario Freni ([EMAIL PROTECTED]) - satu on Azzurra
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


pgp0oyikKIwrb.pgp
Description: PGP signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Behaviour of mount_unionfs

2005-05-22 Thread Dario Freni
cupa:/mnt/freesbie# ll
total 4
drwxr-xr-x  2 root  wheel  512 23 Mag 05:13 unionvar
drwxr-xr-x  2 root  wheel  512 23 Mag 05:13 var
cupa:/mnt/freesbie# mdconfig -a -t vnode -f /usr/local/freesbieiso/uzip/var.uzip
md2
cupa:/mnt/freesbie# mount /dev/md2.uzips1a var
cupa:/mnt/freesbie# ls -l var/
total 40
drwxrwxr-x  2 rootoperator  512 23 Mag 04:54 .snap
drwxr-xr-x  2 rootwheel 512 23 Mag 04:33 account
drwxr-xr-x  4 rootwheel 512 23 Mag 04:33 at
drwxr-x---  2 rootwheel 512 23 Mag 04:33 backups
drwxr-x---  2 rootwheel 512 23 Mag 04:33 crash
drwxr-x---  3 rootwheel 512 23 Mag 04:33 cron
drwxr-xr-x  6 rootwheel 512 23 Mag 04:33 db
dr-xr-xr-x  2 rootwheel 512 23 Mag 04:33 empty
drwxrwxr-x  2 rootgames 512 23 Mag 04:33 games
drwx--  2 rootwheel 512 23 Mag 04:33 heimdal
drwxr-xr-x  2 rootwheel 512 23 Mag 04:33 log
drwxrwxr-x  2 rootmail  512 23 Mag 04:33 mail
drwxr-xr-x  2 daemon  wheel 512 23 Mag 04:33 msgs
drwxr-xr-x  5 rootwheel 512 23 Mag 04:33 named
drwxr-xr-x  2 rootwheel 512 23 Mag 04:33 preserve
drwxr-xr-x  4 rootwheel 512 23 Mag 04:48 run
drwxrwxr-x  2 rootdaemon512 23 Mag 04:33 rwho
drwxr-xr-x  8 rootwheel 512 23 Mag 04:33 spool
drwxrwxrwt  3 rootwheel 512 23 Mag 04:48 tmp
drwxr-xr-x  2 rootwheel 512 23 Mag 04:35 yp
cupa:/mnt/freesbie# mdconfig -a -t malloc -o compress -s 16m
md3
cupa:/mnt/freesbie# /sbin/newfs -U /dev/md3
/dev/md3: 16.0MB (32768 sectors) block size 16384, fragment size 2048
using 4 cylinder groups of 4.02MB, 257 blks, 576 inodes.
with soft updates
super-block backups (for fsck -b #) at:
 160, 8384, 16608, 24832
cupa:/mnt/freesbie# mount /dev/md3 unionvar/
cupa:/mnt/freesbie# mount_unionfs unionvar/ var/
cupa:/mnt/freesbie# ls -l var/
total 40
drwxrwxr-x   4 root  operator  512 23 Mag 05:14 .snap
drwxr-xr-x   4 root  wheel 512 23 Mag 05:15 account
drwxr-xr-x   6 root  wheel 512 23 Mag 05:15 at
drwxr-xr-x   4 root  wheel 512 23 Mag 05:15 backups
drwxr-xr-x   4 root  wheel 512 23 Mag 05:15 crash
drwxr-xr-x   5 root  wheel 512 23 Mag 05:15 cron
drwxr-xr-x   8 root  wheel 512 23 Mag 05:15 db
drwxr-xr-x   4 root  wheel 512 23 Mag 05:15 empty
drwxr-xr-x   4 root  wheel 512 23 Mag 05:15 games
drwxr-xr-x   4 root  wheel 512 23 Mag 05:15 heimdal
drwxr-xr-x   4 root  wheel 512 23 Mag 05:15 log
drwxr-xr-x   4 root  wheel 512 23 Mag 05:15 mail
drwxr-xr-x   4 root  wheel 512 23 Mag 05:15 msgs
drwxr-xr-x   7 root  wheel 512 23 Mag 05:15 named
drwxr-xr-x   4 root  wheel 512 23 Mag 05:15 preserve
drwxr-xr-x   6 root  wheel 512 23 Mag 05:15 run
drwxr-xr-x   4 root  wheel 512 23 Mag 05:15 rwho
drwxr-xr-x  10 root  wheel 512 23 Mag 05:15 spool
drwxr-xr-x   5 root  wheel 512 23 Mag 05:15 tmp
drwxr-xr-x   4 root  wheel 512 23 Mag 05:15 yp
cupa:/mnt/freesbie#

With unionfs we lost (again) every kind of permission. From the man
page I cannot realize if this really is the expected behaviour.

Bye,
Dario

-- 
Dario Freni ([EMAIL PROTECTED]) - satu on Azzurra
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


pgp2G2hd6CsFR.pgp
Description: PGP signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: Behaviour of mount_unionfs

2005-05-23 Thread Dario Freni
On Mon, May 23, 2005 at 08:34:59AM +0200, Davide D'Amico wrote:
  cupa:/mnt/freesbie# mount /dev/md3 unionvar/
  cupa:/mnt/freesbie# mount_unionfs unionvar/ var/
 what if 
 mount_unionfs var/ unionvar/ ?

It works correctly. Patching system ASAP.

-- 
Dario Freni ([EMAIL PROTECTED]) - satu on Azzurra
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


pgpSc9c9HMNB4.pgp
Description: PGP signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

[CVS Update of freesbie - M:1 A:0 R:0]

2005-05-23 Thread Dario Freni
Log Message:
---
Many things.

- Move all those annoying steps to create a compressed fs to a single
  uzip_dir() function.
  E.g.: uzip_dir $FREESBIEISODIR/var $FREESBIEISODIR/uzip/var.uzip

- Use UFS instead of ISO9660 as compressed filesystem. In this way we
  can hold permission and files properties.

- Cleaned up the output. Now it looks nice :)

Needs testing, as usual.

Modified Files:
--
freesbie:
8.preparefs.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: [CVS Update of freesbie - M:1 A:0 R:0]

2005-05-23 Thread Dario Freni
On Tue, May 24, 2005 at 03:35:00AM +0200, Dario Freni wrote:
[...]
To be done:

- Test if unionfs on /usr works properly, if yes remove Scott's
  changes.

- Change the behaviour on PenBSD, i.e.:

  mount uzip stuff
  If $FOUNDUFS = yes
create dir /FreeSBIE/.var if not exists and mount it unionfs on /var
same for /usr
temporary fs for /tmp
link /FreeSBIE/root to /root (actually done and works)
  Else
(exactly the actual behaviour)
create temporary fs and union-mount them: /usr /var /tmp /root 
  Fi

  This way PenBSD is totally r/w.

- Start thinking about introducing a foobar user in the toolkit,
  including its home.

'night,
Dario

P.S.: Just tried FreeSBIE on an USB 2.0 pen using FreeBSD
5.4-STABLE. No problems at all. Identical configuration on 5.3 just
panics.

-- 
Dario Freni ([EMAIL PROTECTED]) - satu on Azzurra
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


pgpiCt98UfoGU.pgp
Description: PGP signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

[CVS Update of freesbie - M:1 A:0 R:0]

2005-06-09 Thread Dario Freni
Log Message:
---
Revert to the former (and correct) way of mounting unionfs.
There's a directory permission behaviour to be corrected:
 If a directory is found in the lower layer, and there is no entry in the
 upper layer, then a shadow directory will be created in the upper layer.
 It will be owned by the user who originally did the union mount, with
 mode ``rwxrwxrwx'' (0777) modified by the umask in effect at that time.

This is ugly. We have to workaround.

Modified Files:
--
freesbie/files:
freesbie_1st
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:3 A:0 R:0]

2005-06-11 Thread Dario Freni
Log Message:
---
Cleanup and adapting web_installer to new uzip's fs type

Modified Files:
--
freesbie/files/scripts:
after_installation_routines.sh
installer
web_installer
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:1 A:0 R:0]

2005-06-12 Thread Dario Freni
Log Message:
---
Speed up the clone+compressing phase

Modified Files:
--
freesbie:
8.preparefs.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:1 A:0 R:0]

2005-06-12 Thread Dario Freni
Log Message:
---
Substituting Exit voice with a clearer Done

Modified Files:
--
freesbie/files/dialogs:
dialog_config.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:1 A:0 R:0]

2005-06-12 Thread Dario Freni
Log Message:
---
- Install web_installer script
- Sanity check on $BATCH_MODE

Modified Files:
--
freesbie:
7.customuser.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:2 A:0 R:0]

2005-06-13 Thread Dario Freni
Log Message:
---
Remount /.var under /FreeSBIE/var as unionfs before launching the
installer backend, as it needs /var/run/dmesg.boot.

Modified Files:
--
freesbie/files/scripts:
installer
web_installer
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:9 A:0 R:0]

2005-06-13 Thread Dario Freni
Log Message:
---
- Uniformed and tested BATCH_MODE
- Added PKG_FILE variable (optional) in config.sh, honoured by 6.packages
- Inserted if statements before every dialog to honour the batch mode

Modified Files:
--
freesbie:
0.rmdir.sh
1.mkdir.sh
2.buildworld.sh
3.installworld.sh
4.kernel.sh
5.patchfiles.sh
6.packages.sh
7.customuser.sh
8.preparefs.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:1 A:0 R:0]

2005-06-13 Thread Dario Freni
Log Message:
---
We need devfs!

Modified Files:
--
freesbie/files/scripts:
web_installer
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:1 A:0 R:0]

2005-06-14 Thread Dario Freni
Log Message:
---
BATCH_MODE variable doesn't need to be set here

Modified Files:
--
freesbie/files/dialogs:
dialog_config.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:9 A:0 R:0]

2005-06-15 Thread Dario Freni
Log Message:
---
- Changed every ${BATCH_MODE} entry to ${BATCH_MODE:-} and removed the
  ugly set +u
- Introducing a new optional value NO_BUILDWORLD. If set, in batch mode
  2.buildworld is skipped [1]

[1] Suggested by: GeekGod

Modified Files:
--
freesbie:
0.rmdir.sh
1.mkdir.sh
2.buildworld.sh
3.installworld.sh
4.kernel.sh
5.patchfiles.sh
6.packages.sh
7.customuser.sh
8.preparefs.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:1 A:0 R:0]

2005-06-17 Thread Dario Freni
Log Message:
---
Despite on batch mode or not, NO_BUILDWORLD has effect.

Modified Files:
--
freesbie:
2.buildworld.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:1 A:0 R:0]

2005-06-17 Thread Dario Freni
Log Message:
---
Double-check existence of freesbie user each time.
Needed if passwd files are overridden by those in files/custom dir.

Modified Files:
--
freesbie:
7.customuser.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: ToDo list on the wiki.

2005-06-18 Thread Dario Freni
Matteo Riondato ha scritto:
 On Fri, Jun 17, 2005 at 07:46:07PM +0200, Dario Freni wrote:
 
If somebody want to help us, take a look on
http://wiki.freesbie.org/todo and send us patches. At the moment they're
only small works, you can add your own feature request in it (better if
you add it on the bottom of the page and we schedule it on the ToDo).
 
 
 How do you plan to maintain the TODO file in sync with the TODO page?

I did not plan it :) IMHO, we can remove TODO file from CVS tree.


signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

[CVS Update of freesbie - M:0 A:1 R:0]

2005-06-30 Thread Dario Freni
Log Message:
---
Adding Kernel configuration file for powerpc arch

Added Files:
---
freesbie/files:
FREESBIE.powerpc
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:1 A:0 R:0]

2005-06-30 Thread Dario Freni
Log Message:
---
Don't build acpi if $ARCH is powerpc

Modified Files:
--
freesbie:
4.kernel.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:1 A:0 R:0]

2005-06-30 Thread Dario Freni
Log Message:
---
Don'use md0c for MFSroot. Use md0 instead.

Modified Files:
--
freesbie:
8.preparefs.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:1 A:0 R:0]

2005-06-30 Thread Dario Freni
Log Message:
---
Different mkisofs parameter list for powerpc arch. Needs testing.

Modified Files:
--
freesbie:
81.mkiso.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:1 A:0 R:0]

2005-06-30 Thread Dario Freni
Log Message:
---
Added gem to the network devices list

Modified Files:
--
freesbie/files:
rc.conf
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie - M:1 A:0 R:0]

2005-07-01 Thread Dario Freni
Log Message:
---
Do not install scripts if $ARCH = powerpc (temporary)

Modified Files:
--
freesbie:
5.patchfiles.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: [CVS Update of freesbie - M:1 A:0 R:0]

2005-07-01 Thread Dario Freni
On Fri, Jul 01, 2005 at 09:55:44PM +0200, Dario Freni wrote:
 Log Message:
 ---
 Do not increase FSSIZE for mfsroot.
 
 Modified Files:
 --
 freesbie:
 8.preparefs.sh
 -- 
 FreeSBIE mailing list (http://www.freesbie.org)
 

Under ppc loader fails to handle a such big mfsroot, even if
mfsroot.gz is not so big. I think it's a kind of memory size limit of
OpenFirmware.


-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


pgpQPsstyl28G.pgp
Description: PGP signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

[CVS Update of freesbie - M:2 A:0 R:0]

2005-07-01 Thread Dario Freni
Log Message:
---
use tmpmfs=YES in rc.conf instead of create it in freesbie_1st

Modified Files:
--
freesbie/files:
freesbie_1st
rc.conf
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: temperature monitor

2005-07-17 Thread Dario Freni
[EMAIL PROTECTED] wrote:
 Hey,
 
 I love the distro :)
 
 But i have a question, I have a plan install of 5.4 Freebsd on my laptop,
 now when i boot using freesbie in gkrellm it shows the CPU temperature
 and how much battery is remaining.
 
 I was just wondering what i need to add to a normal freebsd install to
 show the same thing ?

Nothing. I use gkrellm since FreeBSD 4.something :)

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

FreeSBIE 2 toolkit, developers' preview

2005-08-30 Thread Dario Freni
Hi guys, I've put a snapshot of the now toolkit I've been working for
the Google Summer of Code here:

http://cvs.freesbie.org/~saturnero/freesbie2.tar.gz

If you have a FreeBSD version  6.x, on i386, amd64 and powerpc, you can
give it a test and send feedbacks to me.

As usual, comments and suggestions are greatly appreciated.

Many thanks to Google for this wonderful opportunity, as well as FreeBSD
 release engeering members (particularly Murray Stokely) for mentoring,
Peter Grehan and many FreeBSD developers for being so nice and responsive.

Bye everybody,
Dario

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

FreeSBIE 2 now on our cvs

2005-09-07 Thread Dario Freni
Hi guys,
I've imported the sources of freesbie2 toolkit to our cvs:

http://cvs.freesbie.org/cgi-bin/cvsweb.cgi/freesbie2/

You can checkout the module freesbie2 via anonymous pserver access (see
the website for further instruction).

Developers: feel free to send/commit patches

Bye,
Dario

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

[CVS Update of freesbie2 - M:2 A:0 R:0]

2005-09-08 Thread Dario Freni
Log Message:
---
Correct the fstab entry to read-only. Set the LABEL variable in powerpc
script and honour it in mkisofs.

Modified Files:
--
freesbie2/scripts:
iso.sh
freesbie2/scripts/powerpc:
iso.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: FreeSBIE2

2005-09-08 Thread Dario Freni
Dingo wrote:

testing 6.0 build with FreeSBIE2 now anything i need to be aware of ?, 
well i got a bare 6.0 build to boot ok and can login, now for an attempt at 
adding packages/xorg/kde and other things. 
  

If you aren't using cvs sources but the snapshot and you are using an
i386 machine, remove debug stuff from conf/i386/FREESBIE (at bottom).
Please note that unionfs is broken, so at the moment xorg will need some
manual tweak to work.

Bye,
Dario
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:0 A:2 R:0]

2005-09-12 Thread Dario Freni
Log Message:
---
Adding customroot plugin, see README for its meaning

Added Files:
---
freesbie2/extra:
customroot.sh
freesbie2/extra/customroot:
README
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:3 A:0 R:0]

2005-09-12 Thread Dario Freni
Log Message:
---
Merge from Perforce: Added $FreeBSD$

Modified Files:
--
freesbie2/conf/amd64:
FREESBIE
freesbie2/conf/i386:
FREESBIE
freesbie2/conf/powerpc:
FREESBIE
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:0 A:2 R:0]

2005-09-12 Thread Dario Freni
Log Message:
---
Adding etcmfs plugin. This installs a rcNG script that creates a
memory-mapped filesystem, clones /etc directory content in it, and
remount it on /etc. This is useful when /etc is read-only (e.g.
diskless environment) and stops annoying error messages from
nsswitch, motd and other scripts

Added Files:
---
freesbie2/extra:
etcmfs.sh
freesbie2/extra/etcmfs:
etcmfs.rc
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[POLL] Software you want in the next FreeSBIE iso

2005-09-24 Thread Dario Freni
Things are moving... We're looking forward to do a new release with
the upcoming FreeBSD 6.0 release. This way FreeSBIE could be useful to
test the compatibility with this interesting release.

So here we are for the traditional poll: what software would you like
to see in next FreeSBIE? Please note:

1) ftp://ftp.freesbie.org/pub/FreeSBIE/1.1/i386/FreeSBIE-1.1-i386.pkg_info.txt

2) I think our ISO mastah dave will not include qt/kde libs (please
   dave correct me if I'm wrong). So prevent asking for programs which
   use those libs

Bye and thanks everybody, we hope to get better and better with your
support.

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


pgptG4bsEiTIy.pgp
Description: PGP signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: FreeSBIE FreeBSD 6.0

2005-09-26 Thread Dario Freni

Dingo wrote:

Does FreeSBIE actually build 6.0 images now?? it was broken at one point.


Take a look at FreeSBIE 2: http://wiki.freesbie.org/freesbie2

Just download it from CVS, module freesbie2. And give feedback :)
--
FreeSBIE mailing list (http://www.freesbie.org)


Re: freesbie2 comment

2005-09-27 Thread Dario Freni

Omer Faruk Sen wrote:

Hi,
To try out I have downloaded and started a fresh iso image creation. But 
I think it should be better if you present user a page that user can 
select which packages will be installed on iso image. Just like you did 
on FreeSBIE1. There can be a variable on default like 
INTERACTIVE_PKG_SELECT or something like that. If user want to make a 
batch install he/she can use PKGFILE variable.

Nice and clean work compared to FreeSBIE1. Thanks for all involved...


Use

# make pkgselect

before building. It helps you to create a PKGFILE.

Bye,
D
--
FreeSBIE mailing list (http://www.freesbie.org)


Re: freesbie2

2005-10-01 Thread Dario Freni
Petr Holub ha scritto:
 Hi,
 
 I'm using current freesbie2 from CVS and I've encountered one
 problem: it seems that md size is underestimated a little bit
 in clone_fs phase and the process has problems with disk full,
 which doesn't stop and proceeds, even though not all the data
 is copied on the image. I've incread md size by 32000:
 FSSIZE=$(($(du -kd 0 | cut -f 1) + 64000 + 32000 ))
 and it works now.

I'll consider this. Thank you.

 
 BTW, is it possible to use the process for building bootable
 DVDs as well? And it might be worth creating more docs and then
 doing a lot of PR :-)

Yes, you can also build DVD iso. Docs and PRs are welcome :P

Thank you again,
Dario

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: Freesbie2 FYI

2005-10-01 Thread Dario Freni
Dingo ha scritto:
 FYI 6.0 freesbie builds still broken

I'm just developing some plugins with freesbie2 (see '2'. download
freesbie2 from cvs) without any problems.

Bye

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

[CVS Update of freesbie2 - M:1 A:0 R:0]

2005-10-01 Thread Dario Freni
Log Message:
---
- Corrected EXTRA sample declaration
- Added $Id$

Modified Files:
--
freesbie2/conf:
freesbie.defaults.conf
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:1 A:1 R:0]

2005-10-01 Thread Dario Freni
Log Message:
---
- Changed DEBUG environment variable to FREESBIE_DEBUG in order to avoid
  conflicts with buildkernel
- Added check for existence of target scripts under scripts/custom
  directory. This directory can contain customised scripts, without having
  to patch the existent ones.
- Added $Id$

Modified Files:
--
freesbie2/scripts:
launch.sh

Added Files:
---
freesbie2/scripts/custom:
README
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:25 A:0 R:0]

2005-10-01 Thread Dario Freni
Log Message:
---
Added $Id$

Modified Files:
--
freesbie2:
COPYING
Makefile
freesbie2/conf:
make.conf
make.conf.minimal
freesbie2/conf/amd64:
FREESBIE
freesbie2/conf/i386:
FREESBIE
freesbie2/conf/powerpc:
FREESBIE
freesbie2/conf/rc.d:
unionfs
uzip
freesbie2/extra:
customroot.sh
etcmfs.sh
freesbie2/extra/customroot:
README
freesbie2/scripts:
buildkernel.sh
buildworld.sh
cleandir.sh
clonefs.sh
extra.sh
flash.sh
img.sh
installkernel.sh
installworld.sh
iso.sh
pkginstall.sh
pkgselect.sh
freesbie2/scripts/powerpc:
iso.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: I can't rsync.freesbie.org

2005-10-09 Thread Dario Freni
Tatsuya Ueda ha scritto:
 Hi. I'm TATSUYA.
 
 It is not possible to connect it for several days back. 
 Do any problems occur?
 
 See you.
 
 -- S-Lines Network Service  --
 o Tatsuya Ueda
E-Mail : [EMAIL PROTECTED]
URL: http://www.s-lines.net/
 --

Our main ftp (as well as rsync) server is moving to another datacenter.
Don't know when it will be available again :/ Max?

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

[CVS Update of freesbie2 - M:1 A:0 R:0]

2005-10-30 Thread Dario Freni
Log Message:
---
Clarify that freesbie.conf should reside under conf/ or an environment
variable with the absolute path must be set.

Modified Files:
--
freesbie2/conf:
freesbie.defaults.conf
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: Custom FreeSBIE2 Question (adding packages)

2005-11-03 Thread Dario Freni

Ben Pratt wrote:

OK, so I figured out how to get my own custom freesbie.conf working, and
I thank you for your help on that, but I've come across something else...

I am now trying to use the FILE_LIST variable inside of that
freesbie.conf so that I may specify packages to be installed. When that
variable is not set I have no problems building an ISO but when that
variable is set I get the following error:


FILE_LIST has to contain a list of all *files* that should be installed. 
This is useful if you want to do a very very small system. You're 
looking fore PKGFILE:


# Set PKGFILE variable to a text file containing a list of packages to
# install in the built system. This file can be either a pkg_info(1)
# like output either a list of packages without version number. Please
# note that this file will be rewritten if you run `make pkgselect'
#
#PKGFILE=/my/own/pkg_info_output.txt

As noted, you can use make pkgselect to have a ncurses frontend to the 
package choice. Output file is conf/packages (which also is the default 
PKGFILE value.

--
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:1 A:0 R:0]

2005-11-05 Thread Dario Freni
Log Message:
---
Estimate the md vnode size by adding a percentage of the directory
size instead of a fixed value (formerly 64000).

Needs testing. Can be backported to freesbie1

Discussed with: stucchi, drizzt

Modified Files:
--
freesbie2/scripts:
clonefs.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: [CVS Update of freesbie2 - M:2 A:0 R:0]

2005-11-15 Thread Dario Freni
Dario Freni wrote:
 Log Message:
 ---
 Rename LABEL to FREESBIE_LABEL and take it from the environment if
 it exists. This is an hidden variable to be able to change the final
 filesystem variable comfortably from configuration file.
 

s/variable/label

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

[CVS Update of freesbie2 - M:1 A:0 R:0]

2005-11-15 Thread Dario Freni
Log Message:
---
Whoops! Remove set -x

Modified Files:
--
freesbie2/extra:
buildmodules.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:1 A:0 R:0]

2005-11-15 Thread Dario Freni
Log Message:
---
Make all the default variables overridable by environment variables

Modified Files:
--
freesbie2/conf:
freesbie.defaults.conf
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:1 A:0 R:0]

2005-11-16 Thread Dario Freni
Log Message:
---
Use FREESBIE_LABEL

Modified Files:
--
freesbie2/scripts:
img.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: Custom CD Build Error

2005-11-18 Thread Dario Freni
Dario Freni ha scritto:
 On Thu, Nov 17, 2005 at 09:53:43PM -0600, Ben wrote:
 
/mnt/backup/freesbie-clone/usr: write failed, filesystem is full
 
 
 This is a loopfile filesystem. Try this patch:
 
 Index: scripts/clonefs.sh
 ===
 RCS file: /cvs/freesbie2/scripts/clonefs.sh,v
 retrieving revision 1.4
 diff -u -r1.4 clonefs.sh
 --- scripts/clonefs.sh  7 Nov 2005 12:57:31 -   1.4
 +++ scripts/clonefs.sh  18 Nov 2005 10:10:06 -
 @@ -34,7 +34,7 @@
  
  # Find the total dir size and initialize the vnode
  DIRSIZE=$(($(du -kd 0 | cut -f 1)))
 -FSSIZE=$(($DIRSIZE + ($DIRSIZE/10)))
 +FSSIZE=$(($DIRSIZE + ($DIRSIZE/20)))
  dd if=/dev/zero of=${UFSFILE} bs=1k count=${FSSIZE}  ${LOGFILE} 21
  
  DEVICE=/dev/$(mdconfig -a -t vnode -f ${UFSFILE})
 

Wrong math, try this one instead:

Index: scripts/clonefs.sh
===
RCS file: /cvs/freesbie2/scripts/clonefs.sh,v
retrieving revision 1.4
diff -u -r1.4 clonefs.sh
--- scripts/clonefs.sh  7 Nov 2005 12:57:31 -   1.4
+++ scripts/clonefs.sh  18 Nov 2005 10:10:06 -
@@ -34,7 +34,7 @@

 # Find the total dir size and initialize the vnode
 DIRSIZE=$(($(du -kd 0 | cut -f 1)))
-FSSIZE=$(($DIRSIZE + ($DIRSIZE/10)))
+FSSIZE=$(($DIRSIZE + ($DIRSIZE/5)))
 dd if=/dev/zero of=${UFSFILE} bs=1k count=${FSSIZE}  ${LOGFILE} 21

 DEVICE=/dev/$(mdconfig -a -t vnode -f ${UFSFILE})


signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

[CVS Update of freesbie2 - M:1 A:0 R:0]

2005-11-18 Thread Dario Freni
Log Message:
---
Unset -e flag before make distribution. Under unknown circumstances, grep
could exit with non-zero status and make the script exit.

Found by: Cristiano Deana [EMAIL PROTECTED] (bro)

Modified Files:
--
freesbie2/scripts:
installworld.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:0 A:2 R:0]

2005-11-18 Thread Dario Freni
Log Message:
---
First user-contributed plugin for freesbie2.

Customscripts plugin allow you to launch scripts inside the build 
directory (with chroot) before packing the iso. This is useful e.g. to
create users or to edit internal files automatically at every build.

Submitted by: Dominique Goncalves [EMAIL PROTECTED]

Thank you!

Added Files:
---
freesbie2/extra:
customscripts.sh
freesbie2/extra/customscripts:
README
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:0 A:1 R:0]

2005-11-19 Thread Dario Freni
Log Message:
---
Adding comconsole plugin. Enabling this one allows you to automatically
enable serial console and video console. If you set SERIAL_ONLY variable
only serial console will be available.

Added Files:
---
freesbie2/extra:
comconsole.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:0 A:2 R:0]

2005-11-20 Thread Dario Freni
Log Message:
---
Adding adduser plugin for testing.

Added Files:
---
freesbie2/extra:
adduser.sh
freesbie2/extra/adduser:
homemfs.rc
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:1 A:0 R:0]

2005-11-27 Thread Dario Freni
Log Message:
---
When looking for mkisofs, grep could fail. set +e then.

Modified Files:
--
freesbie2/scripts:
iso.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:1 A:0 R:0]

2005-11-27 Thread Dario Freni
Log Message:
---
Significantly speed up of pkginstall phase. Less disk required during copy 
(O(1)). New pseudo-algorithm:
- Sort packages by dependencies (to be improved)
- Foreach package listed
  - create uncompressed package
  - install it on the freesbie-fs
  - remove it

Modified Files:
--
freesbie2/scripts:
pkginstall.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: [CVS Update of freesbie2 - M:1 A:0 R:0]

2005-11-27 Thread Dario Freni

Dario Freni wrote:

Log Message:
---
Significantly speed up of pkginstall phase. Less disk required during copy 
(O(1)). New pseudo-algorithm:
- Sort packages by dependencies (to be improved)
- Foreach package listed
  - create uncompressed package
  - install it on the freesbie-fs
  - remove it

Modified Files:
--
freesbie2/scripts:
pkginstall.sh


Can somebody test it please?

--
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc
--
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:0 A:1 R:0]

2005-11-29 Thread Dario Freni
Log Message:
---
Add a pointer to http://wiki.freesbie.org/freesbie2

Added Files:
---
freesbie2:
README
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: Next Version

2005-12-01 Thread Dario Freni
On Thu, Dec 01, 2005 at 04:43:30PM +0800, Gu Hao wrote:
 expecting new version.
 btw, how does current FreeSBIE support FreeBSD 6.0 Release in making LiveCD?

If current FreeSBIE means first FreeSBIE toolkit the answer is
nobody have attempt to use it.

If current FreeSBIE means FreeSBIE  2 the answer is quite well, but
for being average-user ready we still have to port some fashion things
we had on old FreeSBIE (one for all, autodetect)

Bye,
D.

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


pgpFp0JlHGUwf.pgp
Description: PGP signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

[CVS Update of freesbie2 - M:0 A:7 R:0]

2005-12-01 Thread Dario Freni
Log Message:
---
Adding X auto configuration ported from FreeSBIE 1 toolkit.
- xconfig.sh provides card detection and it is copied on 
$BASEDIR/usr/local/etc/rc.d
- xkbdlayout is copied to $BASEDIR/usr/local/sbin as it is an interactive 
script, so if you want to call it automatically on the ISO image you have to 
set your rc.local or login files properly.

Ported-by: rionda, me

Added Files:
---
freesbie2/extra:
xconfig.sh
freesbie2/extra/xconfig:
Cards
pcitable.gz
xconfig.sh
xkbdlayout.sh
xorg.conf.orig
xorg.conf.vmware
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:1 A:0 R:0]

2005-12-02 Thread Dario Freni
Log Message:
---
Suppress output of pkg_create

Modified Files:
--
freesbie2/scripts:
pkginstall.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:1 A:0 R:0]

2005-12-08 Thread Dario Freni
Log Message:
---
Ensure $BASEDIR/usr/local/etc/rc.d is created before copying.

Modified Files:
--
freesbie2/extra:
xconfig.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: Xorg Problem w/ Custom CD

2005-12-10 Thread Dario Freni
Ben wrote:
 Hello. I've got a quick question about getting EXTRA=xconfig working.
 In my freesbie.conf file I've included EXTRA=adduser xconfig sound to
 try to add some of the basic scripts that I wanted to add. They all seem
 to have been added properly and adduser appears to have worked but
 xconfig is failing to write the xorg.conf file at boot time. This is
 what I'm seeing:
 
 Cirrus Logic GD544x detected, using cirrus driver
 /usr/local/etc/rc.d/xconfig.sh: cannot create /etc/X11/xorg.conf:
 Read-only file system
 
 and then it goes to the login prompt. If I try to run startxfce4 it
 tries to open Xorg but fails back to a prompt. I also updated my
 FreeSBIE system yesterday after the Xorg commits and I haven't seen any
 commits since.
 
 Has anyone else gotten EXTRA=xconfig to work? I'm sure it's another
 option that I'm missing, could someone please give me any ideas?

You have to add etcmfs plugin, because /etc is read-only atm. etcmfs
will be a mandatory plugin until we have a functional unionfs on FreeBSD.

Bye,
Dario

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

[CVS Update of freesbie2 - M:1 A:0 R:0]

2005-12-11 Thread Dario Freni
Log Message:
---
Introduce hidden variable SCRIPTS_OVERRIDE. You can put your custom scripts 
(which previously were on ${LOCALDIR}/scripts/custom) wherever you want and set 
this variable pointing to the right directory path.

Modified Files:
--
freesbie2/scripts:
launch.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:1 A:0 R:0]

2005-12-15 Thread Dario Freni
Log Message:
---
More reliable check: if no origins are found, exit this phase.

Modified Files:
--
freesbie2/scripts:
pkginstall.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: OOo startup time

2005-12-17 Thread Dario Freni
On Sun, Dec 18, 2005 at 12:20:10AM +0100, J?r?me Warnier wrote:
 Hello guys,
 
 I tried Freesbie 1.1 lately and have been astounded by the startup speed
 of OOo on it. I used the LiveCD way of booting, with XFCE on my laptop,
 where the system installed is a Debian GNU/Linux Sarge, and I have been
 really impressed by the timing difference between both.
 
 Do any of you have a good idea on the cause? I would like to bring it to
 Debian if I can. Even using prelink and disabling Java is not enough to
 make it half as fast.

Well, ours is a plain package. IIRC I compiled the version included in
FreeSBIE on my machine, only disabling Java. It's also dinamically
linked, afaik.

 After thinking a bit, I wondered if it could have something to do with
 it being a LiveCD. Is the filesystem completely in RAM (that would
 explain why it starts so quickly)? My laptop has 512MB of it.

Nope, in that version we have only unionfs enabled on ram
filesystem. All files are read from the compressed filesystem.

 Thanks for your help, and BTW, Freesbie is really neat. Keep up the good
 work!

Thank you, I hope you will help us testing our upcoming beta of the
next version :)

Bye,
Dario

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


pgpQT8Z5HOqWr.pgp
Description: PGP signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

New FreeSBIE beta releases (Was: OOo startup time)

2005-12-18 Thread Dario Freni
On Sun, Dec 18, 2005 at 02:06:27AM +0100, J?r?me Warnier wrote:
 Do you know if it uses ooo-build[1] from Ximian/Novell, Debian, SuSE,
 Gentoo, etc ... ?

Don't know, sorry.

 Well, I must admit that I tested it (version 1.1) on many different PC,
 and all but my laptop failed, mostly because of display problems
 (garbage, and impossible to see anything, or seeing just the mouse
 pointer, but impossible to move it and nothing else ever appears on the
 screen). I would guess they are graphics adapters-related.
 One of those is a Matrox MGA G200 AGP, another is a S3 Trio3D, and the
 last one is an nVidia TNT chipset. If I can help in fixing those...
 
 My laptop is an IBM T23, with a Savage adapter.

Ok, you can download the beta from the torrent:
http://torrent.freesbie.org/FreeSBIE-default-i386-20051218.iso.torrent

You can log in as user freesbie (no password) and try startxfce4 or
startfluxbox. You won't find the preconfigured menus and settings as
dave's still working on them, but you can run `openoffice.org' from a
terminal.

All you readers are strongly welcome if you can give it a test and
report a feedback, we are working hard for the new release ;)

Bye and thanks

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


pgpUxtzzzKGkJ.pgp
Description: PGP signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: FreeSBIE Digest, Vol 21, Issue 17

2005-12-19 Thread Dario Freni
Daniel Gonzalez ha scritto:
 Ok, you can download the beta from the torrent:
 http://torrent.freesbie.org/FreeSBIE-default-i386-20051218.iso.torrent
 
 I just downloaded the iso image using the torrent link (I'm still
 seeding). Before I make a coaster, Does anyone have the correct md5sum
 for the iso image? I'm down to my last CDR.

md5 is not needed with torrent, as the checksum is verified on the fly.

builder md5 FreeSBIE-default-i386-20051218.iso
MD5 (FreeSBIE-default-i386-20051218.iso) = 9084c9005bf5f7d0a6c79e8e9cfd4308


-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: New FreeSBIE beta releases (Was: OOo startup time)

2005-12-19 Thread Dario Freni
Jérôme Warnier ha scritto:
 [..]
 
Well, I must admit that I tested it (version 1.1) on many different PC,
and all but my laptop failed, mostly because of display problems
(garbage, and impossible to see anything, or seeing just the mouse
pointer, but impossible to move it and nothing else ever appears on the
screen). I would guess they are graphics adapters-related.
One of those is a Matrox MGA G200 AGP, another is a S3 Trio3D, and the
last one is an nVidia TNT chipset. If I can help in fixing those...

My laptop is an IBM T23, with a Savage adapter.

Ok, you can download the beta from the torrent:
http://torrent.freesbie.org/FreeSBIE-default-i386-20051218.iso.torrent
 
 
 I tried it. On my PC with a Matrox MGA G200, it works nicely, detecting
 the card without any problem, and no more graphics memory corruption.
 On this PC, which has only 64MB RAM, starting OOo is *extremely* slow.
 
 On my laptop (IBM T23), it seems it has a real big problem to read from
 the DVD drive, so it is _extremely_ slooow to boot, and unusable
 afterwards anyway.
 I can read the following error line during bootup:
 acd0: FAILURE - READ_BIG ILLEGAL REQUEST ... error=4ABORTED

This is normal if it happens only once at boot. It is due to geom_label
system which helps us to recognize the correct cdrom device that is booting.

You can log in as user freesbie (no password) and try startxfce4 or
startfluxbox. You won't find the preconfigured menus and settings as
dave's still working on them, but you can run `openoffice.org' from a
terminal.

All you readers are strongly welcome if you can give it a test and
report a feedback, we are working hard for the new release ;)
 
 
 Where should I change the keyboard mapping? It doesn't ask for anything,
 but the result is that it does not get alone to a graphical environment,
 nor does allow to change the keyboard mapping at boot.

Run xkbdlayout.sh, it's under /usr/local/sbin. As I said, we've not
prepared all those fancy automatisms yet.

Bye and thanks for the report,
Dario

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc



signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: FreeSBIE Digest, Vol 21, Issue 17

2005-12-19 Thread Dario Freni
Kuma San ha scritto:
 Message: 4
 Date: Sun, 18 Dec 2005 21:58:50 +0100
 From: Matteo Riondato [EMAIL PROTECTED]
 On Sun, Dec 18, 2005 at 10:48:35AM -0800, Kuma San wrote:
 
 1)  why  is  my  /etc/fstab  empty?  Is  there  another file
 
 somewhere
 
which
would contain the same info?
 
 Because FreeSBIE doesn't need it. =)
 
 how come?  Why would FreeSBIE already know what filesystems are mountable and 
 a regular FreeBSD would not?

Well, in FreeSBIE 1.1 there's a startup script (to be ported still in
FreeSBIE 2) which searches readable partition and mount them on the fly.
It doesn't update the fstab file.

You can see with `mount` with no arguments which partitions are mounted
and where.

 Besides, who do *I* know what filesystems are mountable if I use FreeSBIE, in 
 particular journalized filesystems which, I was told, FreeBSD/FreeSBIE cannot 
 read?  Where can I get the /etc/fstab info in FreeSBIE
 
 
 
2)  why  does  one  mount,  for  example,  a  CD  by  doing
mount_cd9660 /dev/cd1 /mnt/cdrom1 instead of the more simple mount 
/dev/cd1  /mnt/cdrom1 does /dev/cd1  not already give the OS the info that 
its a cd9660 CD which is being mounted?
 
 
 No.
 
 ok. why not? why would not a mount command followed by a /dev/something not 
 be enough?

Two reasons:
1) there's no entries in fstab, as mentioned before
2) FreeBSD's mount doesn't auto-recognize partition type like Linux one
do when launched with -t auto. So you have at least to run `mount -t
cd9660 /dev/whatever /mnt/whatelse`. Or mount_cd9660, which is equivalent.

 One more question: can FreeSBIE be used with a dial-up connection?  Is there 
 something like ppp-config/pon CLI/GUI app for dial-up with FreeSBIE?

There's no (semi)auto-configuration utility, if this is what you need.
There is FreeBSD's ppp utility, which you can configure editing
/etc/ppp/ppp.conf and run from a terminal. See this:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html

and all the chapter about PPP on the FreeBSD handbook.

Bye,
Dario

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc


signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

[CVS Update of freesbie2 - M:0 A:1 R:0]

2005-12-20 Thread Dario Freni
Log Message:
---
Adding installports plugin. This installs a list of ports defined in the 
INSTALL_PORTS variable in the usual category/portname format by mounting 
/usr/ports and /usr/src in the chroot via nullfs.

This is particularily useful with ports building kernel modules such as 
audio/emu10kx and x11/nvidia-drivers, as they tipically needs kernel sources to 
install modules and don't include the .ko in the package. It also makes 
possible to compile those ports between different FreeBSD versions (e.g.: 
making a 7.0-CURRENT image from a 6-STABLE box).

Added Files:
---
freesbie2/extra:
installports.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:0 A:2 R:0]

2005-12-26 Thread Dario Freni
Log Message:
---
Adding varmfs plugin. It creates a /var mfs partition at boot time. The
only difference from FreeBSD's rc.d/var script is that the mfs partition is
populated with the actual content of /var, instead of being empty every
boot.
  Default size is 32m. Do not use this plugin when you have a large
number of packages installed or when you have big size data on /var
directory in the live fs.
  This is the Nth hack needed by the absence of a working unionfs on
FreeBSD6. Please, wake me up and tell me this was a nightmare.

Discussed with: geekgod
Untested by: me

Added Files:
---
freesbie2/extra:
varmfs.sh
freesbie2/extra/varmfs:
varmfs.rc
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:4 A:0 R:0]

2006-01-02 Thread Dario Freni
Log Message:
---
Unbreak the boot phase after recent changes in FreeBSD's rcNG system.

Modified Files:
--
freesbie2/extra/adduser:
homemfs.rc
freesbie2/extra/etcmfs:
etcmfs.rc
freesbie2/extra/rootmfs:
rootmfs.rc
freesbie2/extra/varmfs:
varmfs.rc
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:6 A:0 R:0]

2006-01-04 Thread Dario Freni
Log Message:
---
Add support for MAKEOBJDIRPREFIX variable.

Submitted by: Marco Molteni molterattin.it

Modified Files:
--
freesbie2/conf:
freesbie.defaults.conf
freesbie2/scripts:
buildkernel.sh
buildworld.sh
installkernel.sh
installworld.sh
launch.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:1 A:0 R:0]

2006-01-04 Thread Dario Freni
Log Message:
---
MAKEOBJDIRPREFIX is not set by default, so use ${MAKEOBJDIRPREFIX:-} notation

Modified Files:
--
freesbie2/scripts:
launch.sh
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:2 A:0 R:0]

2006-01-05 Thread Dario Freni
Log Message:
---
- Improve unionfs support, use transparent mode [1]
- Memory filesystem size is now calculated from the total ram available on
  the system. The actual size is hw.usermem/2 [2]

NO_UNIONFS is still set by default, if you want to give it a test just add the 
unset NO_UNIONFS line to your freesbie.conf

[1] You need to use http://people.freebsd.org/~daichi/unionfs/unionfs6-p2.diff
[2] Suggested by: Masanori OZAWA ozawa|at|ongs.co.jp

Modified Files:
--
freesbie2/scripts:
clonefs.sh
freesbie2/conf/rc.d:
unionfs
-- 
FreeSBIE mailing list (http://www.freesbie.org)


[CVS Update of freesbie2 - M:2 A:0 R:0]

2006-01-10 Thread Dario Freni
Log Message:
---
Now that unionfs transparent copymode works, use mtree only with /etc and
/root by default to recover permissions lost with the iso filesystem
conversion. /usr and /var don't need (by default) any permission recovery
because they're compressed ufs filesystems.

Any user can set UNION_DIRS env variable to list the directory to be
partitioned starting from / (e.g.: etc tmp var usr) and UNION_DIRS_MTREE
variable to list which of those directories need permission recovery (e.g.:
etc)

Modified Files:
--
freesbie2/scripts:
clonefs.sh
freesbie2/conf/rc.d:
unionfs
-- 
FreeSBIE mailing list (http://www.freesbie.org)


Re: Problem while compiling pfSense using freesbie2

2006-01-30 Thread Dario Freni

Rajkumar S writes:
Does any one get this error? I am stuck at this place for past 2 days. Is 
there any switch I can turn on which shows what is the exact error I get 
where it prints 1 error? Is it possible to do the make from this point 
onwads with out starting all over again?


try to set the MAKEJ variable to  , this disables -j during world compile. 
You can set it as environment. 


Bye,
Dario
--
FreeSBIE mailing list (http://www.freesbie.org)


Re: New website launched

2006-02-07 Thread Dario Freni
Marco Molteni ha scritto:
 On Tue, 07 Feb 2006 17:57:21 +0100
 Dario Freni [EMAIL PROTECTED] wrote:
 
 after almost an year of freeze, I updated www.freesbie.org site.
 
 Very good idea indeed.
 
 May I suggest to replace:
 We also develop a nice toolkit
 with something like:
 We also develop an a simple to use and easily extendable toolkit
 
 marco

Updated, thanks!

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc



signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: Creating a 7.x freesbie img on a 6.x host

2006-05-25 Thread Dario Freni
Paolo Pisati wrote:
 Hi guys,
 
 did anyone recently build/install a 7.x system on a 6.x host?

Dominique Goncalves did. Try the patch attached and see if it works.

Bye,
Dario

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc
diff -ru freesbie2.orig/conf/freesbie.defaults.conf 
freesbie2/conf/freesbie.defaults.conf
--- freesbie2.orig/conf/freesbie.defaults.conf  Thu Apr  6 20:05:05 2006
+++ freesbie2/conf/freesbie.defaults.conf   Sun Apr 23 19:07:41 2006
@@ -67,6 +67,11 @@
 #
 #MAKE_CONF=/etc/make.conf
 
+# The src.conf file contains settings that will apply to every build
+# involving the FreeBSD source tree; see build(7) and src.conf(5)
+# only for 7.0-CURRENT
+SRC_CONF=${SRC_CONF:-/dev/null}
+
 # You can specify which files to add to your system one by one. Just
 # put the list in a text file and set the absolute path in FILE_LIST
 # variable
Only in freesbie2/conf: freesbie.defaults.conf.orig
diff -ru freesbie2.orig/scripts/buildkernel.sh freesbie2/scripts/buildkernel.sh
--- freesbie2.orig/scripts/buildkernel.sh   Sun Apr  2 01:06:41 2006
+++ freesbie2/scripts/buildkernel.shSun Apr 23 19:08:48 2006
@@ -43,7 +43,7 @@
 
 unset EXTRA
 
-makeargs=${MAKEOPT:-} ${MAKEJ:-} __MAKE_CONF=${MAKE_CONF} 
TARGET_ARCH=${ARCH} 
+makeargs=${MAKEOPT:-} ${MAKEJ:-} __MAKE_CONF=${MAKE_CONF} TARGET_ARCH=${ARCH} 
SRCCONF=${SRC_CONF}
 (env $MAKE_ENV script -aq $LOGFILE make $makeargs buildkernel || print_error;) 
| grep '^'
 
 cd $LOCALDIR
diff -ru freesbie2.orig/scripts/buildworld.sh freesbie2/scripts/buildworld.sh
--- freesbie2.orig/scripts/buildworld.shSun Apr  2 01:06:41 2006
+++ freesbie2/scripts/buildworld.sh Sun Apr 23 19:07:41 2006
@@ -35,7 +35,7 @@
 
 unset EXTRA
 
-makeargs=${MAKEOPT:-} ${MAKEJ:-} __MAKE_CONF=${MAKE_CONF} TARGET_ARCH=${ARCH}
+makeargs=${MAKEOPT:-} ${MAKEJ:-} __MAKE_CONF=${MAKE_CONF} TARGET_ARCH=${ARCH} 
SRCCONF=${SRC_CONF}
 (env $MAKE_ENV script -aq $LOGFILE make ${makeargs:-} buildworld || 
print_error;) | grep '^'
 
 cd $LOCALDIR
diff -ru freesbie2.orig/scripts/installkernel.sh 
freesbie2/scripts/installkernel.sh
--- freesbie2.orig/scripts/installkernel.sh Thu Jan  5 00:23:10 2006
+++ freesbie2/scripts/installkernel.sh  Sun Apr 23 19:07:41 2006
@@ -40,7 +40,7 @@
  
 cd ${SRCDIR}
 
-makeargs=${MAKEOPT:-} ${MAKEJ:-} __MAKE_CONF=${MAKE_CONF} TARGET_ARCH=${ARCH} 
DESTDIR=${BASEDIR}
+makeargs=${MAKEOPT:-} ${MAKEJ:-} __MAKE_CONF=${MAKE_CONF} TARGET_ARCH=${ARCH} 
DESTDIR=${BASEDIR} SRCCONF=${SRC_CONF}
 (env $MAKE_ENV script -aq $LOGFILE make ${makeargs:-} installkernel || 
print_error;) | grep '^'
 
 cd ${BASEDIR}/boot/kernel
diff -ru freesbie2.orig/scripts/installworld.sh 
freesbie2/scripts/installworld.sh
--- freesbie2.orig/scripts/installworld.sh  Thu Jan  5 00:23:10 2006
+++ freesbie2/scripts/installworld.sh   Sun Apr 23 19:07:41 2006
@@ -30,12 +30,12 @@
 
 cd ${SRCDIR}
 
-makeargs=${MAKEOPT:-} ${MAKEJ:-} __MAKE_CONF=${MAKE_CONF} TARGET_ARCH=${ARCH} 
DESTDIR=${BASEDIR}
+makeargs=${MAKEOPT:-} ${MAKEJ:-} __MAKE_CONF=${MAKE_CONF} TARGET_ARCH=${ARCH} 
DESTDIR=${BASEDIR} SRCCONF=${SRC_CONF}
 (env $MAKE_ENV script -aq $LOGFILE make ${makeargs:-} installworld || 
print_error;) | grep '^'
 
-cd ${SRCDIR}/etc
+#cd ${SRCDIR}/etc
 
-makeargs=${MAKEOPT:-} __MAKE_CONF=${MAKE_CONF} TARGET_ARCH=${ARCH} 
DESTDIR=${BASEDIR}
+makeargs=${MAKEOPT:-} __MAKE_CONF=${MAKE_CONF} TARGET_ARCH=${ARCH} 
DESTDIR=${BASEDIR} SRCCONF=${SRC_CONF}
 set +e
 (env $MAKE_ENV script -aq $LOGFILE make ${makeargs:-} distribution || 
print_error;) | grep '^'
 set -e



signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: memory issues with freesbie 2.0

2006-05-26 Thread Dario Freni
[EMAIL PROTECTED] wrote:
 My objective was to create a custom live cd with two additional ports 
 added, which was achieved. ISO created is appx 190MB. This is on a 
 laptop with 1.2GB ram. 
 
 Now, when I attempt to work (open) files larger than about 20MB, I 
 believe I exceed the Ram disk, if that is the right word. 
 
 Thinking that my laptop with 512MB Ram was insufficient, I installed 
 an extra 768MB to give me 1.2GB ram. 
 
 However, the livecd does not see the new ram, and making another 
 livecd after adding the ram does not help.
 
 Could someone please advise this newbie on solving this problem? Do I 
 need to tweak the conf file? 
 
 Thanks in advance,
 Steve. 

Can you exactly report the output of the error? What FreeBSD version are
you using?

Bye,
Dario

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc



signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: Project using Freesbie (autologin on FreeBSD using gettytab)

2006-06-01 Thread Dario Freni
Dominique Goncalves ha scritto:
 Hi,
 
 On 6/1/06, Henri-Pierre Charles [EMAIL PROTECTED] wrote:
 Hello, just for information, I have started a project in my university
 Bureau portable, based on Freesbie2 and FreeBSD6.1. The goal is to
 give an iso containing all the software usefull for the students.

 http://libre.uvsq.fr/index.php/projet-bureau-portable/
 (in french only)

 It works actually pretty good. Actually the user has to login with
 root in order to lauch xfce4. Is it possible to lauch it directly,
 without using a login ?
 
 You can use this example of using gdm and pam to autologin a specific user
 http://www.freebsd.org/gnome/docs/faq2.html#q23
 
 If there is an another way to autologin a user without using gdm I'm
 interested ! :-)
 
 HTH.

Geeky way:

Open /etc/gettytab and add the following rows at the bottom:

freesbie:\
:al=freesbie:ht:np:sp#115200:

Assuming 'freesbie' is the user you want to login. Then edit /etc/ttys,
find the ttyv0 line and substitute Pc with freesbie or whatever
label you putted in gettytab.

ttyv0   /usr/libexec/getty freesbie   cons25  on  secure

Then kill -HUP 1 to make changes effective. To make X autostart, I
modified my .cshrc, you can do the same depending on your chosen shell.
I added a row:

[ $?DISPLAY = 0]  [ $?SSH_CLIENT = 0 ]  startx

Bye,
Dario

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc



signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: How to install pkg which need answer

2006-06-02 Thread Dario Freni
Henri-Pierre Charles ha scritto:
 Hello, I still continue to select package for my local Freesbie
 distribution.
 I have tried to add diablo-1.5.0-b00 but the package need to answer
 yes to the licence question, and the pkginstall.sh fail with an
 infinite loop.
 
 Is there a turnaround ? I have tried to modify the pkginstall.sh using
 the yes command without success.
 
 Or is there a way to add package diffently during the process ?

Set the PACKAGE_BUILDING environment variable to something. I'm going to
include it in the pkginstall.sh script.

Bye,
Dario

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc



signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: [CVS Update of freesbie2 - M:0 A:2 R:0]

2006-06-03 Thread Dario Freni
Matteo Riondato wrote:
 On Sat, Jun 03, 2006 at 01:56:47PM +0200, [EMAIL PROTECTED] wrote:
 Log Message:
 ---
 Add pf plugin, which creates a basic pf.conf in a dynamic fashion, detecting
 present ethernet devices and allowing only outside connections and incoming
 SSH connections.
 
 I really like the idea and it's great to see our plugins base growing,
 but I don't like the implementation.
 This plugin requires etcmfs but I don't think it should, as it's
 really simple.
 I think it can be rewritten without the dependency on etcmfs, just
 using sh, pfctl, kldstat and kldload if needed and so on.
 Comments? Am I missing something really obvious?

Well, only a writable etc it's required, so etcmfs or unionfs are ok
with it. Also xconfig plugin need it. It is not that problem.

Due to its general purpose nature, I think this implementation can be
considered fine and functional. The only thing that needs to be changed,
imho, is removing pf_enable=YES row and using forcestart to start pf.

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE project is looking for a new builder machine!
Check http://www.freesbie.org/donations.html



signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: 2 problems with make iso

2006-06-05 Thread Dario Freni
[EMAIL PROTECTED] wrote:
 I am having 2 progblems when I do a make iso.
 I am running FreeBSD 6.1

Are you compiling a 7.0-CURRENT iso?

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE project is looking for a new builder machine!
Check http://www.freesbie.org/donations.html



signature.asc
Description: OpenPGP digital signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: About md panic

2006-08-25 Thread Dario Freni


Il giorno 25/ago/06, alle ore 16:47, Matteo Riondato ha scritto:


On Fri, Aug 25, 2006 at 04:32:53PM +0200, Dominique Goncalves wrote:

Hi,

I added -o reserve where there is the -a option used with mdconfig  
but

without luck.
My change are avalaible at
http://djdomics.free.fr/FreeBSD/freesbie2/patches/mdconfig- 
reserve.diff


When I boot an ISO (with unionfs enabled), I see errors like this:

mdconfig: must specify -f for -t vnode
mdconfig: must specify -s for -t malloc or -t swap

I'm a bit lost :-(

What's wrong with my change ?


After a quick look at mdconfig source, I would say that you should
change:

mdconfig -a -t malloc -o compress , reserve -s ${etcsize}
with
mdconfig -a -t malloc -o compress -o reserve -s ${etcsize}
and so on.


iirc  you can use the mount(1) style option like -o compress,reserve
(without spaces so getopt doesn't get mad). Anyway, the reserve  
option slow

down the process of mdconfig and triggers the panic anyway if you don't
have enough memory available. The only difference is that the panic is
triggered by mdconfig itself and not while you're working. We should
try tmpfs patches and use it instead of fixed size memory fs. At  
least it

*should* handle the 'out of memory' problem correctly.

bye,
Dario


PGP.sig
Description: Questa è un messaggio firmato elettronicamente
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: Brighton Chilli - new Freesbie based LiveCD

2006-09-06 Thread Dario Freni


I've rolled a new Freesbie based on FreeBSD 6.1, it comes with  
everything needed to run a chillispot based managed wifi hotspot.  
(lighttpd, chillispot  freeradius).


http://brightonchilli.geeklan.co.uk.nyud.net:8080/


Sevan / Venture37


It seems really interesting! I've started seeding it via torrent:

http://torrent.freesbie.org/ 
brightonchilli_0-001_alpha_inc_guide.tgz.torrent


Keep up the good work,
Dario

--
FreeSBIE mailing list (http://www.freesbie.org)


Re: customroot.sh plugin

2006-12-18 Thread Dario Freni
Hi Koen,

Koen Martens ([EMAIL PROTECTED]) wrote:
 I've been working on a customized freesbie2-RC1 cd, and found what i
 think is a small bug in the customroot plugin. If you put a
 master.passwd file in the customroot's etc directory, a new
 master.passwd.db is built, but no pwd.db and spwd.db.

True, i'm going to add the pwd_mkdb command as you suggested.

 Furthermore, the path to master.passwd in the if statement is wrong,
 since CUSTOMROOT is relative to the freesbie root, but at that point
 in the script the pwd _is_ the customroot directory already..

That is the same thing, I don't see anything on checking the existence
of a file using its absolute path or its relative one. It seems more
readable to me if we make clear that we're checking the existence of
the file in the selected ${CUSTOMROOT} (i.e.: the user is using his
own master.passwd file in the ${CUSTOMROOT}, so let's create the
related dbs into the ${BASEDIR}).

I'm going to commit the first part. Thanks for the patch!

Bye,
Dario


pgpRd9qN9z6iA.pgp
Description: PGP signature
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Re: [CVS Update of freesbie2 - M:1 A:0 R:0]

2007-01-08 Thread Dario Freni


On 08/gen/07, at 19:31, [EMAIL PROTECTED] wrote:


Log Message:
---
Install RC  script under /etc.


Why not /usr/local/etc/rc.d ?

--
FreeSBIE mailing list (http://www.freesbie.org)


Re: freesbie2 building errors

2007-01-20 Thread Dario Freni


On 20/gen/07, at 17:15, Gergely CZUCZY wrote:


hello

while i was building a self-made freesbie2
i had experienced some errors. precisely, at
installworld stage the executables install
and touch were not found:

mtree -deU   -f /usr/src/include/../etc/mtree/BSD.include.dist  -p / 
usr/local/freesbie-fs/usr/include

touch: not found
*** Error code 127

and:
=== share/info (install)
install -o root -g wheel -m 444  dir-tmpl /usr/local/freesbie-fs/ 
usr/share/info/dir

install: not found

i did a:
# make iso

my freesbie.conf:
ISOPATH='/mnt/swap/images/freesbie/freesbie-phx.2.iso'
IMGPATH='/mnt/swap/images/freesbie/freesbie-phx.2.iso'
MAKEJ='-j1'
KERNELCONF=/usr/local/share/freesbie/conf/i386/PHXSBIE
EXTRA=comconsole customroot etcmfs
MAKEOBJDIRPREFIX=/usr/freesbieobj/
NO_COMPRESSEDFS=YES
NO_UNIONFS=YES # Unionfs is broken in  6.0, so disable it by default

i had played around with
MAKE_ENV=PATH=$PATH
in order to tell it to use the one from the system, but
that didn't work either.

the install and touch files were missing from /usr/freesbieobj/

after several failures i traced back all the process till the
installworld.sh, and i had executed a:
env MAKEOBJDIRPREFIX=/usr/freesbieobj/ make __MAKE_CONF=/usr/local/ 
share/freesbie/conf/make.conf buildworld


now the missing stuff was built, and it also installed.

the question is, is this the desired behaviour or have i
messed up something there?

later on using freesbie, how can i avoid this issue?


Fix your system date :)

Bye,
Dario

--
FreeSBIE mailing list (http://www.freesbie.org)


Re: Problems adding some packages to ISO

2007-01-24 Thread Dario Freni


On 24/gen/07, at 17:24, Ben wrote:


Koen Martens wrote:

Ben wrote:


Ben wrote:

I have attached my build info, including a view of pkg_info.txt,  
which

shows that 51 packages appear to be added to the ISO but only 34
packages are listed in pkg_info.txt.

Any help would be greatly appreciated.

Ben

Any updates on this? I just tried updating my sources and  
applying Koen
Marten's patch from this morning but still had problems with the  
proper

packages being added to the ISO.



Did you try the same thing I tried: sprinkle some echo statements
around in the pkginstall script. Start by catting input and output
of each of the three functions, to zoom in which function 'looses'
the package. Then you can put more detailled echo's and/or analyze
the code of the function that is the culprit.

Gr,

Koen


I'm sorry for continuing this thread, I wonder if anyone is still
reading it, but I think I've finally nailed down the problem. After
finally finding the .done_pkginstall file I saw a bunch of pkg_add:
could not find package statements. The odd thing is all of these
packages that could not be found aren't showing up in
/tmp/freesbie.icICHjHP/packages as being dependencies. Are the
FreeSBIE scripts not drilling down far enough to find dependencies of
dependencies?

I guess I'll keep digging but please let me know if anyone else sees
this as possible.


Have you tried running pkgdb -F (from sysutils/portupgrade) on your  
system? It
seems you have dependencies listed on your package db that are not  
installed.

--
FreeSBIE mailing list (http://www.freesbie.org)