Re: boot/woody/boot-ia64 & use of links

2002-04-23 Thread Richard Hirst

On Mon, Apr 15, 2002 at 01:47:11PM +0100, Philip Hands wrote:
> Also, I notice that it populates the $CDDIR/install directory with
> symlinks, which IIRC results in something not terribly useful on
> Windoze.

Just tested this, and my windoze 98 box shows symlinks as 0 length
files.  If this is considered a problem (as I guess it should be), then
there are more serious examples.  The worst is that doc/install appears
to be full of empty files.

"find -type l" on my CD shows:

./debian
./dists/frozen
./dists/potato/main/binary-ia64/games/fortunes-it_1.51-4.deb
./dists/stable
./dists/unstable
./dists/woody/main/disks-ia64/3.0.22-2002-04-03/doc/ca/index.html
./dists/woody/main/disks-ia64/3.0.22-2002-04-03/doc/cs/index.html
./dists/woody/main/disks-ia64/3.0.22-2002-04-03/doc/da/index.html
./dists/woody/main/disks-ia64/3.0.22-2002-04-03/doc/index.html
./dists/woody/main/disks-ia64/3.0.22-2002-04-03/doc/it/index.html
./dists/woody/main/disks-ia64/current
./doc/install/cfdisk.txt
./doc/install/ch-administrivia.en.html
./doc/install/ch-appendix.en.html
./doc/install/ch-boot-floppy-techinfo.en.html
./doc/install/ch-conclusion.en.html
./doc/install/ch-glossary.en.html
./doc/install/ch-hardware-req.en.html
./doc/install/ch-install-system.en.html
./doc/install/ch-init-config.en.html
./doc/install/ch-install-methods.en.html
./doc/install/ch-intro.en.html
./doc/install/ch-main.en.html
./doc/install/ch-partitioning.en.html
./doc/install/ch-post-install.en.html
./doc/install/ch-preparing.en.html
./doc/install/ch-rescue-boot.en.html
./doc/install/ch-welcome.en.html
./doc/install/dselect-beginner.en.html
./doc/install/dselect-beginner.en.txt
./doc/install/footnotes.en.html
./doc/install/index.html
./doc/install/index.en.html
./doc/install/install.en.html
./doc/install/install.en.txt
./doc/install/parted.txt
./install/doc/ca/index.html
./install/doc/cs/index.html
./install/doc/da/index.html
./install/doc/index.html
./install/doc/it/index.html
./install/linux.bin
./install/rescue.bin
./install/root.bin


Richard


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




Re: Beginners questions...

2002-04-23 Thread Wookey

On Mon 22 Apr, Alexander Schinner wrote:
> Hi,
> 
> for a special project, I whould like to build my own, modified version of the 
> Debian boot CD's. The changes I have to make are:
> 
> - Using a customized/patched kernel 

install kernel-package and see man make-kpgk

> - remove some questions from the installation procedure (there are fixed 
> values)

You need to mess with the boot-floppies package for this. I'm not sure how
much work is needed to nobble the necessary questions. The boot-floppies
mailing list is the place to ask about this if looking at the code doesn't
make it obvious.

> - add some self-build packages

This is the preserve of debian-cd
I'm a bit out of date on recent changes but you add a debian/local hierarchy
with your new packages in and set the LOCAL=1 variable in
/etc/debian-cd/conf.sh

You can get boot-floppies to use these packages over the normal ones too when
you rebuild it.

> Can you point me to some documents, where I can learn more about this 
> subject? Where should I start?

read the docs for the above packages and you will at least be able to ask
intelligent questions either here or on boot-floppies, as appropriate.

It's fair to say that there is no 'Making customised Debian-CD's HOWTO'
SFAIK. If you wrote one for woody it would no doubt be appreciated.

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/


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




Re: Last debian-cd updates before release

2002-04-23 Thread Richard Hirst

On Mon, Apr 22, 2002 at 11:13:19PM +0200, Raphael Hertzog wrote:
> Hi people,
> 
> i just committed the last changes that I wanted to make before the
> release.

I just built an ia64 set using cvs debian-cd, and the first disk has
.disk/kernel_installable, but it does not have .disk/base_installable

I think it happened because /usr/sbin wasn't in my path, and so the
Makefile didn't find debootstrap.  I would prefer it to error, rather
than silently produce broken CDs.  Missing debootstrap also disables the
code that ensures all base debs are on the first CD.

Also post-boot-hppa tries to run palo, which is in /sbin, so maybe
CONF.sh should just ensure /sbin:/usr/sbin is in PATH.

Cheers,
  Richard


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




Testing Woody DVDs

2002-04-23 Thread Steve McIntyre

I'm now testing Woody DVDs in a few machines. They seem readable in a
variety of drives, so I'm going to try a few machines and see if they
boot OK.

-- 
Steve McIntyre, Plasmon  [EMAIL PROTECTED]
Oh My God! They Killed init! You Bastards!
"Can't keep my eyes from the circling sky, 
"Tongue-tied & twisted, Just an earth-bound misfit, I..."  


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




Re: Last debian-cd updates before release

2002-04-23 Thread Petter Reinholdtsen

[Richard Hirst]
> I think it happened because /usr/sbin wasn't in my path, and so the
> Makefile didn't find debootstrap.  I would prefer it to error,
> rather than silently produce broken CDs.  Missing debootstrap also
> disables the code that ensures all base debs are on the first CD.

I made the following patch to detect this situation.  I ran into the
same problem.  Please include this patch in the next version of
debian-cd.

Index: Makefile
===
RCS file: /var/lib/cvs/skolelinux/src/debian-cd/Makefile,v
retrieving revision 1.1.1.8
retrieving revision 1.19
diff -u -3 -p -u -r1.1.1.8 -r1.19
--- Makefile13 Apr 2002 12:23:07 -  1.1.1.8
+++ Makefile13 Apr 2002 12:31:33 -  1.19
@@ -443,11 +445,17 @@ $(BDIR)/packages-stamp:
for p in `debootstrap --arch $(ARCH) --print-debs $(CODENAME)`; do\
if ! grep -q ^$$p$$ $(BDIR)/$$DISK.packages; then \
ok=no; \
+   echo "Missing debootstrap-required $p"; \
fi; \
done; \
if [ "$$ok" = "yes" ]; then \
+   echo "CD$$DISK contains all packages needed by debootstrap"; \
touch $(BDIR)/CD$$DISK/.disk/base_installable; \
+   else \
+   echo "CD$$DISK missing some packages needed by debootstrap"; \
fi; \
+   else \
+   echo "Unable to find debootstrap program"; \
fi; \
done
$(Q)set -e; \


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




cvs commit to debian-cd by hertzog

2002-04-23 Thread Debian Boot CVS Master

Repository: debian-cd
who:hertzog
time:   Tue Apr 23 06:33:38 PDT 2002
Log Message:
  * Hardcode debootstrap path ... since /usr/sbin may not be out of the PATH.
  * Print results of debootstrap checks.
  

Files:
changed:Makefile


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




cvs commit to debian-cd/tools/boot/woody by rhirst

2002-04-23 Thread Debian Boot CVS Master

Repository: debian-cd/tools/boot/woody
who:rhirst
time:   Tue Apr 23 07:50:29 PDT 2002
Log Message:
  Reworked boot-ia64 to use hardlinks and so 1_NONUS.raw is built properly.
  

Files:
changed:boot-ia64


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




cvs commit to debian-cd/debian by rhirst

2002-04-23 Thread Debian Boot CVS Master

Repository: debian-cd/debian
who:rhirst
time:   Tue Apr 23 07:50:29 PDT 2002
Log Message:
  Reworked boot-ia64 to use hardlinks and so 1_NONUS.raw is built properly.
  

Files:
changed:changelog


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




Re: boot/woody/boot-ia64 & use of links

2002-04-23 Thread Richard Hirst

On Mon, Apr 15, 2002 at 01:47:11PM +0100, Philip Hands wrote:
> Hi,
> 
> I notice that boot-ia64 doesn't work for 1_NONUS, because it does a cd
> to CD1, rather than $CDDIR.
> 
> Also, I notice that it populates the $CDDIR/install directory with
> symlinks, which IIRC results in something not terribly useful on
> Windoze.
> 
> Is there any reason not to use hard-links in this case?  I think that
> means that Windows will see the contents of /install properly, while not

I've fixed boot-ia64 in cvs to use hardlinks, and $CDDIR,

Thanks,
  Richard


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




Re: Last debian-cd updates before release

2002-04-23 Thread Raphael Hertzog

Hi,

Le Tue, Apr 23, 2002 at 03:11:46PM +0200, Petter Reinholdtsen écrivait:
> > I think it happened because /usr/sbin wasn't in my path, and so the
> > Makefile didn't find debootstrap.  I would prefer it to error,
> > rather than silently produce broken CDs.  Missing debootstrap also
> > disables the code that ensures all base debs are on the first CD.
> 
> I made the following patch to detect this situation.  I ran into the
> same problem.  Please include this patch in the next version of
> debian-cd.

I applied your patch and also hardcoded debootstrap location so that
/usr/sbin/ missing from the PATH doesn't hurt.

Cheers,
-- 
Raphaël Hertzog -+- http://strasbourg.linuxfr.org/~raphael/
Formation Linux et logiciel libre : http://www.logidee.com


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




Re: Last debian-cd updates before release

2002-04-23 Thread Santiago Garcia Mantinan

Hi Ben!

> Yeah, I can fix this up tonight. I have a new method I want to implement
> which will not only simplify the sparc boot, but make it so you don't
> need root to build it anymore.

Will this new method work with mkisofs or will we still need an old mkhybrid
for the sparcs?

BTW: maybe not being root or not using mkhybrid was the only thing that was
making the images not work. I mean, the ones I was making were supposed to
work and they only had a fakeroot and mkhybrid instead of mkisofs :-?

Regards...
-- 
Manty/BestiaTester -> http://manty.net


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




improper nesting of debootstrap error message

2002-04-23 Thread Matt Kraai

Howdy,

The patch from Petter Reinholdtsen to detect when debootstrap
mis-nested the error message.  The following patch fixes it.

Matt

Index: Makefile
===
RCS file: /cvs/debian-boot/debian-cd/Makefile,v
retrieving revision 1.52
diff -u -r1.52 Makefile
--- Makefile2002/04/23 13:33:37 1.52
+++ Makefile2002/04/23 17:59:28
@@ -449,9 +449,9 @@
if [ "$$ok" = "yes" ]; then \
echo "CD$$DISK contains all packages needed by debootstrap"; \
touch $(BDIR)/CD$$DISK/.disk/base_installable; \
-   else \
-   echo "Unable to find debootstrap program"; \
fi; \
+   else \
+   echo "Unable to find debootstrap"; \
fi; \
done
$(Q)set -e; \



msg03489/pgp0.pgp
Description: PGP signature


Re: Last debian-cd updates before release

2002-04-23 Thread Ben Collins

On Tue, Apr 23, 2002 at 06:28:27PM +0200, Santiago Garcia Mantinan wrote:
> Hi Ben!
> 
> > Yeah, I can fix this up tonight. I have a new method I want to implement
> > which will not only simplify the sparc boot, but make it so you don't
> > need root to build it anymore.
> 
> Will this new method work with mkisofs or will we still need an old mkhybrid
> for the sparcs?

mkisofs has the patches for silo. The method is basically a change from
using the CD as the rootfs, to using a kernel image plus initrd image.
Simplifies the procedure for booting (and creating the bootable system).

-- 
Debian - http://www.debian.org/
Linux 1394 - http://linux1394.sourceforge.net/
Subversion - http://subversion.tigris.org/
Deqo   - http://www.deqo.com/


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




cvs commit to debian-cd by hertzog

2002-04-23 Thread Debian Boot CVS Master

Repository: debian-cd
who:hertzog
time:   Tue Apr 23 14:30:51 PDT 2002
Log Message:
  * Fix if/else nesting for debootstrap checks.
  

Files:
changed:Makefile


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




cvs commit to debian-cd/debian by rhirst

2002-04-23 Thread Debian Boot CVS Master

Repository: debian-cd/debian
who:rhirst
time:   Tue Apr 23 15:50:35 PDT 2002
Log Message:
  Reworked post-boot-hppa to hardcode path to palo, and to ensure
  1_NONUS.raw is built properly.
  

Files:
changed:changelog


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




cvs commit to debian-cd/tools/boot/woody by rhirst

2002-04-23 Thread Debian Boot CVS Master

Repository: debian-cd/tools/boot/woody
who:rhirst
time:   Tue Apr 23 15:50:35 PDT 2002
Log Message:
  Reworked post-boot-hppa to hardcode path to palo, and to ensure
  1_NONUS.raw is built properly.
  

Files:
changed:post-boot-hppa


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