Re: building boot-floppies in a dchroot ?

2003-08-27 Thread Harri Järvi
On Tue, Aug 26, 2003 at 09:13:02AM -0700, Chris Tillman wrote:
 On Tue, Aug 26, 2003 at 10:48:29AM +0200, Sven Luther wrote:
  On Mon, Aug 25, 2003 at 06:52:31PM -0700, Chris Tillman wrote:
   On Mon, Aug 25, 2003 at 09:48:41PM +0200, Sven Luther wrote:
Hello,

I am trying to build the woody boot-floppies in a debian dchroot, but
this fails with :

  I: doing library reduction with 
/root/b-f/boot-floppies-3.0.22/scripts/rootdisk/mklibs.py
   
   boot-floppies version 3.0.23 was released; current cvs is 3.0.24
   (unreleased)
  
  Err, with current CVS :
  
(in the woody dchroot) :
iconv -f `head -1 finnish.src | sed -e
's/^.*charset=\([^]*\).*/\1/'` -t utf-8  finnish.src  finnish.inc
iconv: conversion from `-t' to `ANSI_X3.4-1968' not supported
  
(in yesterdays unstable upgrade) :
iconv -f `head -1 finnish.src | sed -e
's/^.*charset=\([^]*\).*/\1/'` -t utf-8  finnish.src  finnish.inc
iconv: conversion de « -t » n'est pas supportée.
 
 That is my bad, I recently committed Harri Jarvi's changes; and the
 finnish.src link at
 
 http://oma.ajatus.org/habazi/debian/dbootstrap/finnish.src 
 
 is returning an error rather than the correct document.

The link works for me, but I include the file as an attachement here. I hope
it makes it work. The Finnish language should appear in the language chooser
in the installer (dbootstrap)

Yours,
Harri Järvi

PS. Thanks for Cc:ing me.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: building boot-floppies in a dchroot ?

2003-08-27 Thread Harri Järvi
 http://oma.ajatus.org/habazi/debian/dbootstrap/finnish.src 
 
 is returning an error rather than the correct document.

Attachment included.

-Harri


finnish.src
Description: WAIS Source


pgp0.pgp
Description: PGP signature


Re: building boot-floppies in a dchroot ?

2003-08-27 Thread Sven Luther
On Tue, Aug 26, 2003 at 06:20:51PM -0700, Chris Tillman wrote:
 On Tue, Aug 26, 2003 at 06:54:24PM +0200, Sven Luther wrote:
  On Tue, Aug 26, 2003 at 08:55:35AM -0700, Chris Tillman wrote:
   On Tue, Aug 26, 2003 at 08:14:47AM +0200, Sven Luther wrote:
On Mon, Aug 25, 2003 at 06:52:31PM -0700, Chris Tillman wrote:
 On Mon, Aug 25, 2003 at 09:48:41PM +0200, Sven Luther wrote:
  Hello,
  
  I am trying to build the woody boot-floppies in a debian dchroot, but
  this fails with :
  
I: doing library reduction with 
  /root/b-f/boot-floppies-3.0.22/scripts/rootdisk/mklibs.py
 
 boot-floppies version 3.0.23 was released; current cvs is 3.0.24
 (unreleased)

Ok, i will look at it. Do you believe it may fix the problem ?
   
   Possibly, there were many mklibs issues dealt with at one time
   or another. And at least you know 3.0.23 was built successfully
   on all arches.
  
  I solved this, i think it was the missing ash which caused problems.
  
  Still, it failed later on because my kernel package is too big. Since i
  only need the root.bin, i couldn't care less about the kernel.
  
  What is the easiest way of enabling only the root.bin build, and
  ignoring the kernel stuff.
 
 Well I was never interested in non-pmac stuff so I just commented
 out those images in Makefile. You could comment them all out.

Just outcommenting the resc* stuff wont work, it goes on to build the
root.bin, but fails to find the drivers.tgz and some other stuff, and
dies. Maybe putting the hand generated drivers.tgz in the right place
will help me there.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: building boot-floppies in a dchroot ?

2003-08-26 Thread Geert Stappers
On Mon, Aug 25, 2003 at 09:48:41PM +0200, Sven Luther wrote:
 Hello,
 
 I am trying to build the woody boot-floppies in a debian dchroot, but
 this fails with :
 
 [symptooms]
 
 Is there some counterindication to using chroot in a dchroot or

Do you mean chroot in chroot? (nested chroot?)


 something such, or maybe a known problem in the woody boot-floppies or
 something such ?
 
 Friendly,
 
 Sven Luther
 

Geert Stappers


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: building boot-floppies in a dchroot ?

2003-08-26 Thread Sven Luther
On Mon, Aug 25, 2003 at 03:10:13PM -0700, Matt Kraai wrote:
 On Mon, Aug 25, 2003 at 09:48:41PM +0200, Sven Luther wrote:
  I am trying to build the woody boot-floppies in a debian dchroot, but
  this fails with :
  
I: doing library reduction with 
  /root/b-f/boot-floppies-3.0.22/scripts/rootdisk/mklibs.py
I: library reduction pass 1
491 symbols, 491 unresolved
I: library reduction pass 2
612 symbols, 42 unresolved
I: library reduction pass 3
612 symbols, 0 unresolved
I: adding busybox links
chroot: cannot execute /bin/busybox: Permission denied
E: ./rootdisk.sh abort
make[1]: *** [rootchrp.bin] Error 1
make[1]: Leaving directory `/root/b-f/boot-floppies-3.0.22'
make: *** [build] Error 2
  
  Is there some counterindication to using chroot in a dchroot or
  something such, or maybe a known problem in the woody boot-floppies or
  something such ?
 
 Does it work if you install busybox in the chroot?

Nope, that is the first thing i tried.

When i call the corresponding busybox in the dchroot (with the full
path), it works, but if i call the chroot /chroot/path /bin/busybox in
the dchroot, i get the same error.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: building boot-floppies in a dchroot ?

2003-08-26 Thread Glenn McGrath
On Tue, 26 Aug 2003 07:43:04 +0200
Sven Luther [EMAIL PROTECTED] wrote:

 but if i call the chroot /chroot/path /bin/busybox in
 the dchroot, i get the same error.

If you are using the busybox ash shell in your chroot you should do
'chroot /chroot/path /bin/busybox ash'
or
'chroot /chroot/path /bin/busybox sh'
or
chroot /chroot/path /bin/[a]sh
if just have already setup the symlinks, or just
chroot /chroot/path
if you are changing to the same shell as you were previouly using.



Glenn


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: building boot-floppies in a dchroot ?

2003-08-26 Thread Goswin von Brederlow
Sven Luther [EMAIL PROTECTED] writes:

 On Mon, Aug 25, 2003 at 03:10:13PM -0700, Matt Kraai wrote:
  On Mon, Aug 25, 2003 at 09:48:41PM +0200, Sven Luther wrote:
   I am trying to build the woody boot-floppies in a debian dchroot, but
   this fails with :
   
 chroot: cannot execute /bin/busybox: Permission denied
 E: ./rootdisk.sh abort
 make[1]: *** [rootchrp.bin] Error 1
 make[1]: Leaving directory `/root/b-f/boot-floppies-3.0.22'
 make: *** [build] Error 2
   
   Is there some counterindication to using chroot in a dchroot or
   something such, or maybe a known problem in the woody boot-floppies or
   something such ?
  
  Does it work if you install busybox in the chroot?
 
 Nope, that is the first thing i tried.
 
 When i call the corresponding busybox in the dchroot (with the full
 path), it works, but if i call the chroot /chroot/path /bin/busybox in
 the dchroot, i get the same error.

You better get that fixed first. Look at the full command and options
used in rootdisk.sh too. Did you forget to install some libs in the
chroot busybox needs?

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: building boot-floppies in a dchroot ?

2003-08-26 Thread Chris Tillman
On Tue, Aug 26, 2003 at 08:14:47AM +0200, Sven Luther wrote:
 On Mon, Aug 25, 2003 at 06:52:31PM -0700, Chris Tillman wrote:
  On Mon, Aug 25, 2003 at 09:48:41PM +0200, Sven Luther wrote:
   Hello,
   
   I am trying to build the woody boot-floppies in a debian dchroot, but
   this fails with :
   
 I: doing library reduction with 
   /root/b-f/boot-floppies-3.0.22/scripts/rootdisk/mklibs.py
  
  boot-floppies version 3.0.23 was released; current cvs is 3.0.24
  (unreleased)
 
 Ok, i will look at it. Do you believe it may fix the problem ?

Possibly, there were many mklibs issues dealt with at one time
or another. And at least you know 3.0.23 was built successfully
on all arches.

-- 
Debian GNU/Linux Operating System
  By the People, For the People
Chris Tillman (a people instance)
   toff one at cox dot net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: building boot-floppies in a dchroot ?

2003-08-26 Thread Chris Tillman
On Tue, Aug 26, 2003 at 10:48:29AM +0200, Sven Luther wrote:
 On Mon, Aug 25, 2003 at 06:52:31PM -0700, Chris Tillman wrote:
  On Mon, Aug 25, 2003 at 09:48:41PM +0200, Sven Luther wrote:
   Hello,
   
   I am trying to build the woody boot-floppies in a debian dchroot, but
   this fails with :
   
 I: doing library reduction with 
   /root/b-f/boot-floppies-3.0.22/scripts/rootdisk/mklibs.py
  
  boot-floppies version 3.0.23 was released; current cvs is 3.0.24
  (unreleased)
 
 Err, with current CVS :
 
   (in the woody dchroot) :
   iconv -f `head -1 finnish.src | sed -e
   's/^.*charset=\([^]*\).*/\1/'` -t utf-8  finnish.src  finnish.inc
   iconv: conversion from `-t' to `ANSI_X3.4-1968' not supported
 
   (in yesterdays unstable upgrade) :
   iconv -f `head -1 finnish.src | sed -e
   's/^.*charset=\([^]*\).*/\1/'` -t utf-8  finnish.src  finnish.inc
   iconv: conversion de « -t » n'est pas supportée.

That is my bad, I recently committed Harri Jarvi's changes; and the
finnish.src link at

http://oma.ajatus.org/habazi/debian/dbootstrap/finnish.src 

is returning an error rather than the correct document.

Harri, could you send the correct version?

-- 
Debian GNU/Linux Operating System
  By the People, For the People
Chris Tillman (a people instance)
   toff one at cox dot net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: building boot-floppies in a dchroot ?

2003-08-26 Thread Goswin von Brederlow
Chris Tillman [EMAIL PROTECTED] writes:

 On Tue, Aug 26, 2003 at 08:14:47AM +0200, Sven Luther wrote:
  On Mon, Aug 25, 2003 at 06:52:31PM -0700, Chris Tillman wrote:
   On Mon, Aug 25, 2003 at 09:48:41PM +0200, Sven Luther wrote:
Hello,

I am trying to build the woody boot-floppies in a debian dchroot, but
this fails with :

  I: doing library reduction with 
/root/b-f/boot-floppies-3.0.22/scripts/rootdisk/mklibs.py
   
   boot-floppies version 3.0.23 was released; current cvs is 3.0.24
   (unreleased)
  
  Ok, i will look at it. Do you believe it may fix the problem ?
 
 Possibly, there were many mklibs issues dealt with at one time
 or another. And at least you know 3.0.23 was built successfully
 on all arches.

The mklibs looked finished. It was installing the busybox links into
the ramdisk if I read the debug right.

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



building boot-floppies in a dchroot ?

2003-08-25 Thread Sven Luther
Hello,

I am trying to build the woody boot-floppies in a debian dchroot, but
this fails with :

  I: doing library reduction with 
/root/b-f/boot-floppies-3.0.22/scripts/rootdisk/mklibs.py
  I: library reduction pass 1
  491 symbols, 491 unresolved
  I: library reduction pass 2
  612 symbols, 42 unresolved
  I: library reduction pass 3
  612 symbols, 0 unresolved
  I: adding busybox links
  chroot: cannot execute /bin/busybox: Permission denied
  E: ./rootdisk.sh abort
  make[1]: *** [rootchrp.bin] Error 1
  make[1]: Leaving directory `/root/b-f/boot-floppies-3.0.22'
  make: *** [build] Error 2

Is there some counterindication to using chroot in a dchroot or
something such, or maybe a known problem in the woody boot-floppies or
something such ?

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: building boot-floppies in a dchroot ?

2003-08-25 Thread Matt Kraai
On Mon, Aug 25, 2003 at 09:48:41PM +0200, Sven Luther wrote:
 I am trying to build the woody boot-floppies in a debian dchroot, but
 this fails with :
 
   I: doing library reduction with 
 /root/b-f/boot-floppies-3.0.22/scripts/rootdisk/mklibs.py
   I: library reduction pass 1
   491 symbols, 491 unresolved
   I: library reduction pass 2
   612 symbols, 42 unresolved
   I: library reduction pass 3
   612 symbols, 0 unresolved
   I: adding busybox links
   chroot: cannot execute /bin/busybox: Permission denied
   E: ./rootdisk.sh abort
   make[1]: *** [rootchrp.bin] Error 1
   make[1]: Leaving directory `/root/b-f/boot-floppies-3.0.22'
   make: *** [build] Error 2
 
 Is there some counterindication to using chroot in a dchroot or
 something such, or maybe a known problem in the woody boot-floppies or
 something such ?

Does it work if you install busybox in the chroot?

-- 
Matt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]