Re: debxo 0.1 release

2008-08-29 Thread Andres Salomon
On Fri, 29 Aug 2008 16:45:14 +1000
James Cameron <[EMAIL PROTECTED]> wrote:

> Recent changes:
> 
> - addition of documentation,
> - generate name.crc instead of name.img.crc,
> - rename package list for gnome build,
> - fix to gdm and kdm configuration to use correct username.
> 
> Stability of the KDE Lenny build seems good, and on a B4 over 8 hours
> use of the konqueror web browser showed 33Mb used by the browser, and
> 64Mb free.
> 

FYI, netsurf seems like a decent browser alternative as well.
Unfortunately (at least in gnome) I can't seem to get the fonts to
display properly.  :(


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: debxo 0.1 release

2008-08-29 Thread James Cameron
On Fri, Aug 29, 2008 at 10:48:41AM +1000, James Cameron wrote:
> % git clone http://dev.laptop.org/~quozl/xodist.git

While dev.laptop.org is down, I've placed a git repository on my own
site:

http://quozl.linux.org.au/git/xodist.git

-- 
James Cameronmailto:[EMAIL PROTECTED] http://quozl.netrek.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: debxo 0.1 release

2008-08-28 Thread James Cameron
Recent changes:

- addition of documentation,
- generate name.crc instead of name.img.crc,
- rename package list for gnome build,
- fix to gdm and kdm configuration to use correct username.

Stability of the KDE Lenny build seems good, and on a B4 over 8 hours
use of the konqueror web browser showed 33Mb used by the browser, and
64Mb free.

-- 
James Cameronmailto:[EMAIL PROTECTED] http://quozl.netrek.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: debxo 0.1 release

2008-08-28 Thread Andres Salomon
Thanks for all this!  I still need to sort through patches (and someone
reported a bug with 0.1 which is apparently leaving the dcon frozen..)



On Fri, 29 Aug 2008 10:48:41 +1000
James Cameron <[EMAIL PROTECTED]> wrote:

> I've added some features to debxo aka xodist;
> 
> 1.  caching of the kernel package, so that it does not need to be
> downloaded every time a build is done,
> 
> 2.  a KDE build, which yields a 520Mb JFFS2 image containing a
> complete KDE environment,
> 
> 3.  an LXDE build, which yields a 189Mb JFFS2 image,
> 
> 4.  support for local package caching proxy using approx, or one of
> the other apt proxy mechanisms.
> 
> For example, to get Debian KDE onto an XO, here's how to do it:
> 
> % git clone http://dev.laptop.org/~quozl/xodist.git
> % sudo ./initchroot.sh --package-list kde.packages kde.root
> % sudo ./mkjffs2.sh kde.root kde.img
> % sudo mv kde.img.crc kde.crc
> 
> Copy the kde.img and kde.crc files to a thumb drive, boot an XO into
> OFW, then type:
> 
>   copy-nand u:\kde.img
> 
> (This erases everything on the XO, you know.)
> 
> --
> 
> To use approx to cache packages,
> 
> a.  install the approx package,
> 
>   % sudo aptitude install approx
> 
> b.  add the following lines to /etc/approx/approx.conf, and restart,
> 
> debian  http://http.us.debian.org/debian
> securityhttp://security.debian.org/
> 
> c.  follow the same steps but add the --mirror option to the
> initchroot.sh script, like this,
> 
>   sudo ./initchroot.sh \
>   --package-list kde.packages \
> --mirror http://localhost:/debian kde.root
> 
> As a result of this, the hundreds of megabytes of packages will be
> kept locally for re-use.
> 


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: debxo 0.1 release

2008-08-28 Thread James Cameron
I've added some features to debxo aka xodist;

1.  caching of the kernel package, so that it does not need to be
downloaded every time a build is done,

2.  a KDE build, which yields a 520Mb JFFS2 image containing a complete
KDE environment,

3.  an LXDE build, which yields a 189Mb JFFS2 image,

4.  support for local package caching proxy using approx, or one of the
other apt proxy mechanisms.

For example, to get Debian KDE onto an XO, here's how to do it:

% git clone http://dev.laptop.org/~quozl/xodist.git
% sudo ./initchroot.sh --package-list kde.packages kde.root
% sudo ./mkjffs2.sh kde.root kde.img
% sudo mv kde.img.crc kde.crc

Copy the kde.img and kde.crc files to a thumb drive, boot an XO into
OFW, then type:

copy-nand u:\kde.img

(This erases everything on the XO, you know.)

--

To use approx to cache packages,

a.  install the approx package,

% sudo aptitude install approx

b.  add the following lines to /etc/approx/approx.conf, and restart,

debian  http://http.us.debian.org/debian
securityhttp://security.debian.org/

c.  follow the same steps but add the --mirror option to the
initchroot.sh script, like this,

sudo ./initchroot.sh \
--package-list kde.packages \
--mirror http://localhost:/debian kde.root

As a result of this, the hundreds of megabytes of packages will be kept
locally for re-use.

-- 
James Cameronmailto:[EMAIL PROTECTED] http://quozl.netrek.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: debxo 0.1 release

2008-08-25 Thread Andres Salomon
On Wed, 20 Aug 2008 23:07:50 -0400
Andres Salomon <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> For a while, I've been running Gnome and Debian on my XO.  It's worked
> quite well, but installation has always been a pain.  Some time ago I
> wrote scripts to generate ext3 and jffs2 images for the XO, but never
> got around to publish the images.  I took some time over the past few
> days to clean things up, update them, and test.
> 
> DebXO-0.1 allows you to install Debian (lenny) and Gnome easily on
> your XO.  It's a bit rough around the edges, but it's perfectly
> usable (I'm typing this email from within claws on it).
> 
> It can be downloaded from here:
> 
> http://queued.mit.edu/~dilinger/debxo/
> 

Oh, something I forgot to mention; if you use this, be sure that your
OFW is either q2d16 (or older), or q2e14 (or newer.  The q2e* series
prior to e14 has bugs that will cause the image to not boot up (amongst
other things).  q2e14 should be fine, though.

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: debxo 0.1 release [PATCH] cache downloaded kernel

2008-08-24 Thread James Cameron
Caches the downloaded kernel package in the current working directory,
and also resumes from where a previous interrupted download was up to.

---
 initchroot.sh |7 ++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/initchroot.sh b/initchroot.sh
index 025f8c2..1c5b986 100755
--- a/initchroot.sh
+++ b/initchroot.sh
@@ -83,8 +83,13 @@ EOF
 echo "en_US.UTF-8 UTF-8" >${ROOT_DIR}/etc/locale.gen
 (chroot ${ROOT_DIR} aptitude install -y locales)
 
+# install and cache latest kernel from dilinger
 k=$(wget -O- http://queued.mit.edu/~dilinger/builds-master/ | sed -ne 
's/.*href="\(.\+\)_i386.deb".*/\1_i386.deb/p' | tail -n1)
-wget -O ${ROOT_DIR}/${k} http://queued.mit.edu/~dilinger/builds-master/${k}
+if [ ! -f ${k} ]; then
+wget --continue --output-document=${k}.part 
http://queued.mit.edu/~dilinger/builds-master/${k} && \
+mv ${k}.part ${k}
+fi
+cp ${k} ${ROOT_DIR}/
 (chroot ${ROOT_DIR} dpkg -i /${k})
 rm -f ${ROOT_DIR}/${k}
 
-- 
1.5.6.3

-- 
James Cameronmailto:[EMAIL PROTECTED] http://quozl.netrek.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


debxo 0.1 release

2008-08-22 Thread s . boutayeb
Hi Andres,

Congratulation for your work!

I have reloaded the install procedure of the debxo image. So far, the image is
installed and working out of the box.

I have detailed a few steps of the procedure on the Wiki at olpc-france.org. See
below:

http://olpc-france.org/wiki/index.php?title=Explorations#Debian_sur_OLPC


Bests

Samy
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


debxo 0.1 release

2008-08-20 Thread Andres Salomon
Hi,

For a while, I've been running Gnome and Debian on my XO.  It's worked
quite well, but installation has always been a pain.  Some time ago I
wrote scripts to generate ext3 and jffs2 images for the XO, but never
got around to publish the images.  I took some time over the past few
days to clean things up, update them, and test.

DebXO-0.1 allows you to install Debian (lenny) and Gnome easily on your
XO.  It's a bit rough around the edges, but it's perfectly usable (I'm
typing this email from within claws on it).

It can be downloaded from here:

http://queued.mit.edu/~dilinger/debxo/

The git repository can be downloaded via:

git clone git://queued.mit.edu/git/xodist/

Once you've downloaded the .img and .crc files, stick them onto a
USB stick, boot into OpenFirmware, and run
'copy-nand disk:\debxo-0.1.jffs2.img'.  Reboot, and everything should
work.  You'll automatically be logged in as user 'olpc'; there is no
password on this account.  Root logins are disabled.  User 'olpc' is
allowed to sudo.  If you'd like to set a password for either account,
switch to a tty (ctrl-alt-1, for example), log in with username 'olpc',
and run 'sudo passwd '.

I find it perfectly usable; with gnome running, I typically have 140MB
of ram free.  The two biggest memory hogs are epiphany (and other
gecko-based browsers) and evince.  DebXO includes links2 and xpdf, both
of which make fine, low-memory alternatives (run 'links2 -g' for
graphics).

There are lots of bugs in this.  Please don't report them right now,
unless they are accompanied by fixes/patches/suggested workarounds.
The ext3 image isn't ready for release due to kernel issues; it
will be released later.

Have fun!

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel